diff --git a/templates/default/address-update.html b/templates/default/address-update.html index fe45a33be..3dc05d103 100644 --- a/templates/default/address-update.html +++ b/templates/default/address-update.html @@ -4,17 +4,15 @@ {check_auth context="front" roles="CUSTOMER" login_tpl="login"} {/block} +{* Body Class *} {block name="body-class"}page-address{/block} -{block name="breadcrumb"} - +{* Breadcrumb *} +{block name='no-return-functions' append} + {$breadcrumbs = [ + ['name' => {intl l="Account"}, 'link'=>{url path="/account"}], + ['name' => {intl l="Address Update"}, 'link'=>{url path="/address"}] + ]} {/block} {block name="main-content"} diff --git a/templates/default/address.html b/templates/default/address.html index 0a0d09a40..033b5e749 100644 --- a/templates/default/address.html +++ b/templates/default/address.html @@ -4,17 +4,15 @@ {check_auth context="front" roles="CUSTOMER" login_tpl="login"} {/block} +{* Body Class *} {block name="body-class"}page-address{/block} -{block name="breadcrumb"} - +{* Breadcrumb *} +{block name='no-return-functions' append} + {$breadcrumbs = [ + ['name' => {intl l="Account"}, 'link'=>{url path="/account"}], + ['name' => {intl l="Address"}, 'link'=>{url path="/address"}] + ]} {/block} {block name="main-content"} diff --git a/templates/default/cart.html b/templates/default/cart.html index 2f3ae32ce..89859e756 100644 --- a/templates/default/cart.html +++ b/templates/default/cart.html @@ -1,17 +1,15 @@ {extends file="layout.tpl"} -{block name="breadcrumb"} - -{/block} - +{* Body Class *} {block name="body-class"}page-cart{/block} +{* Breadcrumb *} +{block name='no-return-functions' append} + {$breadcrumbs = [ + ['name' => {intl l="Cart"}, 'link'=>{url path="/cart"}] + ]} +{/block} + {block name="main-content"}
diff --git a/templates/default/layout.tpl b/templates/default/layout.tpl index 8d7b6c885..96ad0dbbb 100644 --- a/templates/default/layout.tpl +++ b/templates/default/layout.tpl @@ -11,23 +11,28 @@ Author: Christophe Laffont URL: http://www.thelia.net --> - - - - +{* paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither *} + + + + + {* Test if javascript is enabled *} - - {block name="page-title"}Thelia{/block} + + + {* Page Title *} + {block name="page-title"}{strip}{if $breadcrumbs}{foreach from=$breadcrumbs|array_reverse item=breadcrumb}{$breadcrumb.name} | {/foreach}{/if}Thelia{/strip}{/block} + + {* Meta Tags *} - + - {block name="meta"}{/block} - + {* Stylesheets *} {stylesheets file='assets/less/styles.less' filters='less,cssembed'} {/stylesheets} @@ -61,41 +66,24 @@ URL: http://www.thelia.net