-

{intl l="Create New Address"}

+

{intl l="Address Update"}

{form name="thelia.front.address.update"} {loop name="customer.update" type="address" customer="current" id="{$address_id}"}
diff --git a/templates/default/address.html b/templates/default/address.html index 376adafa2..c6186defb 100644 --- a/templates/default/address.html +++ b/templates/default/address.html @@ -1,6 +1,7 @@ {extends file="layout.tpl"} -{block name="no-return-functions"} +{* Security *} +{block name="no-return-functions" prepend} {check_auth context="front" role="CUSTOMER" login_tpl="login"} {/block} diff --git a/templates/default/order-delivery.html b/templates/default/order-delivery.html index 12c65b489..b23be64f7 100644 --- a/templates/default/order-delivery.html +++ b/templates/default/order-delivery.html @@ -1,6 +1,7 @@ {extends file="layout.tpl"} -{block name="no-return-functions"} +{* Security *} +{block name="no-return-functions" prepend} {check_auth context="front" role="CUSTOMER" login_tpl="login"} {check_cart_not_empty} {/block} diff --git a/templates/default/order-invoice.html b/templates/default/order-invoice.html index 28fea851b..bc9d7047b 100644 --- a/templates/default/order-invoice.html +++ b/templates/default/order-invoice.html @@ -1,6 +1,7 @@ {extends file="layout.tpl"} -{block name="no-return-functions"} +{* Security *} +{block name="no-return-functions" prepend} {check_auth context="front" role="CUSTOMER" login_tpl="login"} {check_cart_not_empty} {check_valid_delivery} diff --git a/templates/default/order-placed.html b/templates/default/order-placed.html index decd30c77..4931896f5 100644 --- a/templates/default/order-placed.html +++ b/templates/default/order-placed.html @@ -1,5 +1,10 @@ {extends file="layout.tpl"} +{* Security *} +{block name="no-return-functions" prepend} + {check_auth context="front" role="CUSTOMER" login_tpl="login"} +{/block} + {* Body Class *} {block name="body-class"}page-order-payment{/block}