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
csv: no trailing \t, no newlines within
[wfpl.git]
/
metaform
/
template.php
diff --git
a/metaform/template.php
b/metaform/template.php
index
79d018c
..
4e8d49f
100644
(file)
--- a/
metaform/template.php
+++ b/
metaform/template.php
@@
-151,12
+151,7
@@
function ~file_name~_main_form($id = false) {~pulldowns {~
pulldown('~name~', ~pulldown_options~);~}~~has_pulldowns {~
~}~~opt_db {~
if($id) {
pulldown('~name~', ~pulldown_options~);~}~~has_pulldowns {~
~}~~opt_db {~
if($id) {
- # add hidden field for database id of row we're editing
tem_set('id', $id);
tem_set('id', $id);
- tem_set('editing');
- tem_set('edit_msg');
- } else {
- tem_set('new_msg');
}
~}~
if(isset($_POST['~always_field~'])) {
}
~}~
if(isset($_POST['~always_field~'])) {