source: extensions/luciano/template/index.tpl @ 9972

Last change on this file since 9972 was 9972, checked in by patdenice, 13 years ago

Compatible 2.2

File size: 4.9 KB
Line 
1{$MENUBAR}
2{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
3<div id="content" class="content">
4  <div class="titrePage">
5    <ul class="categoryActions">
6      {if !empty($image_orders) }
7      <li>
8      <span id="orderText">{'Sort order'|@translate}: </span>
9      <div id="order">
10      <select onchange="document.location = this.options[this.selectedIndex].value;">
11        {foreach from=$image_orders item=image_order }
12        <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
13        {/foreach}
14      </select>
15      </div>
16      </li>
17      {/if}
18
19      {if isset($favorite) }
20      <li><a href="{$favorite.U_FAVORITE}" title="{'delete all images from your favorites'|@translate}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'delete all images from your favorites'|@translate}"></a></li>
21      {/if}
22
23      {if isset($U_CADDIE) }
24      <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>
25      {/if}
26
27      {if isset($U_EDIT) }
28      <li><a href="{$U_EDIT}" title="{'edit'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li>
29      {/if}
30
31      {if isset($U_SEARCH_RULES) }
32      <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>
33      {/if}
34
35      {if isset($U_SLIDESHOW) }
36      <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>
37      {/if}
38
39      {if isset($U_MODE_FLAT) }
40      <li><a href="{$U_MODE_FLAT}" title="{'display all elements in all sub-categories'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'display all elements in all sub-categories'|@translate}"></a></li>
41      {/if}
42
43      {if isset($U_MODE_NORMAL) }
44      <li><a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'return to normal view mode'|@translate}"></a></li>
45      {/if}
46
47      {if isset($U_MODE_POSTED) }
48      <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'display a calendar by posted date'|@translate}"></a></li>
49      {/if}
50     
51      {if isset($U_MODE_CREATED) }
52      <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'display a calendar by creation date'|@translate}"></a></li>
53      {/if}
54     
55      {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
56    </ul>
57
58  <h2>{$TITLE}</h2>
59
60  {if isset($chronology_views) }
61  <div class="calendarViews">{'View'|@translate}:
62    <select onchange="document.location = this.options[this.selectedIndex].value;">
63      {foreach from=$chronology_views item=view}
64      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
65      {/foreach}
66    </select>
67  </div>
68  {/if}
69
70  {if isset($chronology.TITLE) }
71  <h2>{$chronology.TITLE}</h2>
72  {/if}
73
74  </div> <!-- titrePage -->
75
76{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
77
78{if !empty($category_search_results) }
79<div style="font-size:16px;margin:10px 16px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
80  <em><strong>
81  {foreach from=$category_search_results item=res name=res_loop}
82  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
83  {$res}
84  {/foreach}
85  </strong></em>
86</div>
87{/if}
88
89{if !empty($tag_search_results) }
90<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
91  <em><strong>
92  {foreach from=$tag_search_results item=res name=res_loop}
93  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
94  {$res}
95  {/foreach}
96  </strong></em>
97</div>
98{/if}
99
100{if isset($FILE_CHRONOLOGY_VIEW) }
101{include file=$FILE_CHRONOLOGY_VIEW}
102{/if}
103
104{if !empty($CATEGORIES) }{$CATEGORIES}{/if}
105{if !empty($THUMBNAILS) }
106<ul class="thumbnails" id="thumbnails">
107{$THUMBNAILS}
108</ul>
109{/if}
110
111{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
112
113{if !empty($CONTENT_DESCRIPTION) }
114<div class="additional_info">
115  {$CONTENT_DESCRIPTION}
116</div>
117{/if}
118
119{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
120</div> <!-- content -->
121
122{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
Note: See TracBrowser for help on using the repository browser.