// add back button to the account creation form

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10054 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-11-10 17:11:52 +00:00
parent a6f91fcb11
commit ed1a1ab1c6
+5 -2
View File
@@ -140,6 +140,7 @@ $(function(){ldelim}
$('#noSlide').html(jsonData.page);
});
$('#noSlide').fadeIn('slow');
document.location = '#account-creation';
}
},
error: function(XMLHttpRequest, textStatus, errorThrown)
@@ -554,9 +555,11 @@ $(function(){ldelim}
<input type="hidden" name="email_create" value="1" />
<input type="hidden" name="is_new_customer" value="1" />
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
<input type="submit" name="submitAccount" id="submitAccount" value="{l s='Register'}" class="exclusive" />
<span><sup>*</sup>{l s='Required field'}</span>
</p>
<p class="cart_navigation">
<a href="{$link->getPageLink("authentication")}" id="submitBack" class="button">{l s='Back'}</a>
<input type="submit" name="submitAccount" id="submitAccount" value="{l s='Register'}" class="exclusive" />
</p>
</form>
{/if}