2 require_once 'diogenes.common.inc.php';
3 require_once 'diogenes.toplevel.inc.php';
4 require_once 'diogenes/diogenes.table-editor.inc.php';
6 $page = new $globals->toplevel(true
);
7 $page->assign('greeting',__("User accounts"));
9 $editor = new DiogenesTableEditor("diogenes_auth","user_id");
11 $editor->add_join_table("diogenes_perm","uid",true
);
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");
19 $editor->addAction(__("view log"), "logger.php?logauth=native&loguser=%username%");
20 $editor->run($page,'page_content');