diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-02-22 16:10:46 +0100 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-02-22 16:10:46 +0100 |
commit | f9eddb89eff2601f8ef4318f16a8360296613935 (patch) | |
tree | 97b3b18ad318ac452b7a3a4dda2e81e873c0f61f /view/theme/redbasic/php/config.php | |
parent | bbea85f809097e90960e4eac7a586264a520e0f0 (diff) | |
download | volse-hubzilla-f9eddb89eff2601f8ef4318f16a8360296613935.tar.gz volse-hubzilla-f9eddb89eff2601f8ef4318f16a8360296613935.tar.bz2 volse-hubzilla-f9eddb89eff2601f8ef4318f16a8360296613935.zip |
Add option for narrow navbar instead of the bootstrap default
thick version
Diffstat (limited to 'view/theme/redbasic/php/config.php')
-rw-r--r-- | view/theme/redbasic/php/config.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index 68a72fffd..2235a9742 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -6,6 +6,7 @@ function theme_content(&$a) { $arr = array(); $arr['schema'] = get_pconfig(local_user(),'redbasic', 'schema' ); + $arr['narrow_navbar'] = get_pconfig(local_user(),'redbasic', 'narrow_navbar' ); $arr['nav_colour'] = get_pconfig(local_user(),'redbasic', 'nav_colour' ); $arr['link_colour'] = get_pconfig(local_user(),'redbasic', 'link_colour' ); $arr['banner_colour'] = get_pconfig(local_user(),'redbasic', 'banner_colour' ); @@ -33,6 +34,7 @@ function theme_post(&$a) { if (isset($_POST['redbasic-settings-submit'])) { set_pconfig(local_user(), 'redbasic', 'schema', $_POST['redbasic_schema']); + set_pconfig(local_user(), 'redbasic', 'narrow_navbar', $_POST['redbasic_narrow_navbar']); set_pconfig(local_user(), 'redbasic', 'nav_colour', $_POST['redbasic_nav_colour']); set_pconfig(local_user(), 'redbasic', 'link_colour', $_POST['redbasic_link_colour']); set_pconfig(local_user(), 'redbasic', 'background_colour', $_POST['redbasic_background_colour']); @@ -97,6 +99,7 @@ if(feature_enabled(local_user(),'expert')) '$expert' => $expert, '$title' => t("Theme settings"), '$schema' => array('redbasic_schema', t('Set scheme'), $arr['schema'], '', $scheme_choices), + '$narrow_navbar' => array('redbasic_narrow_navbar',t('Narrow navbar'),$arr['narrow_navbar']), '$nav_colour' => array('redbasic_nav_colour', t('Navigation bar colour'), $arr['nav_colour'], '', $nav_colours), '$link_colour' => array('redbasic_link_colour', t('link colour'), $arr['link_colour'], '', $link_colours), '$banner_colour' => array('redbasic_banner_colour', t('Set font-colour for banner'), $arr['banner_colour']), |