[2231] | 1 | {$MENUBAR} |
---|
[2352] | 2 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} |
---|
[12878] | 3 | <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
[8091] | 4 | <div class="titrePage"> |
---|
| 5 | <ul class="categoryActions"> |
---|
[8774] | 6 | {if !empty($image_orders)} |
---|
[12873] | 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> |
---|
[13736] | 10 | <div id="sortOrderBox" class="switchBox" style="display:none; text-align:left" onclick="toggleSortOrderBox()" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||toggleSortOrderBox(1)"> |
---|
[13683] | 11 | <div class="switchBoxTitle">{'Sort order'|@translate}</div> |
---|
[13115] | 12 | {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
[12873] | 13 | {if $image_order.SELECTED} |
---|
[13729] | 14 | <span class="switchCheck">✔ </span><span class="switchSelected">{$image_order.DISPLAY}</span> |
---|
[12873] | 15 | {else} |
---|
[13729] | 16 | <a href="{$image_order.URL}" class="switchUnselected" rel="nofollow">{$image_order.DISPLAY}</a> |
---|
[12873] | 17 | {/if} |
---|
[8091] | 18 | {/foreach} |
---|
[12873] | 19 | </div> |
---|
| 20 | {footer_script}{literal} |
---|
[13736] | 21 | function toggleSortOrderBox(forceHide) { |
---|
[12873] | 22 | var elt = document.getElementById("sortOrderBox"), |
---|
| 23 | ePos = document.getElementById("sortOrderLink"); |
---|
[13736] | 24 | if (!forceHide && elt.style.display==="none") { |
---|
[12873] | 25 | elt.style.position = "absolute"; |
---|
[13052] | 26 | elt.style.left = ePos.offsetLeft+"px"; |
---|
| 27 | elt.style.top = (ePos.offsetTop+ePos.offsetHeight)+"px"; |
---|
[12873] | 28 | elt.style.display=""; |
---|
| 29 | } |
---|
| 30 | else |
---|
| 31 | elt.style.display="none"; |
---|
| 32 | } |
---|
| 33 | {/literal}{/footer_script} |
---|
| 34 | {/strip}</li> |
---|
[8774] | 35 | {/if} |
---|
[12908] | 36 | |
---|
| 37 | {if !empty($image_derivatives)} |
---|
[13068] | 38 | <li>{strip}<a href="javascript:toggleImageDerivativesBox()" id="derivativeChooseLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
| 39 | <span class="pwg-icon pwg-icon-sizes"> </span><span class="pwg-button-text">{'Photo sizes'|@translate}</span> |
---|
[12908] | 40 | </a> |
---|
[13736] | 41 | <div id="derivativeSwitchBox" class="switchBox" style="display:none; text-align:left" onclick="toggleImageDerivativesBox()" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||toggleImageDerivativesBox(1)"> |
---|
[13683] | 42 | <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> |
---|
[13115] | 43 | {foreach from=$image_derivatives item=image_derivative name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
[12908] | 44 | {if $image_derivative.SELECTED} |
---|
[13729] | 45 | <span class="switchCheck">✔ </span><span class="switchSelected">{$image_derivative.DISPLAY}</span> |
---|
[12908] | 46 | {else} |
---|
[13729] | 47 | <a href="{$image_derivative.URL}" class="switchUnselected" rel="nofollow">{$image_derivative.DISPLAY}</a> |
---|
[12908] | 48 | {/if} |
---|
| 49 | {/foreach} |
---|
| 50 | </div> |
---|
| 51 | {footer_script}{literal} |
---|
[13736] | 52 | function toggleImageDerivativesBox(forceHide) { |
---|
[12908] | 53 | var elt = document.getElementById("derivativeSwitchBox"), |
---|
| 54 | ePos = document.getElementById("derivativeChooseLink"); |
---|
[13736] | 55 | if (!forceHide && elt.style.display==="none") { |
---|
[12908] | 56 | elt.style.position = "absolute"; |
---|
[13052] | 57 | elt.style.left = ePos.offsetLeft+"px"; |
---|
| 58 | elt.style.top = (ePos.offsetTop+ePos.offsetHeight)+"px"; |
---|
[12908] | 59 | elt.style.display=""; |
---|
| 60 | } |
---|
| 61 | else |
---|
| 62 | elt.style.display="none"; |
---|
| 63 | } |
---|
| 64 | {/literal}{/footer_script} |
---|
| 65 | {/strip}</li> |
---|
| 66 | {/if} |
---|
| 67 | |
---|
[8091] | 68 | {if isset($favorite)} |
---|
[8665] | 69 | <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[11938] | 70 | <span class="pwg-icon pwg-icon-favorite-del"> </span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span> |
---|
[8091] | 71 | </a></li> |
---|
| 72 | {/if} |
---|
| 73 | {if isset($U_CADDIE)} |
---|
[12677] | 74 | <li><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button"> |
---|
| 75 | <span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'Caddie'|@translate}</span> |
---|
[8091] | 76 | </a></li> |
---|
| 77 | {/if} |
---|
| 78 | {if isset($U_EDIT)} |
---|
[12677] | 79 | <li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button"> |
---|
| 80 | <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'Edit'|@translate}</span> |
---|
[8091] | 81 | </a></li> |
---|
| 82 | {/if} |
---|
| 83 | {if isset($U_SEARCH_RULES)} |
---|
| 84 | {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} |
---|
| 85 | <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[11938] | 86 | <span class="pwg-icon pwg-icon-help"> </span><span class="pwg-button-text">(?)</span> |
---|
[8091] | 87 | </a></li> |
---|
| 88 | {/if} |
---|
| 89 | {if isset($U_SLIDESHOW)} |
---|
[8774] | 90 | <li>{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[11938] | 91 | <span class="pwg-icon pwg-icon-slideshow"> </span><span class="pwg-button-text">{'slideshow'|@translate}</span> |
---|
[8774] | 92 | </a>{/strip}</li> |
---|
[8091] | 93 | {/if} |
---|
| 94 | {if isset($U_MODE_FLAT)} |
---|
[8774] | 95 | <li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[11938] | 96 | <span class="pwg-icon pwg-icon-category-view-flat"> </span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span> |
---|
[8774] | 97 | </a>{/strip}</li> |
---|
[8091] | 98 | {/if} |
---|
| 99 | {if isset($U_MODE_NORMAL)} |
---|
[8774] | 100 | <li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button"> |
---|
[11938] | 101 | <span class="pwg-icon pwg-icon-category-view-normal"> </span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span> |
---|
[8774] | 102 | </a>{/strip}</li> |
---|
[8091] | 103 | {/if} |
---|
| 104 | {if isset($U_MODE_POSTED)} |
---|
[8774] | 105 | <li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[11938] | 106 | <span class="pwg-icon pwg-icon-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span> |
---|
[8774] | 107 | </a>{/strip}</li> |
---|
[8091] | 108 | {/if} |
---|
| 109 | {if isset($U_MODE_CREATED)} |
---|
[8774] | 110 | <li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[11938] | 111 | <span class="pwg-icon pwg-icon-camera-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span> |
---|
[8774] | 112 | </a>{/strip}</li> |
---|
[8091] | 113 | {/if} |
---|
| 114 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
| 115 | </ul> |
---|
[1059] | 116 | |
---|
[8091] | 117 | <h2>{$TITLE}</h2> |
---|
[1059] | 118 | |
---|
[8091] | 119 | {if isset($chronology_views)} |
---|
| 120 | <div class="calendarViews">{'View'|@translate}: |
---|
| 121 | <select onchange="document.location = this.options[this.selectedIndex].value;"> |
---|
| 122 | {foreach from=$chronology_views item=view} |
---|
| 123 | <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> |
---|
| 124 | {/foreach} |
---|
| 125 | </select> |
---|
| 126 | </div> |
---|
| 127 | {/if} |
---|
[1015] | 128 | |
---|
[8401] | 129 | {if isset($chronology.TITLE)} |
---|
[8091] | 130 | <h2>{$chronology.TITLE}</h2> |
---|
| 131 | {/if} |
---|
[1059] | 132 | |
---|
[8774] | 133 | </div>{* <!-- titrePage --> *} |
---|
[2218] | 134 | |
---|
[13074] | 135 | {if isset($errors) or not empty($infos)} |
---|
[12764] | 136 | {include file='infos_errors.tpl'} |
---|
[13074] | 137 | {/if} |
---|
[2268] | 138 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} |
---|
[2135] | 139 | |
---|
[8401] | 140 | {if !empty($category_search_results)} |
---|
[6951] | 141 | <div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
[8401] | 142 | <em><strong> |
---|
| 143 | {foreach from=$category_search_results item=res name=res_loop} |
---|
| 144 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
| 145 | {$res} |
---|
| 146 | {/foreach} |
---|
| 147 | </strong></em> |
---|
[2231] | 148 | </div> |
---|
| 149 | {/if} |
---|
[2135] | 150 | |
---|
[8401] | 151 | {if !empty($tag_search_results)} |
---|
[2770] | 152 | <div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
[8401] | 153 | <em><strong> |
---|
| 154 | {foreach from=$tag_search_results item=res name=res_loop} |
---|
| 155 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
| 156 | {$res} |
---|
| 157 | {/foreach} |
---|
| 158 | </strong></em> |
---|
[1059] | 159 | </div> |
---|
[2231] | 160 | {/if} |
---|
[1050] | 161 | |
---|
[8401] | 162 | {if isset($FILE_CHRONOLOGY_VIEW)} |
---|
[2231] | 163 | {include file=$FILE_CHRONOLOGY_VIEW} |
---|
| 164 | {/if} |
---|
[1047] | 165 | |
---|
[8401] | 166 | {if !empty($CONTENT_DESCRIPTION)} |
---|
[2231] | 167 | <div class="additional_info"> |
---|
[8401] | 168 | {$CONTENT_DESCRIPTION} |
---|
[2231] | 169 | </div> |
---|
| 170 | {/if} |
---|
[1537] | 171 | |
---|
[8401] | 172 | {if !empty($CATEGORIES)}{$CATEGORIES}{/if} |
---|
| 173 | {if !empty($THUMBNAILS)} |
---|
| 174 | <ul class="thumbnails" id="thumbnails"> |
---|
| 175 | {$THUMBNAILS} |
---|
| 176 | </ul> |
---|
| 177 | {/if} |
---|
[2352] | 178 | |
---|
[8401] | 179 | {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} |
---|
| 180 | |
---|
| 181 | {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if} |
---|
[8774] | 182 | </div>{* <!-- content --> *} |
---|
[2352] | 183 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|