source: extensions/simple_themes/simple/template/index.tpl @ 24173

Last change on this file since 24173 was 21337, checked in by plg, 12 years ago

bug fixed: new navigation bar for albums and thumbnails

File size: 2.9 KB
Line 
1{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
2<div class="titrePage">
3  <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span> »
4  {if isset($U_EDIT) or isset($U_SLIDESHOW) or !empty($PLUGIN_INDEX_ACTIONS)}
5  <ul class="categoryActions">
6    {if isset($U_EDIT)}
7    <li><a href="{$U_EDIT}" title="{'edit album informations'|@translate}">{'edit'|@translate}</a></li>
8    {/if}
9    {if isset($U_SLIDESHOW)}
10    <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li>
11    {/if}
12    {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
13  </ul>
14  {/if}
15  <h2>{$TITLE}</h2>
16</div>
17<div id="content">
18  {if isset($MENUBAR)}{$MENUBAR}{/if}
19  <div class="subcontent">
20    {if isset($chronology.TITLE) }
21    <h2>{$chronology.TITLE}</h2>
22    {/if}
23    {if isset($chronology_views) }
24    {if isset($U_MODE_POSTED) }
25    <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a>
26    {/if}
27    {if isset($U_MODE_CREATED) }
28    <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
29    {/if}
30    <div class="calendarViews">{'View'|@translate}:
31    <select onchange="document.location = this.options[this.selectedIndex].value;">
32      {foreach from=$chronology_views item=view}
33      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
34      {/foreach}
35    </select>
36    </div>
37    {/if}
38
39    {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
40    {if !empty($category_search_results) }
41    <div>{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
42      {foreach from=$category_search_results item=res name=res_loop}
43      {if !$smarty.foreach.res_loop.first} &mdash; {/if}
44      {$res}
45      {/foreach}
46    </div>
47    {/if}
48    {if !empty($tag_search_results) }
49    <div>{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
50      {foreach from=$tag_search_results item=res name=res_loop}
51      {if !$smarty.foreach.res_loop.first} &mdash; {/if}
52      {$res}
53      {/foreach}
54    </div>
55    {/if}
56    {if !empty($CONTENT_DESCRIPTION) }
57    <p id="additional_info">
58      {$CONTENT_DESCRIPTION}
59    </p>
60    {/if}
61    {if isset($FILE_CHRONOLOGY_VIEW) }
62      {include file=$FILE_CHRONOLOGY_VIEW}
63    {/if}
64
65    {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
66    {if !empty($cats_navbar)}
67      {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar}
68    {/if}
69
70    {if !empty($THUMBNAILS) }<div id="thumbnails">{$THUMBNAILS}</div>{/if}
71    {if !empty($thumb_navbar)}
72      {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar}
73    {/if}
74
75    {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
76  </div> <!-- subContent -->
77  {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
78  <div style="clear: both;"></div>
79</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.