remove context in all security function. This Parameter is not used anymore.

This commit is contained in:
Manuel Raynaud
2014-03-17 10:01:43 +01:00
parent 30ae68a4ef
commit 0e7c464183
12 changed files with 14 additions and 15 deletions

View File

@@ -2,7 +2,7 @@
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}

View File

@@ -2,7 +2,7 @@
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}

View File

@@ -2,7 +2,7 @@
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Breadcrumb *}

View File

@@ -2,7 +2,7 @@
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}

View File

@@ -2,7 +2,7 @@
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}

View File

@@ -2,7 +2,7 @@
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Breadcrumb *}

View File

@@ -92,7 +92,7 @@ GNU General Public License : http://www.gnu.org/licenses/
<nav class="navbar-collapse collapse nav-main" role="navigation" aria-label="{intl l="Main Navigation"}">
{nocache}
<ul class="nav navbar-nav navbar-cart navbar-right">
{loop type="auth" name="customer_info_block" role="CUSTOMER" context="front"}
{loop type="auth" name="customer_info_block" role="CUSTOMER"}
<li><a href="{url path="/logout"}" class="logout">{intl l="Log out!"}</a></li>
<li><a href="{url path="/account"}" class="account">{intl l="My Account"}</a></li>
{/loop}
@@ -256,7 +256,7 @@ GNU General Public License : http://www.gnu.org/licenses/
{loop name="footer_links" type="content" folder="2"}
<li><a href="{$URL}">{$TITLE}</a></li>
{/loop}
{loop type="auth" name="customer_is_logged" role="CUSTOMER" context="front"}
{loop type="auth" name="customer_is_logged" role="CUSTOMER"}
<li><a href="{url path="/logout"}" class="logout">{intl l="Log out!"}</a></li>
<li><a href="{url path="/account"}" class="account">{intl l="My Account"}</a></li>
{/loop}

View File

@@ -2,7 +2,7 @@
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{check_auth role="CUSTOMER" login_tpl="login"}
{check_cart_not_empty}
{/block}

View File

@@ -2,7 +2,7 @@
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{check_auth role="CUSTOMER" login_tpl="login"}
{check_cart_not_empty}
{check_valid_delivery}
{/block}

View File

@@ -2,7 +2,7 @@
{* Security *}
{block name="no-return-functions" prepend}
{check_auth context="front" role="CUSTOMER" login_tpl="login"}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}