[18811] | 1 | {if ($Slim.style_slim)!=1} |
---|
| 2 | {$MENUBAR} |
---|
| 3 | {/if} |
---|
[19205] | 4 | |
---|
[28392] | 5 | |
---|
[18811] | 6 | <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
[19205] | 7 | |
---|
[18811] | 8 | {if ($Slim.style_slim)==1} |
---|
[19205] | 9 | {if !empty($THUMBNAILS)} |
---|
| 10 | <div id="infoBlock"> |
---|
[28556] | 11 | <div class="titrePage slim"> |
---|
| 12 | <a href="{$U_HOME}"> |
---|
| 13 | <div id="home"></div> |
---|
| 14 | </a> |
---|
[19205] | 15 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
| 16 | <h2> |
---|
| 17 | {$cat_name} |
---|
| 18 | </h2> |
---|
| 19 | {/if} |
---|
[28556] | 20 | </div> |
---|
| 21 | </div> |
---|
[18811] | 22 | {else} |
---|
| 23 | |
---|
[19205] | 24 | <div id="infoBlock"> |
---|
[25997] | 25 | <div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}"> |
---|
[19205] | 26 | |
---|
[25997] | 27 | <ul class="categoryActions"> |
---|
[19205] | 28 | {if !empty($image_orders)} |
---|
| 29 | <li>{strip}<a id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
| 30 | <span class="pwg-icon pwg-icon-sort"> </span><span class="pwg-button-text">{'Sort order'|@translate}</span> |
---|
| 31 | </a> |
---|
| 32 | <div id="sortOrderBox" class="switchBox"> |
---|
| 33 | <div class="switchBoxTitle">{'Sort order'|@translate}</div> |
---|
| 34 | {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
| 35 | {if $image_order.SELECTED} |
---|
| 36 | <span>✔ </span>{$image_order.DISPLAY} |
---|
| 37 | {else} |
---|
| 38 | <span style="visibility:hidden">✔ </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a> |
---|
| 39 | {/if} |
---|
| 40 | {/foreach} |
---|
| 41 | </div> |
---|
| 42 | {footer_script require='jquery'}{literal} |
---|
| 43 | jQuery("#sortOrderLink").click(function() { |
---|
| 44 | var elt = jQuery("#sortOrderBox"); |
---|
| 45 | elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) |
---|
| 46 | .css("top", jQuery(this).offset().top + jQuery(this).outerHeight(true)) |
---|
| 47 | .toggle(); |
---|
| 48 | }); |
---|
| 49 | jQuery("#sortOrderBox").on("mouseleave", function() { |
---|
| 50 | jQuery(this).hide(); |
---|
| 51 | }); |
---|
| 52 | {/literal}{/footer_script} |
---|
| 53 | {/strip}</li> |
---|
| 54 | {/if} |
---|
| 55 | |
---|
| 56 | {if isset($favorite)} |
---|
| 57 | <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
| 58 | <span class="pwg-icon pwg-icon-favorite-del"> </span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span> |
---|
| 59 | </a></li> |
---|
| 60 | {/if} |
---|
| 61 | {if isset($U_CADDIE)} |
---|
| 62 | <li><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button"> |
---|
| 63 | <span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'Caddie'|@translate}</span> |
---|
| 64 | </a></li> |
---|
| 65 | {/if} |
---|
| 66 | {if isset($U_EDIT)} |
---|
| 67 | <li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button"> |
---|
| 68 | <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'Edit'|@translate}</span> |
---|
| 69 | </a></li> |
---|
| 70 | {/if} |
---|
| 71 | {if isset($U_SEARCH_RULES)} |
---|
| 72 | {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} |
---|
| 73 | <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
| 74 | <span class="pwg-icon pwg-icon-help"> </span><span class="pwg-button-text">(?)</span> |
---|
| 75 | </a></li> |
---|
| 76 | {/if} |
---|
| 77 | {if isset($U_SLIDESHOW)} |
---|
| 78 | <li>{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
| 79 | <span class="pwg-icon pwg-icon-slideshow"> </span><span class="pwg-button-text">{'slideshow'|@translate}</span> |
---|
| 80 | </a>{/strip}</li> |
---|
| 81 | {/if} |
---|
| 82 | {if isset($U_MODE_FLAT)} |
---|
| 83 | <li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
| 84 | <span class="pwg-icon pwg-icon-category-view-flat"> </span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span> |
---|
| 85 | </a>{/strip}</li> |
---|
| 86 | {/if} |
---|
| 87 | {if isset($U_MODE_NORMAL)} |
---|
| 88 | <li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button"> |
---|
| 89 | <span class="pwg-icon pwg-icon-category-view-normal"> </span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span> |
---|
| 90 | </a>{/strip}</li> |
---|
| 91 | {/if} |
---|
| 92 | {if isset($U_MODE_POSTED)} |
---|
| 93 | <li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
| 94 | <span class="pwg-icon pwg-icon-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span> |
---|
| 95 | </a>{/strip}</li> |
---|
| 96 | {/if} |
---|
| 97 | {if isset($U_MODE_CREATED)} |
---|
| 98 | <li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> |
---|
| 99 | <span class="pwg-icon pwg-icon-camera-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span> |
---|
| 100 | </a>{/strip}</li> |
---|
| 101 | {/if} |
---|
| 102 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
| 103 | </ul> |
---|
| 104 | <h2>{$TITLE}</h2> |
---|
| 105 | {if isset($chronology_views)} |
---|
| 106 | <div class="calendarViews">{'View'|@translate}: |
---|
| 107 | <select onchange="document.location = this.options[this.selectedIndex].value;"> |
---|
| 108 | {foreach from=$chronology_views item=view} |
---|
| 109 | <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option> |
---|
[18811] | 110 | {/foreach} |
---|
[19205] | 111 | </select> |
---|
| 112 | </div> |
---|
| 113 | {/if} |
---|
[18811] | 114 | |
---|
[19205] | 115 | {if isset($chronology.TITLE)} |
---|
| 116 | <h2 class="calendarTitle">{$chronology.TITLE}</h2> |
---|
| 117 | {/if} |
---|
[18811] | 118 | {/if} |
---|
| 119 | </div>{* <!-- titrePage --> *} |
---|
| 120 | |
---|
| 121 | |
---|
| 122 | </div>{* <!-- infoBlock --> *} |
---|
| 123 | |
---|
| 124 | |
---|
| 125 | {if isset($errors) or not empty($infos)} |
---|
| 126 | {include file='infos_errors.tpl'} |
---|
| 127 | {/if} |
---|
| 128 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} |
---|
| 129 | |
---|
| 130 | {if !empty($category_search_results)} |
---|
| 131 | <div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
| 132 | <em><strong> |
---|
| 133 | {foreach from=$category_search_results item=res name=res_loop} |
---|
| 134 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
| 135 | {$res} |
---|
| 136 | {/foreach} |
---|
| 137 | </strong></em> |
---|
| 138 | </div> |
---|
| 139 | {/if} |
---|
| 140 | |
---|
| 141 | {if !empty($tag_search_results)} |
---|
| 142 | <div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
| 143 | <em><strong> |
---|
| 144 | {foreach from=$tag_search_results item=res name=res_loop} |
---|
| 145 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
| 146 | {$res} |
---|
| 147 | {/foreach} |
---|
| 148 | </strong></em> |
---|
| 149 | </div> |
---|
| 150 | {/if} |
---|
| 151 | |
---|
| 152 | {if isset($FILE_CHRONOLOGY_VIEW)} |
---|
| 153 | {include file=$FILE_CHRONOLOGY_VIEW} |
---|
| 154 | {/if} |
---|
| 155 | |
---|
| 156 | {if !empty($CONTENT_DESCRIPTION)} |
---|
| 157 | <div class="additional_info"> |
---|
| 158 | {$CONTENT_DESCRIPTION} |
---|
| 159 | </div> |
---|
| 160 | {/if} |
---|
| 161 | |
---|
[28012] | 162 | {if !empty($CONTENT)}{$CONTENT}{/if} |
---|
[18811] | 163 | |
---|
| 164 | |
---|
| 165 | {if !empty($THUMBNAILS)} |
---|
| 166 | {$THUMBNAILS} |
---|
[25997] | 167 | |
---|
[28392] | 168 | |
---|
[18811] | 169 | {/if} |
---|
| 170 | |
---|
| 171 | {if empty($THUMBNAILS)} |
---|
| 172 | {if !empty($CATEGORIES)} |
---|
| 173 | {$CATEGORIES} |
---|
[25997] | 174 | |
---|
[28392] | 175 | |
---|
[18811] | 176 | {/if} |
---|
| 177 | {/if} |
---|
| 178 | |
---|
| 179 | {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if} |
---|
| 180 | </div>{* <!-- content --> *} |
---|
| 181 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|
| 182 | |
---|
| 183 | |
---|
| 184 | |
---|