Changeset 17493


Ignore:
Timestamp:
Aug 9, 2012, 4:19:12 PM (8 years ago)
Author:
mistic100
Message:

better integration in simple and stripped

Location:
extensions/UserCollections/template
Files:
5 added
3 edited

Legend:

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

    r16698 r17493  
    3535
    3636
    37 {if $themeconf.name != "stripped" and $themeconf.parent != "stripped" and $themeconf.name != "simple-grey" and $themeconf.parent != "simple"}
    38   {$MENUBAR}
     37{* <!-- Menubar & titrePage --> *}
     38{if $themeconf.name == "stripped" or $themeconf.parent == "stripped"}
     39  {include file=$USER_COLLEC_ABS_PATH|@cat:'template/themes/stripped.tpl'}
     40  {assign var="clear" value="true"}
     41{elseif $themeconf.name == "simple-grey" or $themeconf.parent == "simple"}
     42  {include file=$USER_COLLEC_ABS_PATH|@cat:'template/themes/simple.tpl'}
     43  {assign var="clear" value="true"}
    3944{else}
    40   {assign var="intern_menu" value="true"}
     45  {include file=$USER_COLLEC_ABS_PATH|@cat:'template/themes/default.tpl'}
    4146{/if}
    42 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
    43 {if $intern_menu}{$MENUBAR}{/if}
    44 
    45 
    46 <div class="titrePage">
    47   <ul class="categoryActions">
    48   {if !empty($COLLECTION_ACTIONS)}{$COLLECTION_ACTIONS}{/if}
    49   </ul>
    50   <h2>{$TITLE}</h2>
    51 </div>{* <!-- titrePage --> *}
    5247
    5348{if isset($errors) or not empty($infos)}
     
    9489{/if}
    9590
    96 
     91{if $clear}<div style="clear: both;"></div>{/if}
    9792</div>{* <!-- content --> *}
  • extensions/UserCollections/template/list.tpl

    r16688 r17493  
    1919{/if}
    2020
    21 {if $themeconf.name != "stripped" and $themeconf.parent != "stripped" and $themeconf.name != "simple-grey" and $themeconf.parent != "simple"}
    22   {$MENUBAR}
     21{* <!-- Menubar & titrePage --> *}
     22{if $themeconf.name == "stripped" or $themeconf.parent == "stripped"}
     23  {include file=$USER_COLLEC_ABS_PATH|@cat:'template/themes/stripped.tpl'}
     24  {assign var="clear" value="true"}
     25{elseif $themeconf.name == "simple-grey" or $themeconf.parent == "simple"}
     26  {include file=$USER_COLLEC_ABS_PATH|@cat:'template/themes/simple.tpl'}
     27  {assign var="clear" value="true"}
    2328{else}
    24   {assign var="intern_menu" value="true"}
     29  {include file=$USER_COLLEC_ABS_PATH|@cat:'template/themes/default.tpl'}
    2530{/if}
    26 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
    27 {if $intern_menu}{$MENUBAR}{/if}
    28 
    29 
    30 <div class="titrePage">
    31   <ul class="categoryActions"></ul>
    32   <h2>{$TITLE}</h2>
    33 </div>{* <!-- titrePage --> *}
    3431
    3532{if isset($errors) or not empty($infos)}
     
    9289{/if}
    9390
    94 
     91{if $clear}<div style="clear: both;"></div>{/if}
    9592</div>{* <!-- content --> *}
  • extensions/UserCollections/template/view.tpl

    r16688 r17493  
    22
    33
    4 {if $themeconf.name != "stripped" and $themeconf.parent != "stripped" and $themeconf.name != "simple-grey" and $themeconf.parent != "simple"}
    5   {$MENUBAR}
     4{* <!-- Menubar & titrePage --> *}
     5{if $themeconf.name == "stripped" or $themeconf.parent == "stripped"}
     6  {include file=$USER_COLLEC_ABS_PATH|@cat:'template/themes/stripped.tpl'}
     7  {assign var="clear" value="true"}
     8{elseif $themeconf.name == "simple-grey" or $themeconf.parent == "simple"}
     9  {include file=$USER_COLLEC_ABS_PATH|@cat:'template/themes/simple.tpl'}
     10  {assign var="clear" value="true"}
    611{else}
    7   {assign var="intern_menu" value="true"}
     12  {include file=$USER_COLLEC_ABS_PATH|@cat:'template/themes/default.tpl'}
    813{/if}
    9 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
    10 {if $intern_menu}{$MENUBAR}{/if}
    11 
    12 
    13 <div class="titrePage">
    14   <ul class="categoryActions">
    15   {if !empty($COLLECTION_ACTIONS)}{$COLLECTION_ACTIONS}{/if}
    16   </ul>
    17   <h2>{$TITLE}</h2>
    18 </div>{* <!-- titrePage --> *}
    1914
    2015{if isset($errors) or not empty($infos)}
     
    3126{if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    3227
    33 
     28{if $clear}<div style="clear: both;"></div>{/if}
    3429</div>{* <!-- content --> *}
Note: See TracChangeset for help on using the changeset viewer.