Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
auto-choose full layout if no cms
[wfpl-cms.git]
/
inc
/
cms.php
diff --git
a/inc/cms.php
b/inc/cms.php
index
895c810
..
347d3a2
100644
(file)
--- a/
inc/cms.php
+++ b/
inc/cms.php
@@
-62,6
+62,8
@@
function cms_display_content(&$tem /*, 'where clause %", %i', string, int */) {
$tem->set('$cms_sidebar', $row['sidebar_content']);
}
return $row['id'];
+ } else {
+ $tem->set('$layout_centerer_class', 'full');
}
return false;
}