{* -- By default, check admin login ----------------------------------------- *} {block name="check-auth"} {check_auth role="ADMIN" resource="{block name="check-resource"}{/block}" access="{block name="check-access"}{/block}" login_tpl="/admin/login"} {/block} {block name="no-return-functions"}{/block} {* -- Define some stuff for Smarty ------------------------------------------ *} {config_load file='variables.conf'} {* -- Declare assets directory, relative to template base directory --------- *} {declare_assets directory='assets'} {* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} {default_translation_domain domain='bo.default'} {block name="page-title"}Default Page Title{/block} - {intl l='Thelia Back Office'} {images file='assets/img/favicon.ico'}{/images} {block name="meta"}{/block} {* -- Bootstrap CSS section --------------------------------------------- *} {block name="before-bootstrap-css"}{/block} {stylesheets file='assets/css/styles.css'} {/stylesheets} {block name="after-bootstrap-css"}{/block} {* -- Admin CSS section ------------------------------------------------- *} {block name="before-admin-css"}{/block} {block name="after-admin-css"}{/block} {* Modules css are included here *} {module_include location='head_css'} {* HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries *} {* display top bar only if admin is connected *} {loop name="top-bar-auth" type="auth" role="ADMIN"} {* -- Brand bar section ------------------------------------------------- *} {module_include location='before_topbar'}
{intl l='Version %ver' ver="{$THELIA_VERSION}"}
{module_include location='inside_topbar'}
{module_include location='after_topbar'} {* -- Top menu section -------------------------------------------------- *} {module_include location='before_top_menu'} {module_include location='after_top_menu'} {/loop} {* A basic brandbar is displayed if user is not connected *} {elseloop rel="top-bar-auth"}
{images file='assets/img/logo-thelia-34px.png'}{intl l='Thelia, the open source e-commerce solution'}{/images}
{/elseloop} {* -- Main page content section ----------------------------------------- *} {block name="main-content"}Put here the content of the template{/block} {* -- Footer section ---------------------------------------------------- *} {module_include location='before_footer'}
{module_include location='after_footer'} {* -- Javascript section ------------------------------------------------ *} {block name="before-javascript-include"}{/block} {block name="after-javascript-include"}{/block} {javascripts file='assets/js/bootstrap/bootstrap.js'} {/javascripts} {block name="javascript-initialization"}{/block} {* Modules scripts are included now *} {module_include location='footer_js'} {block name="javascript-last-call"}{/block}