cf39e36c1621562e0dd6e6e5b463542e2bebdff7
[diogenes.git] / logger_actions.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 // set up the page
7 $page = new $globals->toplevel(true);
8 $page->assign("greeting",__("Logger actions"));
9
10 // set up the editor
11 $editor = new DiogenesTableEditor($globals->table_log_actions,"id");
12 $editor->add_join_table($globals->table_log_events,"action",true);
13 $editor->describe("text", __("title"), true);
14 $editor->describe("description", __("description"), true);
15
16 // run the editor
17 $editor->run($page,'page_content');
18 $page->display('');
19 ?>