Hide hour sum per default
[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' => 200,
25                                             ),
26                               'gruppe' => array(
27                                             'name' => 'Gruppe',
28                                             'width' => 70,
29                                             'sql' => 'sys_group.name',
30                                             ),
31                               ),
32               'edit' => array(
33                               'login' => array(
34                                             'name' => 'Login',
35                                             'type' => 'text',
36                                             'size' => 25,
37                                             ),
38                               'name' => array(
39                                             'name' => 'Name',
40                                             'type' => 'text',
41                                             'size' => 25,
42                                             ),
43                               'email' => array(
44                                             'name' => 'E-Mail',
45                                             'type' => 'text',
46                                             'size' => 25,
47                                             ),
48                               'gid' => array(
49                                             'name' => 'Gruppe',
50                                             'type' => 'select',
51                                             'options' => 'SELECT id,name AS text FROM sys_group ORDER BY name',
52                                             ),
53                               'passwd' => array(
54                                             'name' => 'Passwort',
55                                             'type' => 'passwd',
56                                             'size' => 25,
57                                             ),
58                               ),
59               );
60
61 ?>