// 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:
1 parent
a6f91fcb11
commit
ed1a1ab1c6
1 file changed
+5
-2
@@ -140,6 +140,7 @@ $(function(){ldelim}
|
|||||||
$('#noSlide').html(jsonData.page);
|
$('#noSlide').html(jsonData.page);
|
||||||
});
|
});
|
||||||
$('#noSlide').fadeIn('slow');
|
$('#noSlide').fadeIn('slow');
|
||||||
|
document.location = '#account-creation';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error: function(XMLHttpRequest, textStatus, errorThrown)
|
error: function(XMLHttpRequest, textStatus, errorThrown)
|
||||||
@@ -554,9 +555,11 @@ $(function(){ldelim}
|
|||||||
<input type="hidden" name="email_create" value="1" />
|
<input type="hidden" name="email_create" value="1" />
|
||||||
<input type="hidden" name="is_new_customer" 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}
|
{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>
|
<span><sup>*</sup>{l s='Required field'}</span>
|
||||||
</p>
|
</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>
|
</form>
|
||||||
{/if}
|
{/if}
|
||||||
Reference in new issue
Block a user