[28523] | 1 | {combine_script id='core.switchbox' load='async' require='jquery' path='themes/default/js/switchbox.js'} |
---|
[28522] | 2 | {$MENUBAR} |
---|
[19210] | 3 | |
---|
[19033] | 4 | |
---|
[28523] | 5 | {if isset($errors) or isset($infos)} |
---|
| 6 | <div class="content messages{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
| 7 | {include file='infos_errors.tpl'} |
---|
| 8 | </div> |
---|
| 9 | {/if} |
---|
[19033] | 10 | |
---|
[28523] | 11 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} |
---|
[19033] | 12 | <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
[28523] | 13 | <div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}"> |
---|
[19033] | 14 | |
---|
| 15 | <h2>{$TITLE}</h2> |
---|
| 16 | |
---|
| 17 | {if isset($chronology_views)} |
---|
| 18 | <div class="calendarViews">{'View'|@translate}: |
---|
[28523] | 19 | <a id="calendarViewSwitchLink" href="#"> |
---|
| 20 | {foreach from=$chronology_views item=view}{if $view.SELECTED}{$view.CONTENT}{/if}{/foreach} |
---|
| 21 | </a> |
---|
| 22 | <div id="calendarViewSwitchBox" class="switchBox"> |
---|
| 23 | {foreach from=$chronology_views item=view name=loop}{if !$smarty.foreach.loop.first}<br>{/if} |
---|
| 24 | <span{if !$view.SELECTED} style="visibility:hidden"{/if}>✔ </span><a href="{$view.VALUE}">{$view.CONTENT}</a> |
---|
[19033] | 25 | {/foreach} |
---|
[28523] | 26 | </div> |
---|
| 27 | {footer_script}(SwitchBox=window.SwitchBox||[]).push("#calendarViewSwitchLink", "#calendarViewSwitchBox");{/footer_script} |
---|
[19033] | 28 | </div> |
---|
| 29 | {/if} |
---|
| 30 | |
---|
| 31 | {if isset($chronology.TITLE)} |
---|
| 32 | <h2 class="calendarTitle">{$chronology.TITLE}</h2> |
---|
| 33 | {/if} |
---|
| 34 | |
---|
| 35 | </div>{* <!-- titrePage --> *} |
---|
| 36 | |
---|
| 37 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} |
---|
| 38 | |
---|
| 39 | {if !empty($category_search_results)} |
---|
[28523] | 40 | <div class="category_search_results">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
[19033] | 41 | <em><strong> |
---|
| 42 | {foreach from=$category_search_results item=res name=res_loop} |
---|
| 43 | {if !$smarty.foreach.res_loop.first} — {/if} |
---|
| 44 | {$res} |
---|
| 45 | {/foreach} |
---|
| 46 | </strong></em> |
---|
| 47 | </div> |
---|
| 48 | {/if} |
---|
| 49 | |
---|
| 50 | {if !empty($tag_search_results)} |
---|
[28523] | 51 | <div class="tag_search_results">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : |
---|
[19033] | 52 | <em><strong> |
---|
[28523] | 53 | {foreach from=$tag_search_results item=tag name=res_loop} |
---|
| 54 | {if !$smarty.foreach.res_loop.first} — {/if} <a href="{$tag.URL}">{$tag.name}</a> |
---|
[19033] | 55 | {/foreach} |
---|
| 56 | </strong></em> |
---|
| 57 | </div> |
---|
| 58 | {/if} |
---|
| 59 | |
---|
| 60 | {if isset($FILE_CHRONOLOGY_VIEW)} |
---|
| 61 | {include file=$FILE_CHRONOLOGY_VIEW} |
---|
| 62 | {/if} |
---|
| 63 | |
---|
| 64 | {if !empty($CONTENT_DESCRIPTION)} |
---|
[28523] | 65 | <div class="additional_info"> |
---|
[19033] | 66 | {$CONTENT_DESCRIPTION} |
---|
| 67 | </div> |
---|
| 68 | {/if} |
---|
| 69 | |
---|
[28523] | 70 | {if !empty($CONTENT)}{$CONTENT}{/if} |
---|
[19033] | 71 | |
---|
[28523] | 72 | {if !empty($CATEGORIES)}{$CATEGORIES}{/if} |
---|
| 73 | |
---|
| 74 | {if !empty($cats_navbar)} |
---|
| 75 | {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar} |
---|
| 76 | {/if} |
---|
| 77 | |
---|
[19033] | 78 | {if !empty($THUMBNAILS)} |
---|
[28523] | 79 | <div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div> |
---|
| 80 | <ul class="thumbnails" id="thumbnails"> |
---|
| 81 | {$THUMBNAILS} |
---|
| 82 | </ul> |
---|
[19033] | 83 | {/if} |
---|
[28523] | 84 | {if !empty($thumb_navbar)} |
---|
| 85 | {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar} |
---|
| 86 | {/if} |
---|
[19033] | 87 | |
---|
| 88 | {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if} |
---|
| 89 | </div>{* <!-- content --> *} |
---|
[28523] | 90 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|