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 remove "format" arg from pulldown()
[wfpl.git]
/
metaform
/
template.php
diff --git
a/metaform/template.php
b/metaform/template.php
index
7901f44
..
086c642
100644
(file)
--- a/
metaform/template.php
+++ b/
metaform/template.php
@@
-119,7
+119,7
@@
function ~file_name~_display_main() {
}
function ~file_name~_edit_main() {<!--~}~--><!--~pulldowns {~-->
}
function ~file_name~_edit_main() {<!--~}~--><!--~pulldowns {~-->
- pulldown('~name~', array('option 1', 'option 2', 'option 3'));
+ pulldown('~name~', array(array('op1', 'Option One'), array('op2', 'Option Two'), 'n/a'));
<!--~}~--><!--~opt_db {~-->
$edit_id = format_int($_REQUEST['~file_name~_edit_id']);
unset($_REQUEST['~file_name~_edit_id']);
<!--~}~--><!--~opt_db {~-->
$edit_id = format_int($_REQUEST['~file_name~_edit_id']);
unset($_REQUEST['~file_name~_edit_id']);