Change path. No need to add the customer Id in the path, we must use the customer id in the session.

This commit is contained in:
touffies
2013-10-18 09:12:41 +02:00
parent 2f033e1ffa
commit dca2b37739

View File

@@ -58,8 +58,8 @@
<span class="email">{mailto address="{$EMAIL}" encode="hex"}</span>
</li>
<li class="group-btn">
<a href="{url path="/account/update/{$ID}"}" class="btn btn-change-account"><i class="icon-pencil"></i> {intl l="Change my account informations"}</a>
<a href="{url path="/account/password/{$ID}"}" class="btn btn-change-password"><i class="icon-lock"></i> {intl l="Change my password"}</a>
<a href="{url path="/account/update/"}" class="btn btn-change-account"><i class="icon-pencil"></i> {intl l="Change my account informations"}</a>
<a href="{url path="/account/password/"}" class="btn btn-change-password"><i class="icon-lock"></i> {intl l="Change my password"}</a>
</li>
</ul>
{/loop}
@@ -82,7 +82,7 @@
<tbody>
{loop type="address" name="customer.addresses" customer="current"}
<tr class="{if $DEFAULT == 1}address-primary{else}address-additional{/if}" id="customer-address-{$ID}">
<th>{$LABEL}</th>
<th>{$LABEL|default:"{intl l='Address %nb' nb={$LOOP_COUNT}}"}</th>
<td>
<ul class="list-address">
<li>