a96d56a723f223d68a485af90c29d7a203d1466a
[misc/kostenrechnung] / masks / sys_mask.php
1 <?php
2
3 $mask = array(
4               'table' => 'sys_mask',
5               'title' => 'Liste der Menüpunkte',
6               'join' => array('sys_menu ON sys_mask.menu = sys_menu.id'),
7               'list' => array(
8                               'id' => array(
9                                             'name' => 'ID',
10                                             'visible' => false,
11                                             'sql' => 'sys_mask.id',
12                                             ),
13                               'mask' => array(
14                                             'name' => 'Menüpunkt',
15                                             'width' => 100,
16                                             ),
17                               'title' => array(
18                                             'name' => 'Name',
19                                             'width' => 150,
20                                             ),
21                               'menutitle' => array(
22                                             'name' => 'Menütitel',
23                                             'width' => 150,
24                                             ),
25                               'menu' => array(
26                                             'name' => 'Menü',
27                                             'sql' => 'sys_menu.name',
28                                             'width' => 150,
29                                             ),
30                               'edit' => array(
31                                             'name' => 'Edit',
32                                             'width' => 20,
33                                             'specs' => "ClassName: 'aligncenter'",
34                                             ),
35                               'priority' => array(
36                                             'name' => 'Priorität',
37                                             'width' => 30,
38                                             'type' => 'number',
39                                             'specs' => "ClassName: 'alignright'",
40                                             'sql' => 'sys_mask.priority',
41                                             ),
42                               'sys_user' => array(
43                                             'name' => 'Edit',
44                                             'width' => 50,
45                                             'visible' => false,
46                                             'sql' => 'sys_mask.sys_user',
47                                             ),
48                               'sys_edit' => array(
49                                             'name' => 'Datum',
50                                             'width' => 80,
51                                             'type' => 'date',
52                                             'visible' => false,
53                                             'sql' => 'sys_mask.sys_edit',
54                                             ),
55                               ),
56               'rows' => 20,
57               );
58
59 ?>