{combine_script id='core.switchbox' load='footer' require='jquery' path='themes/default/js/switchbox.js'} {$MENUBAR} {if isset($errors) or isset($infos)}
{include file='infos_errors.tpl'}
{/if} {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}

{$TITLE}

{if isset($chronology_views)}
{'View'|@translate}: {foreach from=$chronology_views item=view}{if $view.SELECTED}{$view.CONTENT}{/if}{/foreach}
{foreach from=$chronology_views item=view name=loop}{if !$smarty.foreach.loop.first}
{/if} {$view.CONTENT} {/foreach}
{footer_script require='jquery'}{literal} function toggleCalendarViewsBox() { var elt = jQuery("#calendarViewSwitchBox") , ePos = jQuery("#calendarViewSwitchLink"); elt.css("left", Math.min( ePos.offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) .css("top", ePos.offset().top + ePos.outerHeight(true)) .toggle(); }; jQuery("#calendarViewSwitchBox").on("mouseleave", function() { jQuery(this).hide(); }); {/literal}{/footer_script}
{/if} {if isset($chronology.TITLE)}

{$chronology.TITLE}

{/if}
{* *} {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} {if !empty($category_search_results)}
{'Album results for'|@translate} {$QUERY_SEARCH} : {foreach from=$category_search_results item=res name=res_loop} {if !$smarty.foreach.res_loop.first} — {/if} {$res} {/foreach}
{/if} {if !empty($tag_search_results)}
{'Tag results for'|@translate} {$QUERY_SEARCH} : {foreach from=$tag_search_results item=tag name=res_loop} {if !$smarty.foreach.res_loop.first} — {/if} {$tag.name} {/foreach}
{/if} {if isset($FILE_CHRONOLOGY_VIEW)} {include file=$FILE_CHRONOLOGY_VIEW} {/if} {if !empty($CONTENT_DESCRIPTION)}
{$CONTENT_DESCRIPTION}
{/if} {if !empty($CONTENT)}{$CONTENT}{/if} {if !empty($CATEGORIES)}{$CATEGORIES}{/if} {if !empty($cats_navbar)} {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar} {/if} {if !empty($THUMBNAILS)}
{/if} {if !empty($thumb_navbar)} {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar} {/if} {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if}
{* *} {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}