Update filter select elements after selecting a new year
[misc/kostenrechnung] / masks / sys_user.php
1 <?php
2
3 $mask = array(
4               'table' => 'sys_user',
5               'title' => 'Liste der Anwender',
6               'join' => array('sys_group ON sys_user.gid = sys_group.id'),
7               'list' => array(
8                               'id' => array(
9                                             'name' => 'ID',
10                                             'visible' => false,
11                                             'sql' => 'sys_user.id',
12                                             ),
13                               'login' => array(
14                                             'name' => 'Login',
15                                             'width' => 70,
16                                             ),
17                               'name' => array(
18                                             'name' => 'Name',
19                                             'width' => 150,
20                                             'sql' => 'sys_user.name',
21                                             ),
22                               'email' => array(
23                                             'name' => 'E-Mail',
24                                             'width' => 150,
25                                             ),
26                               'gruppe' => array(
27                                             'name' => 'Gruppe',
28                                             'width' => 70,
29                                             'sql' => 'sys_group.name',
30                                             ),
31                               ),
32               'rows' => 20,
33               'edit' => array(
34                               'login' => array(
35                                             'name' => 'Login',
36                                             'type' => 'text',
37                                             'size' => 25,
38                                             ),
39                               'name' => array(
40                                             'name' => 'Name',
41                                             'type' => 'text',
42                                             'size' => 25,
43                                             ),
44                               'email' => array(
45                                             'name' => 'E-Mail',
46                                             'type' => 'text',
47                                             'size' => 25,
48                                             ),
49                               'gid' => array(
50                                             'name' => 'Gruppe',
51                                             'type' => 'select',
52                                             'options' => 'SELECT id,name AS text FROM sys_group ORDER BY name',
53                                             ),
54                               'passwd' => array(
55                                             'name' => 'Passwort',
56                                             'type' => 'passwd',
57                                             'size' => 25,
58                                             ),
59                               ),
60               );
61
62 ?>