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:
2afca10
)
* template.php (tem_auto_once): renamed to tem_auto_show.
author
Josh Grams
<josh@qualdan.com>
Wed, 5 Aug 2009 23:18:26 +0000
(19:18 -0400)
committer
Josh Grams
<josh@qualdan.com>
Wed, 5 Aug 2009 23:18:26 +0000
(19:18 -0400)
template.php
patch
|
blob
|
history
diff --git
a/template.php
b/template.php
index
03f11ea
..
d986a06
100644
(file)
--- a/
template.php
+++ b/
template.php
@@
-282,10
+282,10
@@
function tem_auto_sep($key, $context) {
# else we are on the last row (cursor has hit the end and reset).
}
# else we are on the last row (cursor has hit the end and reset).
}
-# 'once' sections will be shown once unless the corresponding data value
+# 'show' sections will be shown unless the corresponding data value
# is false. We check only for false; 0 or '' will not work.
# is false. We check only for false; 0 or '' will not work.
-function tem_auto_once($key, $context) {
+function tem_auto_show($key, $context) {
if($context['data'][$key] !== false)
return tem_data_as_rows(true);
}
if($context['data'][$key] !== false)
return tem_data_as_rows(true);
}