#assign thetheme=theme />
<#assign commonsGlobalThemeCode=thetheme.codeTheme! >
<#assign commonsGlobalThemeVersion=thetheme.themeVersion!>
<#assign themeFrameset=.get_optional_template('../themes/${commonsGlobalThemeCode}/tpl/site/page_frameset.html')>
<#if themeFrameset.exists>
<@themeFrameset.include />
<#else>
class="${mainNavClass!}"#if> role="main">
<#if hasBanner?boolean>
<#assign optMainBanner=.get_optional_template('theme_frameset_main_banner.html')>
<#if optMainBanner.exists><@optMainBanner.include />#if>
#if>
${page_content}
<#if display_last_modified?? && display_last_modified><@cText class='text-right pt-3 pr-5'><@cIcon name='clock' title='' class='main-danger-color' /> #i18n{portal.site.site_property.page.lastModified} ${last_modified!}@cText>#if>
<#if page_id?? && isExtendInstalled?? && isExtendInstalled>
@Extender[${page_id},PAGE,all]@
#if>
${contextinclude_2!}
<#assign optMainContentFooter=.get_optional_template('theme_frameset_content_footer.html')>
<#if optMainContentFooter.exists><@optMainContentFooter.include />#if>
<#-- Add your own Footer Menu Content here with @mainNavItem macro -->
<#assign optMenuFooter=.get_optional_template('theme_frameset_menu_footer.html')>
<#if optMenuFooter.exists><@optMenuFooter.include />#if>
<#-- Template to add js to footer in page_frameset.html theme template -->
<#assign urlDoLogout = dskey('mylutece.security.public_url.mylutece.url.doLogout')!''>
<#if themeJSLinks?? >
<@themeJSLinks />
<#else>
#if>
<#-- Plugins JS includes -->
${plugins_javascript_links!}
<#assign optJsFooter=.get_optional_template('theme_frameset_footer_js.html')>
<#if optJsFooter.exists><@optJsFooter.include />#if>
<#if lutece_user??>
<#assign optUserFooter=.get_optional_template('theme_frameset_footer_user.html')>
<#if optUserFooter.exists><@optUserFooter.include />#if>
#if>
#if>