summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorChristian Fowler <cfowler2@wcpss.net>2013-04-09 12:47:59 -0400
committerChristian Fowler <cfowler2@wcpss.net>2013-04-09 12:47:59 -0400
commit02546bd02d52062861f23dfcc3b03a4e801dc233 (patch)
tree57f4efeaf339a1bc0b0ef6c3f9778373835b094c /admin
parent0e6e7869f4fdab94023c777ee7fa0eb1b1d29f8c (diff)
downloadthemes-02546bd02d52062861f23dfcc3b03a4e801dc233.tar.gz
themes-02546bd02d52062861f23dfcc3b03a4e801dc233.tar.bz2
themes-02546bd02d52062861f23dfcc3b03a4e801dc233.zip
add configurable support for fluid layouts
Diffstat (limited to 'admin')
-rw-r--r--admin/admin_themes_manager.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin/admin_themes_manager.php b/admin/admin_themes_manager.php
index b8ac01d..6c1f842 100644
--- a/admin/admin_themes_manager.php
+++ b/admin/admin_themes_manager.php
@@ -32,6 +32,12 @@ if( !empty( $_REQUEST["site_style"] ) ) {
}
}
+if( !empty( $_REQUEST["save_layout"] ) ) {
+ foreach( array( 'layout-footer', 'layout-maincontent', 'layout-footer' ) as $key ) {
+ $gBitSystem->storeConfig( $key, $_REQUEST[$key] );
+ }
+}
+
// Get list of available styles
$styles = $gBitThemes->getStyles( NULL, TRUE );
$gBitSmarty->assign_by_ref( "styles", $styles );