{* -- By default, check admin login ----------------------------------------- *} {block name="check-auth"} {check_auth roles="ADMIN" permissions="{block name="check-permissions"}{/block}" login_tpl="/admin/login"} {/block} {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/less/*' filters='less,cssembed'} {/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'} {* display top bar only if admin is connected *} {loop name="top-bar-auth" type="auth" roles="ADMIN"} {* -- Brand bar section ------------------------------------------------- *} {module_include location='before_topbar'}
{intl l='Version %ver' ver="{$THELIA_VERSION}"}
{module_include location='inside_topbar'}
{intl l="View shop"}
{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, solution e-commerce libre'}{/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} {javascripts file='assets/js/jquery.min.js'} {/javascripts} {block name="after-javascript-include"}{/block} {block name="javascript-initialization"}{/block} {* Modules scripts are included now *} {module_include location='footer_js'} {javascripts file='assets/js/bootstrap/bootstrap.js'} {/javascripts}