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:
2fddd1b
)
wfpl_template: renamed to wfpl_tem_data to avoid conflict with old system.
author
Josh Grams
<josh@qualdan.com>
Thu, 6 Aug 2009 12:09:27 +0000
(08:09 -0400)
committer
Josh Grams
<josh@qualdan.com>
Thu, 6 Aug 2009 12:09:27 +0000
(08:09 -0400)
messages.php
patch
|
blob
|
history
run.php
patch
|
blob
|
history
diff --git
a/messages.php
b/messages.php
index
826cb6e
..
2d065e3
100644
(file)
--- a/
messages.php
+++ b/
messages.php
@@
-65,7
+65,7
@@
function display_messages(&$tem = NULL) {
if(!$GLOBALS['wfpl_messages']) return;
foreach($GLOBALS['wfpl_messages'] as $msg) {
$sub = array('text' => $msg);
if(!$GLOBALS['wfpl_messages']) return;
foreach($GLOBALS['wfpl_messages'] as $msg) {
$sub = array('text' => $msg);
- $GLOBALS['wfpl_template']['message'][] = $sub;
- $GLOBALS['wfpl_template']['messages'] = TRUE;
+ $GLOBALS['wfpl_tem_data']['message'][] = $sub;
+ $GLOBALS['wfpl_tem_data']['messages'] = TRUE;
}
}
}
}
diff --git
a/run.php
b/run.php
index
4e56e98
..
3d0b1d4
100644
(file)
--- a/
run.php
+++ b/
run.php
@@
-116,7
+116,7
@@
function run_php($dest = false) {
}
}
}
}
- $data = &$GLOBALS['wfpl_template'];
+ $data = &$GLOBALS['wfpl_tem_data'];
$data['basename'] = $basename;
if(function_exists('display_messages')) {
display_messages();
$data['basename'] = $basename;
if(function_exists('display_messages')) {
display_messages();