diff options
| author | spiderr <spider@viovio.com> | 2013-04-19 17:33:22 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-19 17:33:22 -0400 |
| commit | 78015d877ad9153dcfdb6ae5030d74652c1591c0 (patch) | |
| tree | 0a07058f0c81f6599053517be2aaf26bab5afe30 /admin | |
| parent | 3f812b607680841844bfc171254ebd9cc48840f3 (diff) | |
| download | themes-78015d877ad9153dcfdb6ae5030d74652c1591c0.tar.gz themes-78015d877ad9153dcfdb6ae5030d74652c1591c0.tar.bz2 themes-78015d877ad9153dcfdb6ae5030d74652c1591c0.zip | |
move Theme Layout to columns page
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_columns_inc.php | 7 | ||||
| -rw-r--r-- | admin/admin_themes_manager.php | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/admin/admin_columns_inc.php b/admin/admin_columns_inc.php index d1639d2..0684353 100644 --- a/admin/admin_columns_inc.php +++ b/admin/admin_columns_inc.php @@ -22,6 +22,13 @@ $activeColumns = array( ); $gBitSmarty->assign( 'activeColumns', $activeColumns ); +// Module layouts +if( !empty( $_REQUEST["save_layout"] ) ) { + foreach( array( 'layout-header', 'layout-maincontent', 'layout-footer' ) as $key ) { + $gBitSystem->storeConfig( $key, $_REQUEST[$key] ); + } +} + // Areas $hideableAreas = array( 'top' => 'Top', diff --git a/admin/admin_themes_manager.php b/admin/admin_themes_manager.php index 3e3a22f..b8ac01d 100644 --- a/admin/admin_themes_manager.php +++ b/admin/admin_themes_manager.php @@ -32,12 +32,6 @@ if( !empty( $_REQUEST["site_style"] ) ) { } } -if( !empty( $_REQUEST["save_layout"] ) ) { - foreach( array( 'layout-header', '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 ); |
