projects
/
misc
/
kostenrechnung
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c02b49e
)
Support controls such as checkboxes
author
Joey Schulze
<joey@infodrom.org>
Sat, 27 Feb 2010 22:17:08 +0000
(23:17 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Sat, 27 Feb 2010 22:17:08 +0000
(23:17 +0100)
lib/mask.php
patch
|
blob
|
history
diff --git
a/lib/mask.php
b/lib/mask.php
index
0325e7a
..
588b2a9
100644
(file)
--- a/
lib/mask.php
+++ b/
lib/mask.php
@@
-95,6
+95,7
@@
function build_grid($name, $mask)
if ($data['width'] > 0) $s[] = 'width: ' . $data['width'];
if (array_key_exists('type', $data)) $s[] = "type: '" . $data['type'] . "'";
if (array_key_exists('specs', $data)) $s[] = $data['specs'];
+ if (array_key_exists('control', $data)) $s[] = 'control: ' . $data['control'];
$specs[] = '{' . implode(', ', $s) . '}';
if (array_key_exists('sql', $data))