Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API CHANGE for cms integration. Instead of calling cms_get() which should return...
[wfpl.git]
/
metaform.php
diff --git
a/metaform.php
b/metaform.php
index
06bb7dd
..
ecde564
100644
(file)
--- a/
metaform.php
+++ b/
metaform.php
@@
-259,6
+259,11
@@
function make_html($whole_file = true) {
$tem->show('opt_display_a_else');
}
if(show_in_listing($type, $input, $format, $sql)) {
$tem->show('opt_display_a_else');
}
if(show_in_listing($type, $input, $format, $sql)) {
+ if($format == 'bool' || $format == 'yesno') {
+ $tem->set('listing_enc', 'yesno');
+ } elseif($input == 'date') {
+ $tem->set('listing_enc', 'mmddyyyy');
+ }
$tem->show('listing_head_col');
$tem->show('listing_row_col');
}
$tem->show('listing_head_col');
$tem->show('listing_row_col');
}