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