diff options
author | friendica <info@friendica.com> | 2013-10-02 22:59:58 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-02 22:59:58 -0700 |
commit | e1fb45bc4a17fe4b16b6f4d49f620d56009baa96 (patch) | |
tree | 4abceafe683aafba37edc4fbbe611d247eba7300 /view/theme/redbasic/php/config.php | |
parent | 355c42788412d99801ce0f172dd6dbf529c09baf (diff) | |
download | volse-hubzilla-e1fb45bc4a17fe4b16b6f4d49f620d56009baa96.tar.gz volse-hubzilla-e1fb45bc4a17fe4b16b6f4d49f620d56009baa96.tar.bz2 volse-hubzilla-e1fb45bc4a17fe4b16b6f4d49f620d56009baa96.zip |
bring back photo shadows (via theme settings)
Diffstat (limited to 'view/theme/redbasic/php/config.php')
-rw-r--r-- | view/theme/redbasic/php/config.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index 7470c399a..c5c2be5df 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -11,8 +11,9 @@ function theme_content(&$a) { $font_size = get_pconfig(local_user(),'redbasic', 'font_size' ); $font_colour = get_pconfig(local_user(),'redbasic', 'font_colour' ); $radius = get_pconfig(local_user(),'redbasic', 'radius' ); + $shadow = get_pconfig(local_user(),'redbasic', 'photo_shadow' ); return redbasic_form($a, $nav_colour, $background_colour, $background_image, $item_colour, $item_opacity, - $font_size, $font_colour, $radius); + $font_size, $font_colour, $radius, $shadow); } function theme_post(&$a) { @@ -27,11 +28,12 @@ function theme_post(&$a) { set_pconfig(local_user(), 'redbasic', 'font_size', $_POST['redbasic_font_size']); set_pconfig(local_user(), 'redbasic', 'font_colour', $_POST['redbasic_font_colour']); set_pconfig(local_user(), 'redbasic', 'radius', $_POST['redbasic_radius']); + set_pconfig(local_user(), 'redbasic', 'photo_shadow', $_POST['redbasic_shadow']); } } function redbasic_form(&$a, $nav_colour, $background_colour, $background_image, $item_colour, $item_opacity, - $font_size, $font_colour, $radius) { + $font_size, $font_colour, $radius, $shadow) { $nav_colours = array ( 'red' => 'red', @@ -52,6 +54,7 @@ function redbasic_form(&$a, $nav_colour, $background_colour, $background_image, '$font_size' => array('redbasic_font_size', t('Set font-size for posts and comments'), $font_size), '$font_colour' => array('redbasic_font_colour', t('Set font-colour for posts and comments'), $font_colour), '$radius' => array('redbasic_radius', t('Set radius of corners'), $radius), + '$shadow' => array('redbasic_shadow', t('Set shadow depth of photos'), $shadow), )); return $o; |