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="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');"> |
---|
13 | </a> |
---|
14 | </div> |
---|
15 | {/if} |
---|
16 | |
---|
17 | {if !empty($image_orders)} |
---|
18 | <div id="sortOrderBox" class="switchBox switchBoxCat"> |
---|
19 | <div class="switchBoxTitle">{'Sort order'|@translate}</div> |
---|
20 | {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
21 | {if $image_order.SELECTED} |
---|
22 | <span>✔ </span>{$image_order.DISPLAY} |
---|
23 | {else} |
---|
24 | <span style="visibility:hidden">✔ </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a> |
---|
25 | {/if} |
---|
26 | {/foreach} |
---|
27 | </div> |
---|
28 | {/if} |
---|
29 | |
---|
30 | <div class="categoryActionsContent" id="categoryActionsContent"> |
---|
31 | <div class="categoryActionsContentBG"> </div> |
---|
32 | |
---|
33 | {if !empty($image_derivatives)} |
---|
34 | <div id="derivativeSwitchBox" class="switchBox switchBoxCat"> |
---|
35 | <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> |
---|
36 | {foreach from=$image_derivatives item=image_derivative name=loop} |
---|
37 | {if !$smarty.foreach.loop.first}<br>{/if} |
---|
38 | {if $image_derivative.SELECTED} |
---|
39 | <span>✔ </span>{$image_derivative.DISPLAY} |
---|
40 | {else} |
---|
41 | <span style="visibility:hidden">✔ </span> |
---|
42 | <a href="{$image_derivative.URL}" rel=nofollow">{$image_derivative.DISPLAY}</a> |
---|
43 | {/if} |
---|
44 | {/foreach} |
---|
45 | </div> |
---|
46 | {/if} |
---|
47 | |
---|
48 | <ul class="categoryActions" id="categoryActionsID"> |
---|
49 | <li> </li> |
---|
50 | {if !empty($image_orders) } |
---|
51 | <li><a title="{'Sort order'|@translate}" id="icon_sort" class="button"></a></li> |
---|
52 | {/if} |
---|
53 | |
---|
54 | {if !empty($image_derivatives) } |
---|
55 | <li><a title="{'Photo sizes'|@translate}" id="icon_derivatives" class="button"></a></li> |
---|
56 | {/if} |
---|
57 | |
---|
58 | |
---|
59 | {if isset($favorite)} |
---|
60 | <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" id="icon_delall_favorite" class="button"></a></li> |
---|
61 | {/if} |
---|
62 | |
---|
63 | {if isset($U_CADDIE)} |
---|
64 | <li><a href="{$U_CADDIE}" title="{'Add tocaddie'|@translate}" id="icon_caddie" class="button"></a></li> |
---|
65 | {/if} |
---|
66 | |
---|
67 | {if isset($U_EDIT)} |
---|
68 | <li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" id="icon_category_edit" class="button" ></a></li> |
---|
69 | {/if} |
---|
70 | |
---|
71 | {if isset($U_SEARCH_RULES)} |
---|
72 | <li><a href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow" id="icon_search_rules" class="button"></a></li> |
---|
73 | {/if} |
---|
74 | |
---|
75 | {if isset($U_SLIDESHOW)} |
---|
76 | <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow" id="icon_start_slideshow" class="button"></a></li> |
---|
77 | {/if} |
---|
78 | |
---|
79 | {if isset($U_MODE_FLAT)} |
---|
80 | <li><a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" rel="nofollow" id="icon_flat" class="button"></a></li> |
---|
81 | {/if} |
---|
82 | |
---|
83 | {if isset($U_MODE_NORMAL)} |
---|
84 | <li><a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" id="icon_normal_mode" class="button"></a></li> |
---|
85 | {/if} |
---|
86 | |
---|
87 | {if isset($U_MODE_POSTED)} |
---|
88 | <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow" id="icon_calendar" class="button"></a></li> |
---|
89 | {/if} |
---|
90 | |
---|
91 | {if isset($U_MODE_CREATED)} |
---|
92 | <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow" id="icon_calendar_created" class="button"></a></li> |
---|
93 | {/if} |
---|
94 | |
---|
95 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
96 | </ul> |
---|
97 | </div> |
---|
98 | |
---|
99 | <div class="browsePath"> |
---|
100 | <div class="browsePathBG"> </div> |
---|
101 | <h2 class='treeLinks'>{$TITLE|replace:' / ':' | '}</h2> |
---|
102 | </div> |
---|
103 | |
---|
104 | </div> <!-- titrePage --> |
---|
105 | |
---|
106 | {if #menuAnimated# != "noswitch"} |
---|
107 | {$MENUBAR} |
---|
108 | {/if} |
---|
109 | |
---|
110 | |
---|
111 | <div id="subContent"> |
---|
112 | <div class="titrePage{if !(isset($chronology_views) or isset($chronology.TITLE))}Empty{/if}" id="titreContent1"> |
---|
113 | {if isset($chronology_views)} |
---|
114 | <div class="calendarViews">{'View'|@translate}: |
---|
115 | <select onchange="document.location = this.options[this.selectedIndex].value;"> |
---|
116 | {foreach from=$chronology_views item=view} |
---|
117 | <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> |
---|
118 | {/foreach} |
---|
119 | </select> |
---|
120 | </div> |
---|
121 | {/if} |
---|
122 | |
---|
123 | {if isset($chronology.TITLE)} |
---|
124 | <h2 class="calendarTitle">{$chronology.TITLE}</h2> |
---|
125 | {/if} |
---|
126 | </div> |
---|
127 | |
---|
128 | {if isset($errors) or not empty($infos)} |
---|
129 | {include file='infos_errors.tpl'} |
---|
130 | {/if} |
---|
131 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} |
---|
132 | |
---|
133 | {if !empty($category_search_results)} |
---|
134 | <div style="font-size:16px;text-align:left;margin:10px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
135 | <em><strong> |
---|
136 | {foreach from=$category_search_results item=res name=res_loop} |
---|
137 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
138 | {$res} |
---|
139 | {/foreach} |
---|
140 | </strong></em> |
---|
141 | </div> |
---|
142 | {/if} |
---|
143 | |
---|
144 | {if !empty($tag_search_results)} |
---|
145 | <div style="font-size:16px;text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
146 | <em><strong> |
---|
147 | {foreach from=$tag_search_results item=res name=res_loop} |
---|
148 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
149 | {$res} |
---|
150 | {/foreach} |
---|
151 | </strong></em> |
---|
152 | </div> |
---|
153 | {/if} |
---|
154 | |
---|
155 | {if isset($FILE_CHRONOLOGY_VIEW)} |
---|
156 | {include file=$FILE_CHRONOLOGY_VIEW} |
---|
157 | {/if} |
---|
158 | |
---|
159 | {if !empty($CATEGORIES) or !empty($THUMBNAILS) or !empty($CONTENT_DESCRIPTION)} |
---|
160 | <table id="thumbContents"><tr> |
---|
161 | {if !empty($CONTENT_DESCRIPTION) } |
---|
162 | <td class="additional_info" id="additional_infoID"> |
---|
163 | <div id="additional_infoLEFT"> |
---|
164 | {$CONTENT_DESCRIPTION} |
---|
165 | </div> |
---|
166 | </td> |
---|
167 | {/if} |
---|
168 | |
---|
169 | {if !empty($CATEGORIES) or !empty($THUMBNAILS)} |
---|
170 | <td id="thumbContainer"> |
---|
171 | <div id="thumbSubContainer"> |
---|
172 | |
---|
173 | <div id="additional_infoTOP"> |
---|
174 | {if !empty($CONTENT_DESCRIPTION_TOP) } |
---|
175 | {$CONTENT_DESCRIPTION_TOP} |
---|
176 | {/if} |
---|
177 | </div> |
---|
178 | |
---|
179 | {if !empty($CATEGORIES)}<div id="categories">{$CATEGORIES} |
---|
180 | {if !empty($cats_navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar}{/if}</div>{/if} |
---|
181 | {if !empty($THUMBNAILS)}<div id="thumbnails">{$THUMBNAILS}</div>{/if} |
---|
182 | |
---|
183 | <div id="additional_infoBOTTOM"> |
---|
184 | {if !empty($CONTENT_DESCRIPTION_BOTTOM) } |
---|
185 | {$CONTENT_DESCRIPTION_BOTTOM} |
---|
186 | {/if} |
---|
187 | </div> |
---|
188 | |
---|
189 | </div> |
---|
190 | </td> |
---|
191 | {/if} |
---|
192 | </tr></table> |
---|
193 | {/if} |
---|
194 | |
---|
195 | {if !empty($thumb_navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar}{/if} |
---|
196 | |
---|
197 | </div>{* subContent *} |
---|
198 | |
---|
199 | |
---|
200 | |
---|
201 | {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if} |
---|
202 | </div> {* content *} |
---|
203 | |
---|
204 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|
205 | <!-- **GBL** <INDEX< --> |
---|