%%generic-login-anonymous-html%%
$Date: 2003/05/13 18:43:11 $

%%preprocess%%
// PROCESS FORM
if ($_REQUEST['email']!="" ) {
	if ($GLOBALS['session']->loginprocess() ) {
		$object->getBaseUrl();
		if ($_REQUEST['return']) $redirect= $_REQUEST['return'];
		else $redirect= $object->baseUrl;
		bredirect($redirect);
		}
	}
elseif($_REQUEST['Clue']!="") {
	// throw error on stupidity
	$session->message= "Enter your email address and then click &quot;send my password&quot; to get your password or hint via email.";
	}

// PRIVACY POLICY
if ($site->p_privacyPolicy!="") $this->privacyPolicy= "<a href='$site->p_privacyPolicy' target='_blank'>Please read our <b>Privacy Policy</b>.</a>";

// ALWAYS SHOW NULL OBJECT
$this->showNull=1;

%%header%%

%%css%%

%%template%%

%%listrow%%

%%nullobject%%
<form method='post' action='?method=login$session->cgi' >
<table class='editTable'>
	<tr>
		<td colspan=2>$session->message</td>
	</tr>
	<tr>
		<td align='right' valign='top'>email:</td>
		<td valign='top'>
			<input type='text' name='email' size='42' maxlength='255' value="$sitemember->email" />
			$this->hiddenvars
		</td>
	</tr>
	<tr>
		<td align='right' valign='top'>password:</td>
		<td valign='top'><input type='password' name='password' size='42' maxlength='255' value="" /></td>
	</tr>
	<tr> 
		<td>&nbsp;</td>
		<td>
			<input type='submit' name='Submit' value='login' class='buttonstyle' />
			<input type='submit' name='Clue' value='send my password' class='buttonstyle' />
			<br /><br />&nbsp; <a href='$object->baseURL?method=createmember$session->cgi'>Create a new membership.</a>
			<br />
			<br />$this->privacyPolicy
		</td>
	</tr>
</table>
</form>

%%footer%%

%%postprocess%%

%%end of context%%
