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>{strip}<a href="javascript:toggleSortOrderBox()" id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
8 | <span class="pwg-icon pwg-icon-sort"> </span><span class="pwg-button-text">{'Sort order'|@translate}</span> |
---|
9 | </a> |
---|
10 | <div id="sortOrderBox" style="display:none; text-align:left" onclick="toggleSortOrderBox()"> |
---|
11 | {'Sort order'|@translate}: |
---|
12 | {foreach from=$image_orders item=image_order}<br> |
---|
13 | {if $image_order.SELECTED} |
---|
14 | <span>{$image_order.DISPLAY}</span> |
---|
15 | {else} |
---|
16 | <a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a> |
---|
17 | {/if} |
---|
18 | {/foreach} |
---|
19 | </div> |
---|
20 | {footer_script}{literal} |
---|
21 | function toggleSortOrderBox() |
---|
22 | { |
---|
23 | var elt = document.getElementById("sortOrderBox"), |
---|
24 | ePos = document.getElementById("sortOrderLink"); |
---|
25 | if (elt.style.display==="none") |
---|
26 | { |
---|
27 | elt.style.position = "absolute"; |
---|
28 | elt.style.left = (ePos.offsetLeft) + "px"; |
---|
29 | elt.style.top = (ePos.offsetTop + ePos.offsetHeight) + "px"; |
---|
30 | elt.style.display=""; |
---|
31 | } |
---|
32 | else |
---|
33 | elt.style.display="none"; |
---|
34 | } |
---|
35 | {/literal}{/footer_script} |
---|
36 | {/strip}</li> |
---|
37 | {/if} |
---|
38 | {if isset($favorite)} |
---|
39 | <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
40 | <span class="pwg-icon pwg-icon-favorite-del"> </span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span> |
---|
41 | </a></li> |
---|
42 | {/if} |
---|
43 | {if isset($U_CADDIE)} |
---|
44 | <li><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button"> |
---|
45 | <span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'Caddie'|@translate}</span> |
---|
46 | </a></li> |
---|
47 | {/if} |
---|
48 | {if isset($U_EDIT)} |
---|
49 | <li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button"> |
---|
50 | <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'Edit'|@translate}</span> |
---|
51 | </a></li> |
---|
52 | {/if} |
---|
53 | {if isset($U_SEARCH_RULES)} |
---|
54 | {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} |
---|
55 | <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
56 | <span class="pwg-icon pwg-icon-help"> </span><span class="pwg-button-text">(?)</span> |
---|
57 | </a></li> |
---|
58 | {/if} |
---|
59 | {if isset($U_SLIDESHOW)} |
---|
60 | <li>{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
61 | <span class="pwg-icon pwg-icon-slideshow"> </span><span class="pwg-button-text">{'slideshow'|@translate}</span> |
---|
62 | </a>{/strip}</li> |
---|
63 | {/if} |
---|
64 | {if isset($U_MODE_FLAT)} |
---|
65 | <li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
66 | <span class="pwg-icon pwg-icon-category-view-flat"> </span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span> |
---|
67 | </a>{/strip}</li> |
---|
68 | {/if} |
---|
69 | {if isset($U_MODE_NORMAL)} |
---|
70 | <li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button"> |
---|
71 | <span class="pwg-icon pwg-icon-category-view-normal"> </span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span> |
---|
72 | </a>{/strip}</li> |
---|
73 | {/if} |
---|
74 | {if isset($U_MODE_POSTED)} |
---|
75 | <li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
76 | <span class="pwg-icon pwg-icon-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span> |
---|
77 | </a>{/strip}</li> |
---|
78 | {/if} |
---|
79 | {if isset($U_MODE_CREATED)} |
---|
80 | <li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
81 | <span class="pwg-icon pwg-icon-camera-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span> |
---|
82 | </a>{/strip}</li> |
---|
83 | {/if} |
---|
84 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
85 | </ul> |
---|
86 | |
---|
87 | <h2>{$TITLE}</h2> |
---|
88 | |
---|
89 | {if isset($chronology_views)} |
---|
90 | <div class="calendarViews">{'View'|@translate}: |
---|
91 | <select onchange="document.location = this.options[this.selectedIndex].value;"> |
---|
92 | {foreach from=$chronology_views item=view} |
---|
93 | <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> |
---|
94 | {/foreach} |
---|
95 | </select> |
---|
96 | </div> |
---|
97 | {/if} |
---|
98 | |
---|
99 | {if isset($chronology.TITLE)} |
---|
100 | <h2>{$chronology.TITLE}</h2> |
---|
101 | {/if} |
---|
102 | |
---|
103 | </div>{* <!-- titrePage --> *} |
---|
104 | |
---|
105 | {include file='infos_errors.tpl'} |
---|
106 | |
---|
107 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} |
---|
108 | |
---|
109 | {if !empty($category_search_results)} |
---|
110 | <div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
111 | <em><strong> |
---|
112 | {foreach from=$category_search_results item=res name=res_loop} |
---|
113 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
114 | {$res} |
---|
115 | {/foreach} |
---|
116 | </strong></em> |
---|
117 | </div> |
---|
118 | {/if} |
---|
119 | |
---|
120 | {if !empty($tag_search_results)} |
---|
121 | <div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
122 | <em><strong> |
---|
123 | {foreach from=$tag_search_results item=res name=res_loop} |
---|
124 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
125 | {$res} |
---|
126 | {/foreach} |
---|
127 | </strong></em> |
---|
128 | </div> |
---|
129 | {/if} |
---|
130 | |
---|
131 | {if isset($FILE_CHRONOLOGY_VIEW)} |
---|
132 | {include file=$FILE_CHRONOLOGY_VIEW} |
---|
133 | {/if} |
---|
134 | |
---|
135 | {if !empty($CONTENT_DESCRIPTION)} |
---|
136 | <div class="additional_info"> |
---|
137 | {$CONTENT_DESCRIPTION} |
---|
138 | </div> |
---|
139 | {/if} |
---|
140 | |
---|
141 | {if !empty($CATEGORIES)}{$CATEGORIES}{/if} |
---|
142 | {if !empty($THUMBNAILS)} |
---|
143 | <ul class="thumbnails" id="thumbnails"> |
---|
144 | {$THUMBNAILS} |
---|
145 | </ul> |
---|
146 | {/if} |
---|
147 | |
---|
148 | {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} |
---|
149 | |
---|
150 | {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if} |
---|
151 | </div>{* <!-- content --> *} |
---|
152 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|