You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

145 lines
7.4 KiB

{* $Id$ *}<!DOCTYPE html>
<html lang="{if !empty($pageLang)}{$pageLang}{else}{$prefs.language}{/if}"{if !empty($page_id)} id="page_{$page_id}"{/if}>
<head>
{include file='header.tpl'}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body{html_body_attributes}>
{$cookie_consent_html}
{include file="layout_fullscreen_check.tpl"}
{if $prefs.feature_ajax eq 'y'}
{include file='tiki-ajax_header.tpl'}
{/if}
<div class="container{if isset($smarty.session.fullscreen) && $smarty.session.fullscreen eq 'y'}-fluid{/if} container-std">
{if !isset($smarty.session.fullscreen) || $smarty.session.fullscreen ne 'y'}
<div class="row">
<header class="page-header w-100 navbar-{$navbar_color_variant}-parent bg-{$navbar_color_variant}-parent" id="page-header">
{modulelist zone=top class="top_modules d-flex justify-content-between navbar-{$navbar_color_variant}-parent bg-{$navbar_color_variant}-parent"}
</header>
</div>
{/if}
<div class="row row-middle" id="row-middle">
{modulelist zone=topbar class="topbar_modules d-flex justify-content-between topbar navbar-{$navbar_color_variant} bg-{$navbar_color_variant} w-100 mb-sm"}
{if (zone_is_empty('left') or $prefs.feature_left_column eq 'n') and (zone_is_empty('right') or $prefs.feature_right_column eq 'n')}
<div class="col col1 col-md-12 pb-4" id="col1">
{if $prefs.module_zones_pagetop eq 'fixed' or ($prefs.module_zones_pagetop ne 'n' && ! zone_is_empty('pagetop'))}
{modulelist zone=pagetop}
{/if}
{feedback}
{block name=quicknav}{/block}
{block name=title}{/block}
{block name=navigation}{/block}
{block name=content}{/block}
{if $prefs.module_zones_pagebottom eq 'fixed' or ($prefs.module_zones_pagebottom ne 'n' && ! zone_is_empty('pagebottom'))}
{modulelist zone=pagebottom class='mt-3'}
{/if}
</div>
{elseif zone_is_empty('left') or $prefs.feature_left_column eq 'n'}
{if $prefs.feature_right_column eq 'user'}
<div class="col-md-12 side-col-toggle-container justify-content-end">
{$icon_name = (not empty($smarty.cookies.hide_zone_right)) ? 'toggle-left' : 'toggle-right'}
{icon name=$icon_name class='toggle_zone right' href='#' title='{tr}Toggle right modules{/tr}'}
</div>
{/if}
<div class="d-flex w-100 flex-row row flex-wrap gx-4">
<div class="col col1 col-md-12 col-lg-9 {if $prefs.feature_fixed_width neq 'y'}col-xl-10{/if} pb-4" id="col1">
{if $prefs.module_zones_pagetop eq 'fixed' or ($prefs.module_zones_pagetop ne 'n' && ! zone_is_empty('pagetop'))}
{modulelist zone=pagetop}
{/if}
{feedback}
{block name=quicknav}{/block}
{block name=title}{/block}
{block name=navigation}{/block}
{block name=content}{/block}
{if $prefs.module_zones_pagebottom eq 'fixed' or ($prefs.module_zones_pagebottom ne 'n' && ! zone_is_empty('pagebottom'))}
{modulelist zone=pagebottom class='mt-3'}
{/if}
</div>
<div class="col col3 col-md-12 col-lg-3 {if $prefs.feature_fixed_width neq 'y'}col-xl-2{/if}" id="col3">
{modulelist zone=right}
</div>
</div>
{elseif zone_is_empty('right') or $prefs.feature_right_column eq 'n'}
{if $prefs.feature_left_column eq 'user'}
<div class="col-md-12 side-col-toggle-container justify-content-start">
{$icon_name = (not empty($smarty.cookies.hide_zone_left)) ? 'toggle-right' : 'toggle-left'}
{icon name=$icon_name class='toggle_zone left' href='#' title='{tr}Toggle left modules{/tr}'}
</div>
{/if}
<div class="col col1 col-md-12 col-lg-9 {if $prefs.feature_fixed_width neq 'y'}col-xl-10{/if} order-md-1 order-lg-2 pb-4" id="col1">
{if $prefs.module_zones_pagetop eq 'fixed' or ($prefs.module_zones_pagetop ne 'n' && ! zone_is_empty('pagetop'))}
{modulelist zone=pagetop}
{/if}
{feedback}
{block name=quicknav}{/block}
{block name=title}{/block}
{block name=navigation}{/block}
{block name=content}{/block}
{if $prefs.module_zones_pagebottom eq 'fixed' or ($prefs.module_zones_pagebottom ne 'n' && ! zone_is_empty('pagebottom'))}
{modulelist zone=pagebottom class='mt-3'}
{/if}
</div>
<div class="col col2 col-md-12 col-lg-3 {if $prefs.feature_fixed_width neq 'y'}col-xl-2{/if} order-sm-2 order-md-2 order-lg-1" id="col2">
{modulelist zone=left}
</div>
{else}
<div class="col-sm-12 side-col-toggle-container d-flex">
{if $prefs.feature_left_column eq 'user'}
<div class="text-start side-col-toggle flex-fill">
{$icon_name = (not empty($smarty.cookies.hide_zone_left)) ? 'toggle-right' : 'toggle-left'}
{icon name=$icon_name class='toggle_zone left' href='#' title='{tr}Toggle left modules{/tr}'}
</div>
{/if}
{if $prefs.feature_right_column eq 'user'}
<div class="text-end side-col-toggle flex-fill">
{$icon_name = (not empty($smarty.cookies.hide_zone_right)) ? 'toggle-left' : 'toggle-right'}
{icon name=$icon_name class='toggle_zone right' href='#' title='{tr}Toggle right modules{/tr}'}
</div>
{/if}
</div>
<div class="col col1 col-sm-12 col-lg-8 order-xs-1 order-lg-2 pb-4" id="col1">
{if $prefs.module_zones_pagetop eq 'fixed' or ($prefs.module_zones_pagetop ne 'n' && ! zone_is_empty('pagetop'))}
{modulelist zone=pagetop}
{/if}
{feedback}
{block name=quicknav}{/block}
{block name=title}{/block}
{block name=navigation}{/block}
{block name=content}{/block}
{if $prefs.module_zones_pagebottom eq 'fixed' or ($prefs.module_zones_pagebottom ne 'n' && ! zone_is_empty('pagebottom'))}
{modulelist zone=pagebottom class='mt-3'}
{/if}
</div>
<div class="col col2 col-sm-6 col-lg-2 order-md-2 order-lg-1" id="col2">
{modulelist zone=left}
</div>
<div class="col col3 col-sm-6 col-lg-2 order-md-3" id="col3">
{modulelist zone=right}
</div>
{/if}
</div>
{if !isset($smarty.session.fullscreen) || $smarty.session.fullscreen ne 'y'}
<footer class="row footer main-footer" id="footer">
<div class="footer_liner w-100">
{modulelist zone=bottom class='bottom_modules p-3 mx-0'}
</div>
</footer>
{/if}
</div>
{include file='footer.tpl'}
{*try to load cache when logged in*}
{if (isset($pagespwa))}
{include file='../../../templates/pwa/pwa.tpl'}
{/if}
</body>
</html>
{if $prefs.feature_debug_console eq 'y' and not empty($smarty.request.show_smarty_debug)}
{debug}
{/if}