[2231] | 1 | {$MENUBAR} |
---|
[18712] | 2 | |
---|
| 3 | {if isset($errors) or isset($infos)} |
---|
[19007] | 4 | <div class="content messages{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
[18712] | 5 | {include file='infos_errors.tpl'} |
---|
| 6 | </div> |
---|
| 7 | {/if} |
---|
| 8 | |
---|
[2352] | 9 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} |
---|
[12878] | 10 | <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
[13788] | 11 | <div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}"> |
---|
[8091] | 12 | <ul class="categoryActions"> |
---|
[8774] | 13 | {if !empty($image_orders)} |
---|
[13844] | 14 | <li>{strip}<a id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[12873] | 15 | <span class="pwg-icon pwg-icon-sort"> </span><span class="pwg-button-text">{'Sort order'|@translate}</span> |
---|
| 16 | </a> |
---|
[13865] | 17 | <div id="sortOrderBox" class="switchBox"> |
---|
[13683] | 18 | <div class="switchBoxTitle">{'Sort order'|@translate}</div> |
---|
[13115] | 19 | {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
[12873] | 20 | {if $image_order.SELECTED} |
---|
[13773] | 21 | <span>✔ </span>{$image_order.DISPLAY} |
---|
[12873] | 22 | {else} |
---|
[13773] | 23 | <span style="visibility:hidden">✔ </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a> |
---|
[12873] | 24 | {/if} |
---|
[8091] | 25 | {/foreach} |
---|
[12873] | 26 | </div> |
---|
[13872] | 27 | {footer_script require='jquery'}{literal} |
---|
[13870] | 28 | jQuery("#sortOrderLink").click(function() { |
---|
| 29 | var elt = jQuery("#sortOrderBox"); |
---|
| 30 | elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) |
---|
| 31 | .css("top", jQuery(this).offset().top + jQuery(this).outerHeight(true)) |
---|
[13865] | 32 | .toggle(); |
---|
[13844] | 33 | }); |
---|
[13870] | 34 | jQuery("#sortOrderBox").on("mouseleave", function() { |
---|
| 35 | jQuery(this).hide(); |
---|
[13865] | 36 | }); |
---|
[12873] | 37 | {/literal}{/footer_script} |
---|
| 38 | {/strip}</li> |
---|
[8774] | 39 | {/if} |
---|
[12908] | 40 | {if !empty($image_derivatives)} |
---|
[13844] | 41 | <li>{strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[13068] | 42 | <span class="pwg-icon pwg-icon-sizes"> </span><span class="pwg-button-text">{'Photo sizes'|@translate}</span> |
---|
[12908] | 43 | </a> |
---|
[13865] | 44 | <div id="derivativeSwitchBox" class="switchBox"> |
---|
[13683] | 45 | <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> |
---|
[13115] | 46 | {foreach from=$image_derivatives item=image_derivative name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
[12908] | 47 | {if $image_derivative.SELECTED} |
---|
[13773] | 48 | <span>✔ </span>{$image_derivative.DISPLAY} |
---|
[12908] | 49 | {else} |
---|
[14180] | 50 | <span style="visibility:hidden">✔ </span><a href="{$image_derivative.URL}" rel="nofollow">{$image_derivative.DISPLAY}</a> |
---|
[12908] | 51 | {/if} |
---|
| 52 | {/foreach} |
---|
| 53 | </div> |
---|
[13872] | 54 | {footer_script require='jquery'}{literal} |
---|
[13870] | 55 | jQuery("#derivativeSwitchLink").click(function() { |
---|
| 56 | var elt = jQuery("#derivativeSwitchBox"); |
---|
| 57 | elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) |
---|
| 58 | .css("top", jQuery(this).offset().top + jQuery(this).outerHeight(true)) |
---|
[13865] | 59 | .toggle(); |
---|
[13844] | 60 | }); |
---|
[13870] | 61 | jQuery("#derivativeSwitchBox").on("mouseleave", function() { |
---|
| 62 | jQuery(this).hide(); |
---|
[13865] | 63 | }); |
---|
[12908] | 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} |
---|
[23263] | 114 | {foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li>{$button}</li>{/foreach} |
---|
[8091] | 115 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
| 116 | </ul> |
---|
[1059] | 117 | |
---|
[8091] | 118 | <h2>{$TITLE}</h2> |
---|
[1059] | 119 | |
---|
[8091] | 120 | {if isset($chronology_views)} |
---|
| 121 | <div class="calendarViews">{'View'|@translate}: |
---|
[20982] | 122 | <a id="calendarViewSwitchLink" href="javascript:toggleCalendarViewsBox()"> |
---|
| 123 | {foreach from=$chronology_views item=view}{if $view.SELECTED}{$view.CONTENT}{/if}{/foreach} |
---|
| 124 | </a> |
---|
| 125 | <div id="calendarViewSwitchBox" class="switchBox"> |
---|
| 126 | {foreach from=$chronology_views item=view name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
| 127 | <span{if !$view.SELECTED} style="visibility:hidden"{/if}>✔ </span><a href="{$view.VALUE}">{$view.CONTENT}</a> |
---|
[8091] | 128 | {/foreach} |
---|
[20982] | 129 | </div> |
---|
| 130 | {footer_script require='jquery'}{literal} |
---|
| 131 | function toggleCalendarViewsBox() { |
---|
| 132 | var elt = jQuery("#calendarViewSwitchBox") |
---|
| 133 | , ePos = jQuery("#calendarViewSwitchLink"); |
---|
| 134 | elt.css("left", Math.min( ePos.offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) |
---|
| 135 | .css("top", ePos.offset().top + ePos.outerHeight(true)) |
---|
| 136 | .toggle(); |
---|
| 137 | }; |
---|
| 138 | jQuery("#calendarViewSwitchBox").on("mouseleave", function() { |
---|
| 139 | jQuery(this).hide(); |
---|
| 140 | }); |
---|
| 141 | {/literal}{/footer_script} |
---|
[8091] | 142 | </div> |
---|
| 143 | {/if} |
---|
[1015] | 144 | |
---|
[8401] | 145 | {if isset($chronology.TITLE)} |
---|
[13788] | 146 | <h2 class="calendarTitle">{$chronology.TITLE}</h2> |
---|
[8091] | 147 | {/if} |
---|
[1059] | 148 | |
---|
[8774] | 149 | </div>{* <!-- titrePage --> *} |
---|
[2218] | 150 | |
---|
[2268] | 151 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} |
---|
[2135] | 152 | |
---|
[8401] | 153 | {if !empty($category_search_results)} |
---|
[19302] | 154 | <div class="category_search_results">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
[8401] | 155 | <em><strong> |
---|
| 156 | {foreach from=$category_search_results item=res name=res_loop} |
---|
| 157 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
| 158 | {$res} |
---|
| 159 | {/foreach} |
---|
| 160 | </strong></em> |
---|
[2231] | 161 | </div> |
---|
| 162 | {/if} |
---|
[2135] | 163 | |
---|
[8401] | 164 | {if !empty($tag_search_results)} |
---|
[19302] | 165 | <div class="tag_search_results">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
[8401] | 166 | <em><strong> |
---|
[18636] | 167 | {foreach from=$tag_search_results item=tag name=res_loop} |
---|
| 168 | {if !$smarty.foreach.res_loop.first} — {/if} <a href="{$tag.URL}">{$tag.name}</a> |
---|
[8401] | 169 | {/foreach} |
---|
| 170 | </strong></em> |
---|
[1059] | 171 | </div> |
---|
[2231] | 172 | {/if} |
---|
[1050] | 173 | |
---|
[8401] | 174 | {if isset($FILE_CHRONOLOGY_VIEW)} |
---|
[2231] | 175 | {include file=$FILE_CHRONOLOGY_VIEW} |
---|
| 176 | {/if} |
---|
[1047] | 177 | |
---|
[8401] | 178 | {if !empty($CONTENT_DESCRIPTION)} |
---|
[2231] | 179 | <div class="additional_info"> |
---|
[8401] | 180 | {$CONTENT_DESCRIPTION} |
---|
[2231] | 181 | </div> |
---|
| 182 | {/if} |
---|
[1537] | 183 | |
---|
[8401] | 184 | {if !empty($CATEGORIES)}{$CATEGORIES}{/if} |
---|
[18165] | 185 | {if !empty($cats_navbar)} |
---|
[18950] | 186 | {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar} |
---|
[18165] | 187 | {/if} |
---|
| 188 | |
---|
[8401] | 189 | {if !empty($THUMBNAILS)} |
---|
[20452] | 190 | <div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div> |
---|
[8401] | 191 | <ul class="thumbnails" id="thumbnails"> |
---|
[20161] | 192 | {$THUMBNAILS} |
---|
[8401] | 193 | </ul> |
---|
| 194 | {/if} |
---|
[18165] | 195 | {if !empty($thumb_navbar)} |
---|
[18950] | 196 | {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar} |
---|
[18165] | 197 | {/if} |
---|
[2352] | 198 | |
---|
[8401] | 199 | {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if} |
---|
[8774] | 200 | </div>{* <!-- content --> *} |
---|
[2352] | 201 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|