[23437] | 1 | {combine_script id='core.switchbox' load='async' require='jquery' path='themes/default/js/switchbox.js'} |
---|
[2231] | 2 | {$MENUBAR} |
---|
[18712] | 3 | |
---|
[23320] | 4 | |
---|
[18712] | 5 | {if isset($errors) or isset($infos)} |
---|
[19007] | 6 | <div class="content messages{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
[18712] | 7 | {include file='infos_errors.tpl'} |
---|
| 8 | </div> |
---|
| 9 | {/if} |
---|
| 10 | |
---|
[2352] | 11 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} |
---|
[12878] | 12 | <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
[13788] | 13 | <div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}"> |
---|
[8091] | 14 | <ul class="categoryActions"> |
---|
[8774] | 15 | {if !empty($image_orders)} |
---|
[13844] | 16 | <li>{strip}<a id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[24802] | 17 | <span class="pwg-icon pwg-icon-sort"></span><span class="pwg-button-text">{'Sort order'|@translate}</span> |
---|
[12873] | 18 | </a> |
---|
[13865] | 19 | <div id="sortOrderBox" class="switchBox"> |
---|
[13683] | 20 | <div class="switchBoxTitle">{'Sort order'|@translate}</div> |
---|
[13115] | 21 | {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
[12873] | 22 | {if $image_order.SELECTED} |
---|
[13773] | 23 | <span>✔ </span>{$image_order.DISPLAY} |
---|
[12873] | 24 | {else} |
---|
[13773] | 25 | <span style="visibility:hidden">✔ </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a> |
---|
[12873] | 26 | {/if} |
---|
[8091] | 27 | {/foreach} |
---|
[12873] | 28 | </div> |
---|
[23437] | 29 | {footer_script}(SwitchBox=window.SwitchBox||[]).push("#sortOrderLink", "#sortOrderBox");{/footer_script} |
---|
[12873] | 30 | {/strip}</li> |
---|
[8774] | 31 | {/if} |
---|
[12908] | 32 | {if !empty($image_derivatives)} |
---|
[13844] | 33 | <li>{strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[24802] | 34 | <span class="pwg-icon pwg-icon-sizes"></span><span class="pwg-button-text">{'Photo sizes'|@translate}</span> |
---|
[12908] | 35 | </a> |
---|
[13865] | 36 | <div id="derivativeSwitchBox" class="switchBox"> |
---|
[13683] | 37 | <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> |
---|
[13115] | 38 | {foreach from=$image_derivatives item=image_derivative name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
[12908] | 39 | {if $image_derivative.SELECTED} |
---|
[13773] | 40 | <span>✔ </span>{$image_derivative.DISPLAY} |
---|
[12908] | 41 | {else} |
---|
[14180] | 42 | <span style="visibility:hidden">✔ </span><a href="{$image_derivative.URL}" rel="nofollow">{$image_derivative.DISPLAY}</a> |
---|
[12908] | 43 | {/if} |
---|
| 44 | {/foreach} |
---|
| 45 | </div> |
---|
[23437] | 46 | {footer_script}(SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox");{/footer_script} |
---|
[12908] | 47 | {/strip}</li> |
---|
| 48 | {/if} |
---|
| 49 | |
---|
[8091] | 50 | {if isset($favorite)} |
---|
[24802] | 51 | <li id="cmdFavorite"><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
| 52 | <span class="pwg-icon pwg-icon-favorite-del"></span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span> |
---|
[8091] | 53 | </a></li> |
---|
| 54 | {/if} |
---|
| 55 | {if isset($U_CADDIE)} |
---|
[24802] | 56 | <li id="cmdCaddie"><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button"> |
---|
| 57 | <span class="pwg-icon pwg-icon-caddie-add"></span><span class="pwg-button-text">{'Caddie'|@translate}</span> |
---|
[8091] | 58 | </a></li> |
---|
| 59 | {/if} |
---|
| 60 | {if isset($U_EDIT)} |
---|
[24802] | 61 | <li id="cmdEditAlbum"><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button"> |
---|
| 62 | <span class="pwg-icon pwg-icon-category-edit"></span><span class="pwg-button-text">{'Edit'|@translate}</span> |
---|
[8091] | 63 | </a></li> |
---|
| 64 | {/if} |
---|
| 65 | {if isset($U_SEARCH_RULES)} |
---|
| 66 | {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} |
---|
| 67 | <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[24802] | 68 | <span class="pwg-icon pwg-icon-help"></span><span class="pwg-button-text">(?)</span> |
---|
[8091] | 69 | </a></li> |
---|
| 70 | {/if} |
---|
| 71 | {if isset($U_SLIDESHOW)} |
---|
[24802] | 72 | <li id="cmdSlideshow">{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
| 73 | <span class="pwg-icon pwg-icon-slideshow"></span><span class="pwg-button-text">{'slideshow'|@translate}</span> |
---|
[8774] | 74 | </a>{/strip}</li> |
---|
[8091] | 75 | {/if} |
---|
| 76 | {if isset($U_MODE_FLAT)} |
---|
[8774] | 77 | <li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[24802] | 78 | <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] | 79 | </a>{/strip}</li> |
---|
[8091] | 80 | {/if} |
---|
| 81 | {if isset($U_MODE_NORMAL)} |
---|
[8774] | 82 | <li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button"> |
---|
[24802] | 83 | <span class="pwg-icon pwg-icon-category-view-normal"></span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span> |
---|
[8774] | 84 | </a>{/strip}</li> |
---|
[8091] | 85 | {/if} |
---|
| 86 | {if isset($U_MODE_POSTED)} |
---|
[8774] | 87 | <li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[24802] | 88 | <span class="pwg-icon pwg-icon-calendar"></span><span class="pwg-button-text">{'Calendar'|@translate}</span> |
---|
[8774] | 89 | </a>{/strip}</li> |
---|
[8091] | 90 | {/if} |
---|
| 91 | {if isset($U_MODE_CREATED)} |
---|
[8774] | 92 | <li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
[24802] | 93 | <span class="pwg-icon pwg-icon-camera-calendar"></span><span class="pwg-button-text">{'Calendar'|@translate}</span> |
---|
[8774] | 94 | </a>{/strip}</li> |
---|
[8091] | 95 | {/if} |
---|
[23399] | 96 | {if !empty($PLUGIN_INDEX_BUTTONS)}{foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li>{$button}</li>{/foreach}{/if} |
---|
[8091] | 97 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
| 98 | </ul> |
---|
[1059] | 99 | |
---|
[8091] | 100 | <h2>{$TITLE}</h2> |
---|
[1059] | 101 | |
---|
[8091] | 102 | {if isset($chronology_views)} |
---|
| 103 | <div class="calendarViews">{'View'|@translate}: |
---|
[23437] | 104 | <a id="calendarViewSwitchLink" href="#"> |
---|
[20982] | 105 | {foreach from=$chronology_views item=view}{if $view.SELECTED}{$view.CONTENT}{/if}{/foreach} |
---|
[23437] | 106 | </a> |
---|
[20982] | 107 | <div id="calendarViewSwitchBox" class="switchBox"> |
---|
| 108 | {foreach from=$chronology_views item=view name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
| 109 | <span{if !$view.SELECTED} style="visibility:hidden"{/if}>✔ </span><a href="{$view.VALUE}">{$view.CONTENT}</a> |
---|
[8091] | 110 | {/foreach} |
---|
[20982] | 111 | </div> |
---|
[23437] | 112 | {footer_script}(SwitchBox=window.SwitchBox||[]).push("#calendarViewSwitchLink", "#calendarViewSwitchBox");{/footer_script} |
---|
[8091] | 113 | </div> |
---|
| 114 | {/if} |
---|
[1015] | 115 | |
---|
[8401] | 116 | {if isset($chronology.TITLE)} |
---|
[13788] | 117 | <h2 class="calendarTitle">{$chronology.TITLE}</h2> |
---|
[8091] | 118 | {/if} |
---|
[1059] | 119 | |
---|
[8774] | 120 | </div>{* <!-- titrePage --> *} |
---|
[2218] | 121 | |
---|
[2268] | 122 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} |
---|
[2135] | 123 | |
---|
[8401] | 124 | {if !empty($category_search_results)} |
---|
[19302] | 125 | <div class="category_search_results">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
[8401] | 126 | <em><strong> |
---|
| 127 | {foreach from=$category_search_results item=res name=res_loop} |
---|
| 128 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
| 129 | {$res} |
---|
| 130 | {/foreach} |
---|
| 131 | </strong></em> |
---|
[2231] | 132 | </div> |
---|
| 133 | {/if} |
---|
[2135] | 134 | |
---|
[8401] | 135 | {if !empty($tag_search_results)} |
---|
[19302] | 136 | <div class="tag_search_results">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
[8401] | 137 | <em><strong> |
---|
[18636] | 138 | {foreach from=$tag_search_results item=tag name=res_loop} |
---|
| 139 | {if !$smarty.foreach.res_loop.first} — {/if} <a href="{$tag.URL}">{$tag.name}</a> |
---|
[8401] | 140 | {/foreach} |
---|
| 141 | </strong></em> |
---|
[1059] | 142 | </div> |
---|
[2231] | 143 | {/if} |
---|
[1050] | 144 | |
---|
[8401] | 145 | {if isset($FILE_CHRONOLOGY_VIEW)} |
---|
[2231] | 146 | {include file=$FILE_CHRONOLOGY_VIEW} |
---|
| 147 | {/if} |
---|
[1047] | 148 | |
---|
[8401] | 149 | {if !empty($CONTENT_DESCRIPTION)} |
---|
[2231] | 150 | <div class="additional_info"> |
---|
[8401] | 151 | {$CONTENT_DESCRIPTION} |
---|
[2231] | 152 | </div> |
---|
| 153 | {/if} |
---|
[1537] | 154 | |
---|
[23399] | 155 | {if !empty($CONTENT)}{$CONTENT}{/if} |
---|
| 156 | |
---|
[8401] | 157 | {if !empty($CATEGORIES)}{$CATEGORIES}{/if} |
---|
[23399] | 158 | |
---|
[18165] | 159 | {if !empty($cats_navbar)} |
---|
[18950] | 160 | {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar} |
---|
[18165] | 161 | {/if} |
---|
| 162 | |
---|
[8401] | 163 | {if !empty($THUMBNAILS)} |
---|
[20452] | 164 | <div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div> |
---|
[8401] | 165 | <ul class="thumbnails" id="thumbnails"> |
---|
[20161] | 166 | {$THUMBNAILS} |
---|
[8401] | 167 | </ul> |
---|
| 168 | {/if} |
---|
[18165] | 169 | {if !empty($thumb_navbar)} |
---|
[18950] | 170 | {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar} |
---|
[18165] | 171 | {/if} |
---|
[2352] | 172 | |
---|
[8401] | 173 | {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if} |
---|
[8774] | 174 | </div>{* <!-- content --> *} |
---|
[2352] | 175 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|