Changeset 26629


Ignore:
Timestamp:
01/11/14 17:43:16 (6 years ago)
Author:
flop25
Message:

update for 2.6
-migrate added
-menubar_categories.tpl corrected

Location:
extensions/stripped
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/readme.txt

    r23824 r26629  
    3131Changelog 
    3232--------- 
     33 
     34*** version 2.5.0 
     35- updated for 2.6 
    3336 
    3437*** version 2.4.3 
  • extensions/stripped/template/header.tpl

    r12960 r26629  
    4949<![endif]--> 
    5050 
     51{combine_script id='jquery.migrate' load='footer' require='jquery' path='themes/stripped/js/jquery-migrate.min.js'} 
     52 
    5153{if not empty($head_elements)} 
    5254        {foreach from=$head_elements item=elt}{$elt} 
  • extensions/stripped/template/menubar_categories.tpl

    r12960 r26629  
    33</dt> 
    44<dd> 
    5         {assign var='ref_level' value=0} 
    6         {foreach from=$block->data.MENU_CATEGORIES item=cat} 
    7                 {if $cat.LEVEL > $ref_level} 
    8                         <ul> 
    9                 {else} 
    10                         </li> 
    11                         {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL} 
    12                 {/if} 
    13                 <li {if $cat.SELECTED}class="selected"{/if}> 
    14                         <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a> 
    15                         {if !empty($cat.icon_ts)} 
    16                                 <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)"> 
    17                         {/if} 
    18                         {if $cat.count_images > 0} 
    19                                 <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span> 
    20                         {/if} 
    21                         {assign var='ref_level' value=$cat.LEVEL} 
    22         {/foreach} 
    23         {'</li></ul>'|@str_repeat:$ref_level} 
     5{assign var='ref_level' value=0} 
     6{foreach from=$block->data.MENU_CATEGORIES item=cat} 
     7  {if $cat.LEVEL > $ref_level} 
     8  <ul> 
     9  {else} 
     10    </li> 
     11    {'</ul></li>'|@str_repeat:($ref_level-$cat.LEVEL)} 
     12  {/if} 
     13    <li {if $cat.SELECTED}class="selected"{/if}> 
     14      <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a> 
     15      {if !empty($cat.icon_ts)} 
     16      <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)"> 
     17      {/if} 
     18      {if $cat.count_images > 0} 
     19      <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span> 
     20      {/if} 
     21  {assign var='ref_level' value=$cat.LEVEL} 
     22{/foreach} 
     23{'</li></ul>'|@str_repeat:$ref_level} 
    2424 
    25         <p class="totalImages">{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p> 
     25        <p class="totalImages">{$block->data.NB_PICTURE|@translate_dec:'%d photo':'%d photos'}</p> 
    2626</dd> 
Note: See TracChangeset for help on using the changeset viewer.