make it possible to replace the current CSS file by a preset stylesheet
[diogenes.git] / htdocs / toplevel / accounts.php
CommitLineData
6855525e
JL
1<?php
2require_once 'diogenes.common.inc.php';
3require_once 'diogenes.toplevel.inc.php';
4require_once 'diogenes/diogenes.table-editor.inc.php';
5
6$page = new $globals->toplevel(true);
7$page->assign('greeting',__("User accounts"));
8
9$editor = new DiogenesTableEditor("diogenes_auth","user_id");
10
11$editor->add_join_table("diogenes_perm","uid",true);
12
13$editor->describe("username", __("username"), true);
14$editor->describe("firstname", __("first name"), true);
15$editor->describe("lastname", __("last name"), true);
16$editor->describe("password", __("password"), false, "password");
17$editor->describe("perms", __("permissions"), true, "set");
18
19$editor->addAction(__("view log"), "logger.php?logauth=native&amp;loguser=%username%");
20$editor->run($page,'page_content');
21$page->display('');
22?>