Ignore:
Timestamp:
Jul 11, 2012, 6:45:20 PM (12 years ago)
Author:
mistic100
Message:

-better support of Stripped

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/template/view.tpl

    r16609 r16626  
    1 {$MENUBAR}
     1{if $themeconf.name != "stripped" and $themeconf.parent != "stripped" and $themeconf.name != "simple-grey" and $themeconf.parent != "simple"}
     2  {$MENUBAR}
     3{else}
     4  {assign var="intern_menu" value="true"}
     5{/if}
     6<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
     7{if $intern_menu}{$MENUBAR}{/if}
    28
    3 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
    4 <div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}">
     9<div class="titrePage">
    510  <ul class="categoryActions"></ul>
    611  <h2>{$TITLE}</h2>
     
    1116{/if}
    1217
    13 <p>
     18{if $set}
     19<fieldset>
    1420  <h3>{$set.NAME}</h3>
    1521  {if $set.COMMENT}<blockquote>{$set.COMMENT}</blockquote>{/if}
    16   {'Nb images'|@translate}: <span class="nbImages">{$set.NB_IMAGES}</span>
    17 </p>
     22  {assign var="nb_images" value='<span class="nbImagesSet">'|@cat:$set.NB_IMAGES|@cat:'</span>'}
     23  {'%d photos'|@translate|replace:'%d':'%s'|sprintf:$nb_images}
     24</fieldset>
    1825
    1926
     
    2229{$THUMBNAILS}
    2330</ul>
     31{else}
     32{'This download set is empty'|@translate}
    2433{/if}
    2534
     
    2736
    2837<p style="text-align:center;font-weight:bold;margin:20px;"><a href="{$U_INIT_ZIP}" rel="nofollow">{'Return to download page'|@translate}</a></p>
     38{/if}
    2939
    3040</div>{* <!-- content --> *}
Note: See TracChangeset for help on using the changeset viewer.