Changeset 23477


Ignore:
Timestamp:
06/23/13 20:40:17 (7 years ago)
Author:
rvelices
Message:

rv_menutree version for 2.6 and Smarty3

Location:
extensions/rv_menutree/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_menutree/trunk/main.inc.php

    r18955 r23477  
    11<?php /* 
    22Plugin Name: RV Menu Tree 
    3 Version: 2.5.a 
     3Version: 2.6.a 
    44Plugin URI: http://piwigo.org/ext/extension_view.php?eid=238 
    55Description: Replaces the categories in the menu bar with a nicer one (javascript). 
  • extensions/rv_menutree/trunk/template/rv_menutree_categories.tpl

    r13049 r23477  
    2323        {else} 
    2424                </li> 
    25                 {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL} 
     25                {'</ul></li>'|@str_repeat:($ref_level-$cat.LEVEL)} 
    2626        {/if} 
    2727        {if $cat.SELECTED} 
     
    5252var _rvTreeAutoQueue = _rvTreeAutoQueue||[]; _rvTreeAutoQueue.push(  document.getElementById('theCategoryMenu') ); 
    5353{/footer_script} 
    54         <p class=totalImages>{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p> 
     54        <p class=totalImages>{$block->data.NB_PICTURE|@translate_dec:'%d photo':'%d photos'}</p> 
    5555</dd> 
Note: See TracChangeset for help on using the changeset viewer.