Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
28ea182
)
metaform: fixed bug with listing but no display page (some links got an extra _edit...
author
Jason Woofenden
<jason@jasonwoof.com>
Sun, 14 Jun 2009 16:38:06 +0000
(12:38 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sat, 20 Jun 2009 23:59:19 +0000
(19:59 -0400)
metaform.php
patch
|
blob
|
history
diff --git
a/metaform.php
b/metaform.php
index
ebd1f99
..
19e2168
100644
(file)
--- a/
metaform.php
+++ b/
metaform.php
@@
-268,9
+268,6
@@
function make_html($whole_file = true) {
}
if($GLOBALS['opt_listing'] == 'Yes') {
}
if($GLOBALS['opt_listing'] == 'Yes') {
- if($GLOBALS['opt_display'] != 'Yes') {
- $tem->show('opt_display_a_else');
- }
if(show_in_listing($type, $input, $format, $sql)) {
if($format == 'bool' || $format == 'yesno') {
$tem->set('listing_enc', 'yesno');
if(show_in_listing($type, $input, $format, $sql)) {
if($format == 'bool' || $format == 'yesno') {
$tem->set('listing_enc', 'yesno');
@@
-284,6
+281,10
@@
function make_html($whole_file = true) {
$tem->set('listing_enc', 'html');
$tem->show('listing_value_enc');
}
$tem->set('listing_enc', 'html');
$tem->show('listing_value_enc');
}
+
+ if($GLOBALS['opt_display'] != 'Yes') {
+ $tem->show('opt_display_a_else');
+ }
$tem->show('listing_head_col');
$tem->show('listing_row_col');
}
$tem->show('listing_head_col');
$tem->show('listing_row_col');
}