From de4bc540e44a9ee85901ea3d97bbd012df73fde5 Mon Sep 17 00:00:00 2001 From: TheCoreDev Date: Wed, 9 Sep 2020 12:48:06 +0200 Subject: [PATCH] =?UTF-8?q?Suprresion=20du=20logo=20Saint-James=20dans=20l?= =?UTF-8?q?a=20banni=C3=A8re=20+=20modif=20du=20n=C2=B0=20de=20t=C3=A9l?= =?UTF-8?q?=C3=A9phone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/frontOffice/lematelot/layout.tpl | 606 ++++++++++----------- 1 file changed, 303 insertions(+), 303 deletions(-) diff --git a/templates/frontOffice/lematelot/layout.tpl b/templates/frontOffice/lematelot/layout.tpl index 5dd5ef0e..b9f3bf08 100644 --- a/templates/frontOffice/lematelot/layout.tpl +++ b/templates/frontOffice/lematelot/layout.tpl @@ -1,303 +1,303 @@ - - -{* Declare assets directory, relative to template base directory *} -{declare_assets directory='assets/dist'} -{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} -{default_translation_domain domain='fo.lematelot'} - -{* -- Define some stuff for Smarty ------------------------------------------ *} -{config_load file='variables.conf'} -{block name="init"}{/block} -{block name="no-return-functions"}{/block} -{assign var="store_name" value={config key="store_name"}} -{assign var="store_description" value={config key="store_description"}} -{assign var="shop" value={config key="shop"}} -{assign var="lang_code" value={lang attr="code"}} -{assign var="lang_locale" value={lang attr="locale"}} -{if not $store_name}{assign var="store_name" value={intl l='Thelia V2'}}{/if} -{if not $store_description}{assign var="store_description" value={$store_name}}{/if} - -{* paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither *} - - - - - - {hook name="main.head-top"} - {* Test if javascript is enabled *} - - - - - {* Page Title *} - {block name="page-title"}{strip}{if $page_title}{$page_title}{elseif $breadcrumbs}{foreach from=$breadcrumbs|array_reverse item=breadcrumb}{$breadcrumb.title|unescape} - {/foreach}{$store_name}{else}{$store_name}{/if} {$shop} {$store_description}{/strip}{/block} - - {* Meta Tags *} - - - - {block name="meta"} - - {/block} - - {stylesheets file='assets/dist/css/thelia.min.css'} - - {/stylesheets} - {* - If you want to generate the CSS assets on the fly, just replace the stylesheet inclusion above by the following. - Then, in your back-office, go to Configuration -> System Variables and set process_assets to 1. - Now, when you're accessing the front office in developpement mode (index_dev.php) the CSS is recompiled when a - change in the source files is detected. - - See http://doc.thelia.net/en/documentation/templates/assets.html#activate-automatic-assets-generation for details. - - {stylesheets file='assets/src/less/thelia.less' filters='less'} - - {/stylesheets} - - *} - - {hook name="main.stylesheet"} - - {block name="stylesheet"}{/block} - - {* Favicon *} - - - - {* Feeds *} - - - - {block name="feeds"}{/block} - - {* HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries *} - - - {hook name="main.head-bottom"} - - - {hook name="main.body-top"} - - - {intl l="Skip to content"} - -
- -
- {hook name="main.header-top"} - - - - - {hook name="main.header-bottom"} -
- -
-
- {hook name="main.content-top"} - {block name="breadcrumb"}{include file="misc/breadcrumb.tpl"}{/block} -
{block name="main-content"}{/block}
- {hook name="main.content-bottom"} -
-
- - - -
- - {block name="before-javascript-include"}{/block} - - - - - - {javascripts file="assets/dist/js/vendors/jquery.min.js"} - - {/javascripts} - - - {* do no try to load messages_en, as this file does not exists *} - {if $lang_code != 'en'} - - {/if} - - - {javascripts file="assets/dist/js/vendors/bootstrap.min.js"} - - {/javascripts} - - {javascripts file="assets/dist/js/vendors/bootbox.js"} - - {/javascripts} - - {hook name="main.after-javascript-include"} - - {block name="after-javascript-include"}{/block} - - {hook name="main.javascript-initialization"} - - {block name="javascript-initialization"}{/block} - - - - - - - {hook name="main.body-bottom"} - - + + +{* Declare assets directory, relative to template base directory *} +{declare_assets directory='assets/dist'} +{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} +{default_translation_domain domain='fo.lematelot'} + +{* -- Define some stuff for Smarty ------------------------------------------ *} +{config_load file='variables.conf'} +{block name="init"}{/block} +{block name="no-return-functions"}{/block} +{assign var="store_name" value={config key="store_name"}} +{assign var="store_description" value={config key="store_description"}} +{assign var="shop" value={config key="shop"}} +{assign var="lang_code" value={lang attr="code"}} +{assign var="lang_locale" value={lang attr="locale"}} +{if not $store_name}{assign var="store_name" value={intl l='Thelia V2'}}{/if} +{if not $store_description}{assign var="store_description" value={$store_name}}{/if} + +{* paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither *} + + + + + + {hook name="main.head-top"} + {* Test if javascript is enabled *} + + + + + {* Page Title *} + {block name="page-title"}{strip}{if $page_title}{$page_title}{elseif $breadcrumbs}{foreach from=$breadcrumbs|array_reverse item=breadcrumb}{$breadcrumb.title|unescape} - {/foreach}{$store_name}{else}{$store_name}{/if} {$shop} {$store_description}{/strip}{/block} + + {* Meta Tags *} + + + + {block name="meta"} + + {/block} + + {stylesheets file='assets/dist/css/thelia.min.css'} + + {/stylesheets} + {* + If you want to generate the CSS assets on the fly, just replace the stylesheet inclusion above by the following. + Then, in your back-office, go to Configuration -> System Variables and set process_assets to 1. + Now, when you're accessing the front office in developpement mode (index_dev.php) the CSS is recompiled when a + change in the source files is detected. + + See http://doc.thelia.net/en/documentation/templates/assets.html#activate-automatic-assets-generation for details. + + {stylesheets file='assets/src/less/thelia.less' filters='less'} + + {/stylesheets} + + *} + + {hook name="main.stylesheet"} + + {block name="stylesheet"}{/block} + + {* Favicon *} + + + + {* Feeds *} + + + + {block name="feeds"}{/block} + + {* HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries *} + + + {hook name="main.head-bottom"} + + + {hook name="main.body-top"} + + + {intl l="Skip to content"} + +
+ +
+ {hook name="main.header-top"} + + + + + {hook name="main.header-bottom"} +
+ +
+
+ {hook name="main.content-top"} + {block name="breadcrumb"}{include file="misc/breadcrumb.tpl"}{/block} +
{block name="main-content"}{/block}
+ {hook name="main.content-bottom"} +
+
+ + + +
+ + {block name="before-javascript-include"}{/block} + + + + + + {javascripts file="assets/dist/js/vendors/jquery.min.js"} + + {/javascripts} + + + {* do no try to load messages_en, as this file does not exists *} + {if $lang_code != 'en'} + + {/if} + + + {javascripts file="assets/dist/js/vendors/bootstrap.min.js"} + + {/javascripts} + + {javascripts file="assets/dist/js/vendors/bootbox.js"} + + {/javascripts} + + {hook name="main.after-javascript-include"} + + {block name="after-javascript-include"}{/block} + + {hook name="main.javascript-initialization"} + + {block name="javascript-initialization"}{/block} + + + + + + + {hook name="main.body-bottom"} + +