Project

General

Profile

« Previous | Next » 

Revision 1508

Added by Dietmar over 12 years ago

fixed print_error exit in frontend account

View differences:

signup_form.php
21 21

  
22 22
require_once(WB_PATH.'/include/captcha/captcha.php');
23 23

  
24
$_SESSION['PAGE_LINK'] = get_page_link( $_SESSION['PAGE_ID'] );
25
$_SESSION['HTTP_REFERER'] = page_link($_SESSION['PAGE_LINK']);
26

  
24 27
?>
25

  
28
<div style="margin: 1em auto;">
29
	<button type="button" value="cancel" onClick="javascript: window.location = '<?php print $_SESSION['HTTP_REFERER'] ?>';"><?php print $TEXT['CANCEL'] ?></button>
30
</div>
26 31
<h1>&nbsp;<?php echo $TEXT['SIGNUP']; ?></h1>
27 32

  
28 33
<form name="user" action="<?php echo WB_URL.'/account/signup.php'; ?>" method="post">

Also available in: Unified diff