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

-add download link if BatchDownloader is installed
-merge two prefilters
-better support of Stripped

Location:
extensions/UserCollections/template
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/template/edit.tpl

    r16608 r16625  
    2727{/footer_script}
    2828
    29 {$MENUBAR}
     29{if $themeconf.name != "stripped" and $themeconf.parent != "stripped" and $themeconf.name != "simple-grey" and $themeconf.parent != "simple"}
     30  {$MENUBAR}
     31{else}
     32  {assign var="intern_menu" value="true"}
     33{/if}
     34<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
     35{if $intern_menu}{$MENUBAR}{/if}
    3036
    31 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
    3237<div class="titrePage">
    3338  <ul class="categoryActions">
  • extensions/UserCollections/template/list.tpl

    r16608 r16625  
    1313{/footer_script}
    1414
    15 {$MENUBAR}
     15{if $themeconf.name != "stripped" and $themeconf.parent != "stripped" and $themeconf.name != "simple-grey" and $themeconf.parent != "simple"}
     16  {$MENUBAR}
     17{else}
     18  {assign var="intern_menu" value="true"}
     19{/if}
     20<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
     21{if $intern_menu}{$MENUBAR}{/if}
    1622
    17 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
    1823<div class="titrePage">
    1924  <ul class="categoryActions"></ul>
     
    3944      </p>
    4045      <p class="collecActions">
    41         <a href="{$col.U_EDIT}" rel="nofollow">{'Edit'|@translate}</a> |
    42         <a href="{$col.U_SAVE}" class="save_col" rel="nofollow">{'save'|@translate}</a> |
    43         <a href="{$col.U_DELETE}" onClick="return confirm('{'Are you sure?'|@translate}');" rel="nofollow">{'delete'|@translate}</a>
     46        <a href="{$col.U_EDIT}" rel="nofollow">{'Edit'|@translate}</a>
     47        | <a href="{$col.U_SAVE}" class="save_col" rel="nofollow">{'save'|@translate}</a>
     48        {if $col.U_DOWNLOAD}| <a href="{$col.U_DOWNLOAD}" rel="nofollow">{'download'|@translate}</a>{/if}
     49        | <a href="{$col.U_DELETE}" onClick="return confirm('{'Are you sure?'|@translate}');" rel="nofollow">{'delete'|@translate}</a>
    4450        {if not $col.active}| <a href="{$col.U_ACTIVE}" rel="nofollow">{'set active'|@translate}</a>{/if}
    4551      </p>
     
    6571      </p>
    6672      <p class="collecActions">
    67         <a href="{$col.U_EDIT}" rel="nofollow">{'Edit'|@translate}</a> |
    68         <a href="{$col.U_DELETE}" onClick="return confirm('{'Are you sure?'|@translate}');" rel="nofollow">{'delete'|@translate}</a>
     73        <a href="{$col.U_EDIT}" rel="nofollow">{'Edit'|@translate}</a>
     74        {if $col.U_DOWNLOAD}| <a href="{$col.U_DOWNLOAD}" rel="nofollow">{'download'|@translate}</a>{/if}
     75        | <a href="{$col.U_DELETE}" onClick="return confirm('{'Are you sure?'|@translate}');" rel="nofollow">{'delete'|@translate}</a>
    6976        {if not $col.active}| <a href="{$col.U_ACTIVE}" rel="nofollow">{'set active'|@translate}</a>{/if}
    7077      </p>
  • extensions/UserCollections/template/menublock_user_collec.tpl

    r16608 r16625  
    22<dd>
    33{if $block->data.current}
    4   {'Current collection:'|@translate} <b>{$block->data.current.NAME}</b>, {'%d photos'|@translate|@sprintf:$block->data.current.NB_IMAGES}
     4  {assign var="nb_images" value='<span class="nbImagesCollec">'|@cat:$block->data.current.NB_IMAGES|@cat:'</span>'}
     5  <p>{'Current collection:'|@translate} <b>{$block->data.current.NAME}</b>, {'%d photos'|@translate|replace:'%d':'%s'|sprintf:$nb_images}</p>
    56        <ul>{strip}
    67                {foreach from=$block->data.links item=link}
     
    910        {/strip}</ul>
    1011{/if}
    11   <a href="{$block->data.U_LIST}" rel="nofollow">{'See all my collections'|@translate}</a>
     12  <p><a href="{$block->data.U_LIST}" rel="nofollow">{'See all my collections'|@translate}</a></p>
    1213</dd>
  • extensions/UserCollections/template/view.tpl

    r16597 r16625  
    11{combine_css path=$USER_COLLEC_PATH|@cat:"template/style.css"}
    22
    3 {$MENUBAR}
     3{if $themeconf.name != "stripped" and $themeconf.parent != "stripped" and $themeconf.name != "simple-grey" and $themeconf.parent != "simple"}
     4  {$MENUBAR}
     5{else}
     6  {assign var="intern_menu" value="true"}
     7{/if}
     8<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
     9{if $intern_menu}{$MENUBAR}{/if}
    410
    5 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
    611<div class="titrePage">
    712  <ul class="categoryActions">
Note: See TracChangeset for help on using the changeset viewer.