Changeset 20641


Ignore:
Timestamp:
Feb 10, 2013, 1:27:36 PM (11 years ago)
Author:
mistic100
Message:

fix display for Piwigo 2.5

Location:
extensions/PWG_Stuffs/trunk/admin/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/trunk/admin/template/manage.tpl

    r9737 r20641  
    1 {html_head}{literal}
    2 <style type="text/css">
     1{html_style}{literal}
    32#categoryOrdering li {
    43  height: 60px;
     
    87  margin-top: 0.5em !important;
    98}
    10 .stuffs_line {
    11   margin: 0 10px;
    12 }
    139.MainBlock {
    1410  color: #ff3363;
    1511}
    16 </style>
    17 {/literal}{/html_head}
     12.categoryActions {
     13  float:right;
     14  margin:10px 10px 0 0 !important;
     15}
     16.categoryActions li {
     17  display:inline-block;
     18  padding:0 5px;
     19  vertical-align:top;
     20}
     21.moduleDesc {
     22  margin-left:30px;
     23}
     24  .moduleDesc.error {
     25    color:red;
     26  }
     27.albumTitle {
     28  margin-left:10px !important;
     29}
     30{/literal}{/html_style}
    1831
    1932{footer_script require='jquery.ui.sortable}
     
    5265      {if !empty($module.PATH)}
    5366      <ul class="categoryActions">
    54         <li class="stuffs_line">
     67        <li>
    5568          {'stuffs_id_ligne'|@translate}&nbsp;
    5669          <select name="id_line[{$module.ID}]">
     
    5871          </select>
    5972        </li>
    60         <li class="stuffs_line">
     73        <li>
    6174          {'stuffs_width'|@translate}&nbsp;
    6275          <input type="text" size="2" maxlength="2" value="{$module.WIDTH}" name="width[{$module.ID}]" > %
     
    7184      {/if}
    7285
    73       <p>
    74       <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}"/>
    75       <strong>{if empty($module.PATH)}<span class="MainBlock">{$module.NAME}</span>{else}<a href="{$module.U_EDIT}">{$module.NAME}</a>{/if}</strong>
    76       {if !empty($module.TYPE_NAME)}&nbsp;-  &nbsp;{$module.TYPE_NAME}{/if}
     86      <p class="albumTitle">
     87        <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}">
     88        <strong>{if empty($module.PATH)}<span class="MainBlock">{$module.NAME}</span>{else}<a href="{$module.U_EDIT}">{$module.NAME}</a>{/if}</strong>
     89        {if !empty($module.TYPE_NAME)}&nbsp;-&nbsp;{$module.TYPE_NAME}{/if}
    7790      </p>
    78 
     91     
    7992      {if !empty($module.MISSING)}
    80         <p style="margin-left: 30px;">{$module.MISSING}</p>
     93        <p class="moduleDesc error">{$module.MISSING}</p>
    8194      {elseif !empty($module.DESC)}
    82         <p style="margin-left: 30px;"><i>{$module.DESC}</i></p>
     95        <p class="moduleDesc"><i>{$module.DESC}</i></p>
    8396      {elseif empty($module.PATH)}
    84         <p style="margin-left: 30px;"><input name="hidemb" type="checkbox" {if $HIDEMB}checked="checked"{/if}> &nbsp;{'Hide on home page'|@translate}</p>
     97        <p class="moduleDesc"><input name="hidemb" type="checkbox" {if $HIDEMB}checked="checked"{/if}> &nbsp;{'Hide on home page'|@translate}</p>
    8598      {/if}
    8699
    87100      <p class="catPos">
    88101        <label>
    89           {'Position'|@translate}
    90           <input type="text" size="4" name="position[{$module.ID}]" maxlength="4" value="{$module.POS}" />
     102          {'Position'|@translate} :
     103          <input type="text" size="4" name="position[{$module.ID}]" maxlength="4" value="{$module.POS}">
    91104        </label>
    92105      </p>
  • extensions/PWG_Stuffs/trunk/admin/template/new.tpl

    r9449 r20641  
    1111    <li>
    1212      <label>
    13         <span class="property">{$module.NAME} <span style="font-weight:normal;">: {$module.DESC}</span></span>
     13        <span class="property">{$module.NAME}</span>
    1414        <input type="radio" value="{$module.MODULE_PATH}" name="module"/>
     15        <span style="font-weight:normal;">{$module.DESC}</span>
    1516      </label>
    1617    </li>
Note: See TracChangeset for help on using the changeset viewer.