Update module to new Hallinta system
[misc/hallinta-metro] / abteilung.php
1 <?php
2
3 $mask = array(
4               'table' => 'metro_abteilung',
5               'title' => 'Abteilungen',
6               'list' => array(
7                               'id' => array(
8                                             'name' => 'ID',
9                                             'visible' => false,
10                                             ),
11                               'sort' => array(
12                                             'name' => 'Sort',
13                                             'width' => 50,
14                                             ),
15                               'gang' => array(
16                                             'name' => 'Gang',
17                                             'filter' => 't1',
18                                             'width' => 50,
19                                             ),
20                               'name' => array(
21                                             'name' => 'Name',
22                                             'filter' => 't',
23                                             'width' => 200,
24                                             ),
25                               ),
26               'edit' => array(
27                               'sort' => array(
28                                             'name' => 'Sortierung',
29                                             'type' => 'text',
30                                             'size' => 5,
31                                             'null' => true,
32                                             ),
33                               'gang' => array(
34                                             'name' => 'Gang',
35                                             'type' => 'text',
36                                             'size' => 5,
37                                             'required' => true,
38                                             ),
39                               'name' => array(
40                                             'name' => 'Name',
41                                             'type' => 'text',
42                                             'size' => 25,
43                                             'required' => true,
44                                             ),
45                               ),
46               );
47
48 ?>