From: Jason Woofenden Date: Fri, 1 Jan 2016 22:21:43 +0000 (-0500) Subject: auto-choose full layout if no cms X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=commitdiff_plain;h=0b3de91e454a1a0d5eef8a129d33daaf94ea97bf auto-choose full layout if no cms --- diff --git a/inc/cms.php b/inc/cms.php index 895c810..347d3a2 100644 --- 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; }