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

Last change on this file since 28075 was 28075, checked in by plg, 10 years ago

compatibility 2.6 : ability to add buttons on index.php for plugins (BatchDonwloader, Cooliris...)

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