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