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_list(Page $page, $users, User $user) { $page->set_title("User List"); $page->set_heading("User List"); $page->add_block(new NavBlock()); $html = "
| Name |
| ".html_escape($duser->name)." | "; $html .= "
'.$tac.'
';} $h_reca = "| Name | |
|---|---|
| Password | |
| Repeat Password | |
| Email (Optional) | |
| Uploaded from: ";
$n = 0;
foreach($uploads as $ip => $count) {
$html .= ' '.$ip.' ('.$count.')'; if(++$n >= 20) { $html .= " ..."; break; } } $html .= " | Commented from:";
$n = 0;
foreach($comments as $ip => $count) {
$html .= ' '.$ip.' ('.$count.')'; if(++$n >= 20) { $html .= " ..."; break; } } $html .= " |
| (Most recent at top) | |
| Change Password | |
|---|---|
| Password | |
| Repeat Password | |
".make_form(make_link("user_admin/change_email"))."
| Change Email | |
|---|---|
| Address | |
".make_form(make_link("user_admin/change_class"))."
| Change Class | |
|---|---|
".make_form(make_link("user_admin/delete_user"))."
| Delete User | |
|---|---|
| Delete images | |
| Delete comments | |