projects
/
misc
/
kostenrechnung
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support comments for input fields
[misc/kostenrechnung]
/
lib
/
mask.php
diff --git
a/lib/mask.php
b/lib/mask.php
index
72d3b67
..
12a2d38
100644
(file)
--- a/
lib/mask.php
+++ b/
lib/mask.php
@@
-48,6
+48,8
@@
function build_form($name, $fields)
} elseif ($info['type'] == 'date') {
error_log('type = date');
}
} elseif ($info['type'] == 'date') {
error_log('type = date');
}
+ if (array_key_exists('comment',$info))
+ $ret[] = sprintf('<span class="comment">%s</span>', $info['comment']);
$ret[] = '<br>';
}
$ret[] = '<br>';
}