make comment_indent an option and removeitem_opacity as it is not working properly at the current state - we have got item background opacity now (allthough not yet for custom colors because the colorpicker does not work with rgba colors). Reset left comment border width to 3px as it is barely visible otherwise.
This commit is contained in:
@@ -22,7 +22,7 @@ function theme_content(&$a) {
|
||||
$arr['item_colour'] = get_pconfig(local_user(),'redbasic', 'item_colour' );
|
||||
$arr['comment_item_colour'] = get_pconfig(local_user(),'redbasic', 'comment_item_colour' );
|
||||
$arr['comment_border_colour'] = get_pconfig(local_user(),'redbasic', 'comment_border_colour' );
|
||||
$arr['item_opacity'] = get_pconfig(local_user(),'redbasic', 'item_opacity' );
|
||||
$arr['comment_indent'] = get_pconfig(local_user(),'redbasic', 'comment_indent' );
|
||||
$arr['toolicon_colour'] = get_pconfig(local_user(),'redbasic','toolicon_colour');
|
||||
$arr['toolicon_activecolour'] = get_pconfig(local_user(),'redbasic','toolicon_activecolour');
|
||||
$arr['font_size'] = get_pconfig(local_user(),'redbasic', 'font_size' );
|
||||
@@ -60,7 +60,7 @@ function theme_post(&$a) {
|
||||
set_pconfig(local_user(), 'redbasic', 'item_colour', $_POST['redbasic_item_colour']);
|
||||
set_pconfig(local_user(), 'redbasic', 'comment_item_colour', $_POST['redbasic_comment_item_colour']);
|
||||
set_pconfig(local_user(), 'redbasic', 'comment_border_colour', $_POST['redbasic_comment_border_colour']);
|
||||
set_pconfig(local_user(), 'redbasic', 'item_opacity', $_POST['redbasic_item_opacity']);
|
||||
set_pconfig(local_user(), 'redbasic', 'comment_indent', $_POST['redbasic_comment_indent']);
|
||||
set_pconfig(local_user(), 'redbasic', 'toolicon_colour', $_POST['redbasic_toolicon_colour']);
|
||||
set_pconfig(local_user(), 'redbasic', 'toolicon_activecolour', $_POST['redbasic_toolicon_activecolour']);
|
||||
set_pconfig(local_user(), 'redbasic', 'font_size', $_POST['redbasic_font_size']);
|
||||
@@ -117,7 +117,7 @@ if(feature_enabled(local_user(),'expert'))
|
||||
'$item_colour' => array('redbasic_item_colour', t('Set the background colour of items'), $arr['item_colour']),
|
||||
'$comment_item_colour' => array('redbasic_comment_item_colour', t('Set the background colour of comments'), $arr['comment_item_colour']),
|
||||
'$comment_border_colour' => array('redbasic_comment_border_colour', t('Set the border colour of comments'), $arr['comment_border_colour']),
|
||||
'$item_opacity' => array('redbasic_item_opacity', t('Set the opacity of items'), $arr['item_opacity']),
|
||||
'$comment_indent' => array('redbasic_comment_indent', t('Set the indent for comments'), $arr['comment_indent']),
|
||||
'$toolicon_colour' => array('redbasic_toolicon_colour',t('Set the basic colour for item icons'),$arr['toolicon_colour']),
|
||||
'$toolicon_activecolour' => array('redbasic_toolicon_activecolour',t('Set the hover colour for item icons'),$arr['toolicon_activecolour']),
|
||||
'$body_font_size' => array('redbasic_body_font_size', t('Set font-size for the entire application'), $arr['body_font_size']),
|
||||
|
Reference in New Issue
Block a user