bump debian packaging
[diogenes.git] / htdocs / toplevel / accounts.php
1 <?php
2 require_once 'diogenes.common.inc.php';
3 require_once 'diogenes.toplevel.inc.php';
4 require_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 ?>