source: extensions/Wood/template/index.tpl @ 18813

Last change on this file since 18813 was 18813, checked in by Miklfe, 11 years ago
File size: 6.6 KB
Line 
1{$MENUBAR}
2{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
3
4
5<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
6
7<div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}">
8        <ul class="categoryActions">
9{if !empty($image_orders)}
10                <li>{strip}<a id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
11                        <span class="pwg-icon pwg-icon-sort">&nbsp;</span><span class="pwg-button-text">{'Sort order'|@translate}</span>
12                </a>
13                <div id="sortOrderBox" class="switchBox">
14                        <div class="switchBoxTitle">{'Sort order'|@translate}</div>
15                        {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
16                        {if $image_order.SELECTED}
17                        <span>&#x2714; </span>{$image_order.DISPLAY}
18                        {else}
19                        <span style="visibility:hidden">&#x2714; </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a>
20                        {/if}
21                        {/foreach}
22                </div>
23                {/strip}</li>
24{/if}
25{if !empty($image_derivatives)}
26                <li>{strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
27                        <span class="pwg-icon pwg-icon-sizes">&nbsp;</span><span class="pwg-button-text">{'Photo sizes'|@translate}</span>
28                </a>
29                <div id="derivativeSwitchBox" class="switchBox">
30                        <div class="switchBoxTitle">{'Photo sizes'|@translate}</div>
31                        {foreach from=$image_derivatives item=image_derivative name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
32                        {if $image_derivative.SELECTED}
33                        <span>&#x2714; </span>{$image_derivative.DISPLAY}
34                        {else}
35                        <span style="visibility:hidden">&#x2714; </span><a href="{$image_derivative.URL}" rel="nofollow">{$image_derivative.DISPLAY}</a>
36                        {/if}
37                        {/foreach}
38                </div>
39                {/strip}</li>
40{/if}
41
42
43{if isset($favorite)}
44                <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
45                        <span class="pwg-icon pwg-icon-favorite-del">&nbsp;</span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span>
46                </a></li>
47{/if}
48{if isset($U_CADDIE)}
49                <li><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button">
50                        <span class="pwg-icon pwg-icon-caddie-add">&nbsp;</span><span class="pwg-button-text">{'Caddie'|@translate}</span>
51                </a></li>
52{/if}
53{if isset($U_EDIT)}
54                <li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button">
55                        <span class="pwg-icon pwg-icon-category-edit">&nbsp;</span><span class="pwg-button-text">{'Edit'|@translate}</span>
56                </a></li>
57{/if}
58{if isset($U_SEARCH_RULES)}
59                {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
60                <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
61                        <span class="pwg-icon pwg-icon-help">&nbsp;</span><span class="pwg-button-text">(?)</span>
62                </a></li>
63{/if}
64{if isset($U_SLIDESHOW)}
65                <li>{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
66                        <span class="pwg-icon pwg-icon-slideshow">&nbsp;</span><span class="pwg-button-text">{'slideshow'|@translate}</span>
67                </a>{/strip}</li>
68{/if}
69{if isset($U_MODE_FLAT)}
70                <li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
71                        <span class="pwg-icon pwg-icon-category-view-flat">&nbsp;</span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span>
72                </a>{/strip}</li>
73{/if}
74{if isset($U_MODE_NORMAL)}
75                <li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button">
76                        <span class="pwg-icon pwg-icon-category-view-normal">&nbsp;</span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span>
77                </a>{/strip}</li>
78{/if}
79{if isset($U_MODE_POSTED)}
80                <li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
81                        <span class="pwg-icon pwg-icon-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span>
82                </a>{/strip}</li>
83{/if}
84{if isset($U_MODE_CREATED)}
85                <li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
86                        <span class="pwg-icon pwg-icon-camera-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span>
87                </a>{/strip}</li>
88{/if}
89{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
90
91
92
93
94        </ul>
95
96
97
98
99
100
101
102
103
104
105<h2>{$TITLE}</h2>
106
107
108
109
110
111
112
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
124{if isset($chronology.TITLE)}
125<h2 class="calendarTitle">{$chronology.TITLE}</h2>
126{/if}
127
128
129
130
131
132
133
134
135
136
137
138
139
140</div>{* <!-- titrePage --> *}
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156{if isset($errors) or not empty($infos)}
157{include file='infos_errors.tpl'}
158{/if}
159{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
160
161
162
163{if !empty($category_search_results)}
164<div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
165        <em><strong>
166        {foreach from=$category_search_results item=res name=res_loop}
167        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
168        {$res}
169        {/foreach}
170        </strong></em>
171</div>
172{/if}
173
174
175
176
177{if !empty($tag_search_results)}
178<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
179        <em><strong>
180        {foreach from=$tag_search_results item=res name=res_loop}
181        {if !$smarty.foreach.res_loop.first} &mdash; {/if}
182        {$res}
183        {/foreach}
184        </strong></em>
185</div>
186{/if}
187
188
189
190
191
192{if isset($FILE_CHRONOLOGY_VIEW)}
193{include file=$FILE_CHRONOLOGY_VIEW}
194{/if}
195
196
197{if !empty($CONTENT_DESCRIPTION)}
198<div class="additional_info">
199        {$CONTENT_DESCRIPTION}
200</div>
201{/if}
202
203
204
205
206{if !empty($CATEGORIES)}{$CATEGORIES}{/if}
207{if !empty($CATEGORIES)&& !empty($THUMBNAILS)}<div class="transition"></div>{/if}
208
209{if !empty($THUMBNAILS)}{$THUMBNAILS}{/if}
210
211
212{if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
213
214{if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if}
215</div>{* <!-- content --> *}
216{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
217
218
219
Note: See TracBrowser for help on using the repository browser.