source: extensions/floPure/index.tpl @ 3602

Last change on this file since 3602 was 3579, checked in by flop25, 15 years ago

now the template check the version of the template

File size: 5.1 KB
Line 
1{* $Id: index.tpl 2352 2008-05-20 00:27:26Z patdenice $ *}
2{$MENUBAR}
3{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
4<div id="content" class="content">
5  <table id="table_content" border="0" cellspacing="0" cellpadding="0">
6    <tr>
7      <td id="section_up_left">&nbsp;</td>
8      <td id="section_up">&nbsp;</td>
9      <td id="section_up_right">&nbsp;</td>
10    </tr>
11    <tr>
12      <td id="section_left">&nbsp;</td>
13      <td id="section_in">
14  <div class="titrePage">
15    <ul class="categoryActions">
16      {if !empty($image_orders) }
17      <li>
18      {'Sort order'|@translate}:
19      <select onchange="document.location = this.options[this.selectedIndex].value;">
20        {foreach from=$image_orders item=image_order }
21        <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
22        {/foreach}
23      </select>
24      </li>
25      {/if}
26
27      {if isset($U_CADDIE) }
28      <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"/></a></li>
29      {/if}
30
31      {if isset($U_EDIT) }
32      <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li>
33      {/if}
34
35      {if isset($U_SEARCH_RULES) }
36      <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)" /></a></li>
37      {/if}
38
39      {if isset($U_SLIDESHOW) }
40      <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"/></a></li>
41      {/if}
42
43      {if isset($U_MODE_FLAT) }
44      <li><a href="{$U_MODE_FLAT}" title="{'mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}" /></a></li>
45      {/if}
46
47      {if isset($U_MODE_NORMAL) }
48      <li><a href="{$U_MODE_NORMAL}" title="{'mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}" /></a></li>
49      {/if}
50
51      {if isset($U_MODE_POSTED) }
52      <li><a href="{$U_MODE_POSTED}" title="{'mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}" /></a></li>
53      {/if}
54     
55      {if isset($U_MODE_CREATED) }
56      <li><a href="{$U_MODE_CREATED}" title="{'mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}" /></a></li>
57      {/if}
58     
59      {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
60    </ul>
61
62  <h2>{$TITLE}</h2>
63
64  {if isset($chronology_views) }
65  <div class="calendarViews">{'calendar_view'|@translate}:
66    <select onchange="document.location = this.options[this.selectedIndex].value;">
67      {foreach from=$chronology_views item=view}
68      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
69      {/foreach}
70    </select>
71  </div>
72  {/if}
73
74  {if isset($chronology.TITLE) }
75  <h2>{$chronology.TITLE}</h2>
76  {/if}
77
78  </div> <!-- titrePage -->
79
80{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
81
82{if !empty($category_search_results) }
83<div style="font-size:16px;margin:10px 16px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
84  <em><strong>
85  {foreach from=$category_search_results item=res name=res_loop}
86  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
87  {$res}
88  {/foreach}
89  </strong></em>
90</div>
91{/if}
92
93{if !empty($tag_search_results) }
94<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
95  <em><strong>
96  {foreach from=$tag_search_results item=res name=res_loop}
97  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
98  {$res}
99  {/foreach}
100  </strong></em>
101</div>
102{/if}
103
104{if isset($FILE_CHRONOLOGY_VIEW) }
105{include file=$FILE_CHRONOLOGY_VIEW}
106{/if}
107
108{if !empty($CATEGORIES) }{$CATEGORIES}{/if}
109{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
110
111
112{if !empty($NAV_BAR) }
113<div class="navigationBar">
114  {$NAV_BAR}
115</div>
116{/if}
117
118{if !empty($CONTENT_DESCRIPTION) }
119<div class="additional_info">
120  {$CONTENT_DESCRIPTION}
121</div>
122{/if}
123
124{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
125</td>
126          <td id="section_right">&nbsp;</td>
127    </tr>
128    <tr>
129      <td id="section_bottom_left">&nbsp;</td>
130      <td id="section_bottom" >&nbsp;</td>
131      <td id="section_bottom_right" >&nbsp;</td>
132    </tr>
133  </table>
134</div> <!-- content -->
135
136{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracBrowser for help on using the repository browser.