redirect_url = $url; } public function setEmail($addr) { $this->emailaddress = htmlentities($addr); } protected function html_content() { echo '

Log in

'; foreach ($this->_subtemplates as $template) $template->html_main(); echo '
'; // Throw in a redirect url if asked for. if (!empty($this->redirect_url)) echo ' '; echo ' Forgotten your password?
'; } }