Ignore:
Timestamp:
01/22/14 21:58:27 (6 years ago)
Author:
ddtddt
Message:

[extensions] - PWG_Stuffs - Checked compatibility with Piwigo 2.6

File:
1 edited

Legend:

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

    r20641 r26908  
    3030{/literal}{/html_style} 
    3131 
    32 {footer_script require='jquery.ui.sortable} 
     32{footer_script require="jquery.ui.sortable"} 
    3333 
    3434{literal} 
     
    4242  }); 
    4343  jQuery("#categoryOrdering").submit(function(){ 
    44     ar = jQuery('.categoryUl').sortable('toArray'); 
     44    ar = jQuery(".categoryUl").sortable("toArray"); 
    4545    for(i=0;i<ar.length;i++) { 
    46       module = ar[i].split('module_'); 
    47       document.getElementsByName('position[' + module[1] + ']')[0].value = i; 
     46      module = ar[i].split("module_"); 
     47      document.getElementsByName("position[" + module[1] + "]")[0].value = i; 
    4848    } 
    4949  }); 
     
    6666      <ul class="categoryActions"> 
    6767        <li> 
    68           {'stuffs_id_ligne'|@translate}&nbsp; 
     68          {"stuffs_id_ligne"|@translate}&nbsp; 
    6969          <select name="id_line[{$module.ID}]"> 
    7070          {html_options options=$module.ID_LINE_OPTIONS selected=$module.ID_LINE_SELECTED} 
     
    7272        </li> 
    7373        <li> 
    74           {'stuffs_width'|@translate}&nbsp; 
     74          {"stuffs_width"|@translate}&nbsp; 
    7575          <input type="text" size="2" maxlength="2" value="{$module.WIDTH}" name="width[{$module.ID}]" > % 
    7676        </li> 
    7777        {if empty($module.MISSING)} 
    78         <li><a href="{$module.U_EDIT}" title="{'stuffs_edit'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{'stuffs_edit'|@translate}"/></a></li> 
     78        <li><a href="{$module.U_EDIT}" title="{"stuffs_edit"|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{"stuffs_edit"|@translate}"/></a></li> 
    7979        {/if} 
    80         {if !empty($module.U_DELETE) } 
    81         <li><a href="{$module.U_DELETE}" title="{'stuffs_delete'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'stuffs_delete'|@translate}" /></a></li> 
     80        {if !empty($module.U_DELETE)} 
     81        <li><a href="{$module.U_DELETE}" title="{"stuffs_delete"|@translate}" onclick="return confirm("{"Are you sure?"|@translate|@escape:javascript}");"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{"stuffs_delete"|@translate}" /></a></li> 
    8282        {/if} 
    8383      </ul> 
     
    8585 
    8686      <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}"> 
     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}"> 
    8888        <strong>{if empty($module.PATH)}<span class="MainBlock">{$module.NAME}</span>{else}<a href="{$module.U_EDIT}">{$module.NAME}</a>{/if}</strong> 
    8989        {if !empty($module.TYPE_NAME)}&nbsp;-&nbsp;{$module.TYPE_NAME}{/if} 
     
    9595        <p class="moduleDesc"><i>{$module.DESC}</i></p> 
    9696      {elseif empty($module.PATH)} 
    97         <p class="moduleDesc"><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> 
    9898      {/if} 
    9999 
    100100      <p class="catPos"> 
    101101        <label> 
    102           {'Position'|@translate} : 
     102          {"Position"|@translate} : 
    103103          <input type="text" size="4" name="position[{$module.ID}]" maxlength="4" value="{$module.POS}"> 
    104104        </label> 
     
    110110  <p style="text-align: center;"> 
    111111  <br /> 
    112     <input class="submit" name="submitOrder" type="submit" value="{'Save order'|@translate}" /> 
     112    <input class="submit" name="submitOrder" type="submit" value="{"Save order"|@translate}" /> 
    113113  </p> 
    114114</form> 
Note: See TracChangeset for help on using the changeset viewer.