Formular improvements
[misc/kostenrechnung] / masks / materialien.php
1 <?php
2
3 $mask = array(
4               'table' => 'materialien',
5               'sort' => 1,
6               'list' => array(
7                               'id' => array(
8                                             'name' => 'ID',
9                                             'visible' => false,
10                                             ),
11                               'material' => array(
12                                             'name' => 'Material',
13                                             'width' => 200,
14                                             'specs' => "filterUI: 't'",
15                                             ),
16                               'preis' => array(
17                                             'name' => 'Preis',
18                                             'type' => 'number',
19                                             'specs' => "decPlaces: 2, ClassName: 'alignright'",
20                                             'width' => 50,
21                                             ),
22                               ),
23               'rows' => 20,
24               'edit' => array(
25                               'material' => array(
26                                             'name' => 'Material',
27                                             'type' => 'text',
28                                             'size' => 50,
29                                             ),
30                               'preis' => array(
31                                             'name' => 'Preis',
32                                             'type' => 'text',
33                                             'size' => 20,
34                                             ),
35                               ),
36               );
37
38 ?>