source: extensions/gally/index.tpl @ 4489

Last change on this file since 4489 was 4489, checked in by grum, 14 years ago

[Template:Gally] feature 1096, feature 1097, feature 1098, feature 1099, feature 1313
And some other improvments...

  • Property svn:executable set to *
File size: 6.7 KB
Line 
1<!-- **GBL** >INDEX> -->
2
3{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
4
5<div id="content" class="content">
6  <div class="titrePage" id='titrePageID'>
7
8    {if #menuAnimated# == "noswitch"}
9      {$MENUBAR}
10    {else}
11    <div id="menuswitcher">
12      <a id="icon_menu" class="button" onclick="switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
13        <!-- <img  src="{$ROOT_URL}{$themeconf.icon_dir}/menu-show.png"  alt="{'mode_flat_hint'|@translate}"> -->
14      </a>
15    </div>
16    {/if}
17
18      <ul class="categoryActions" id="categoryActionsID">
19        <li>&nbsp;</li>
20        {if !empty($image_orders) }
21        <li class="selector">
22        {'Sort order'|@translate}:
23        <select onchange="document.location = this.options[this.selectedIndex].value;">
24          {foreach from=$image_orders item=image_order }
25          <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}}>{$image_order.DISPLAY}</option>
26          {/foreach}
27        </select>
28        </li>
29        {/if}
30
31        {if isset($favorite) }
32        <li><a id="icon_delall_favorite" class="button" href="{$favorite.U_FAVORITE}" title="{'del_all_favorites_hint'|@translate}">
33          <!-- <img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'del_all_favorites_hint'|@translate}">- --></a></li>
34        {/if}
35
36        {if isset($U_CADDIE) }
37        <li><a id="icon_caddie" class="button" href="{$U_CADDIE}" title="{'add to caddie'|@translate}">
38          <!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"/> --> </a></li>
39        {/if}
40
41        {if isset($U_EDIT) }
42        <li><a id="icon_category_edit" class="button" href="{$U_EDIT}" title="{'edit category informations'|@translate}">
43          <!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/> --></a></li>
44        {/if}
45
46        {if isset($U_SEARCH_RULES) }
47        <li><a id="icon_search_rules" class="button" href="{$U_SEARCH_RULES}" style="border:none;" 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>
48        {/if}
49
50        {if isset($U_SLIDESHOW) }
51        <li><a id="icon_start_slideshow" class="button" 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>
52        {/if}
53
54        {if isset($U_MODE_FLAT) }
55        <li><a id="icon_flat" class="button" 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>
56        {/if}
57
58        {if isset($U_MODE_NORMAL) }
59        <li><a id="icon_normal_mode" class="button" 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>
60        {/if}
61
62        {if isset($U_MODE_POSTED) }
63        <li><a id="icon_calendar" class="button" 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>
64        {/if}
65
66        {if isset($U_MODE_CREATED) }
67        <li><a id="icon_calendar_created" class="button" 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>
68        {/if}
69
70        {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
71      </ul>
72
73
74  <h2>[&nbsp;{$TITLE}&nbsp;]</h2>
75
76
77
78  </div> <!-- titrePage -->
79
80{if #menuAnimated# != "noswitch"}
81  {$MENUBAR}
82{/if}
83
84
85<div id="subContent">
86  <div class="titrePage{if !(isset($chronology_views) or isset($chronology.TITLE))}Empty{/if}" id="titreContent1">
87    {if isset($chronology_views) }
88    <div class="calendarViews">{'calendar_view'|@translate}:
89      <select onchange="document.location = this.options[this.selectedIndex].value;">
90        {foreach from=$chronology_views item=view}
91        <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
92        {/foreach}
93      </select>
94    </div>
95    {/if}
96
97    {if isset($chronology.TITLE) }
98    <h2>{$chronology.TITLE}</h2>
99    {/if}
100  </div>
101
102  {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
103
104  {if !empty($category_search_results) }
105  <div style="font-size:16px;text-align:left;margin:10px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
106    <em><strong>
107    {foreach from=$category_search_results item=res name=res_loop}
108    {if !$smarty.foreach.res_loop.first} &mdash; {/if}
109    {$res}
110    {/foreach}
111    </strong></em>
112  </div>
113  {/if}
114
115  {if !empty($tag_search_results) }
116  <div style="font-size:16px;text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
117    <em><strong>
118    {foreach from=$tag_search_results item=res name=res_loop}
119    {if !$smarty.foreach.res_loop.first} &mdash; {/if}
120    {$res}
121    {/foreach}
122    </strong></em>
123  </div>
124  {/if}
125
126  {if isset($FILE_CHRONOLOGY_VIEW) }
127  {include file=$FILE_CHRONOLOGY_VIEW}
128  {/if}
129
130  {if !empty($CATEGORIES) or !empty($THUMBNAILS) or !empty($CONTENT_DESCRIPTION)}
131  <table id="thumbContents"><tr>
132    {if !empty($CONTENT_DESCRIPTION) }
133    <td class="additional_info" id="additional_infoID">
134      <div id="additional_infoLEFT">
135        {$CONTENT_DESCRIPTION}
136      </div>
137    </td>
138    {/if}
139
140    {if !empty($CATEGORIES) or !empty($THUMBNAILS)}
141    <td id="thumbContainer">
142      <div id="thumbSubContainer">
143
144        <div id="additional_infoTOP">
145          {if !empty($CONTENT_DESCRIPTION_TOP) }
146          {$CONTENT_DESCRIPTION_TOP}
147          {/if}
148        </div>
149
150        {if !empty($CATEGORIES) }<div id="categories">{$CATEGORIES}</div>{/if}
151        {if !empty($THUMBNAILS) }<div id="thumbnails">{$THUMBNAILS}</div>{/if}
152
153        <div id="additional_infoBOTTOM">
154          {if !empty($CONTENT_DESCRIPTION_BOTTOM) }
155          {$CONTENT_DESCRIPTION_BOTTOM}
156          {/if}
157        </div>
158
159      </div>
160    </td>
161    {/if}
162  </tr></table>
163  {/if}
164
165  {if !empty($NAV_BAR) }
166  <div class="navigationBar">
167    {$NAV_BAR}
168  </div>
169  {/if}
170
171</div> <!-- subContent -->
172
173
174
175{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
176</div> <!-- content -->
177
178{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
179<!-- **GBL** <INDEX< -->
Note: See TracBrowser for help on using the repository browser.