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_user_links($page, $user, $parts) {
		$page->add_block(new Block("User Links", join(", ", $parts), "main", 10));
	}
	public function display_user_block($page, $user, $parts) {
#		$h_name = html_escape($user->name);
#		$html = "Logged in as $h_name
";
#		$html .= join("\n
", $parts);
#		$page->add_block(new Block("User Links", $html, "left", 90));
	}
	public function display_signup_page($page) {
		global $config;
		$tac = $config->get_string("login_tac", "");
		$tfe = new TextFormattingEvent($tac);
		send_event($tfe);
		$tac = $tfe->formatted;
		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_ip_list($page, $uploads, $comments) { $html = "| Uploaded from: ";
		foreach($uploads as $ip => $count) {
			$html .= " $ip ($count)"; } $html .= " | Commented from:";
		foreach($comments as $ip => $count) {
			$html .= " $ip ($count)"; } $html .= " | 
| (Most recent at top) | |