set_title("Login"); $page->set_heading("Login"); $page->add_block(new NavBlock()); $page->add_block(new Block("Login There", "There should be a login box to the left")); } public function display_signup_page($page) { global $config; $tac = $config->get_string("login_tac"); if(empty($tac)) {$html = "";} else {$html = "
$tac
";} $html .= " "; $page->set_title("Create Account"); $page->set_heading("Create Account"); $page->add_block(new NavBlock()); $page->add_block(new Block("Signup", $html)); } public function display_login_block($page) { global $config; $html = " "; if($config->get_bool("login_signup_enabled")) { $html .= "Create Account"; } $page->add_block(new Block("Login", $html, "left", 90)); } } ?>