{* -- By default, check admin login ----------------------------------------- *} {block name="check-auth"} {check_auth role="ADMIN" resource="{block name="check-resource"}{/block}" module="{block name="check-module"}{/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'} {block name="meta"}{/block} {* -- Bootstrap CSS section --------------------------------------------- *} {block name="before-bootstrap-css"}{/block} {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 *} {hook name="main.head-css" location="head_css" } {* HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries *}
{* -- Main page content section ----------------------------------------- *} {hook name="main.before-content" location="before_content"} {images file='assets/img/logo-dark.png'} {/images}

{block name="main-title"}{intl l="Welcome to Thelia administration !"}{/block}

{loop type="lang" name="ui-lang" backend_context="1"} {$TITLE} {/loop}

{block name="main-content"}Put here the content of the template{/block}
{hook name="main.after-content" location="after_content"}
{hook name="main.before-footer" location="before_footer" } {hook name="main.after-footer" 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 *} {hook name='main.footer-js' location="footer_js"} {block name="javascript-last-call"}{/block}