aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-05-12 09:43:58 +1000
committerRedMatrix <info@friendica.com>2014-05-12 09:43:58 +1000
commitc455663509a094c22116be60034028378aa07100 (patch)
tree76a6a430d8502501213c50ece2730d84189a68d5 /view/theme/redbasic/php/style.php
parentb4fd20c6240a154985ea653722e814dbfaccb85f (diff)
parent3fbac93619a59e03706a771a1527c8492ff85e82 (diff)
downloadvolse-hubzilla-c455663509a094c22116be60034028378aa07100.tar.gz
volse-hubzilla-c455663509a094c22116be60034028378aa07100.tar.bz2
volse-hubzilla-c455663509a094c22116be60034028378aa07100.zip
Merge pull request #456 from cvogeley/master
Move "boxy" conversation design into a schema file
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 698adaf4d..e03d1c741 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -248,6 +248,17 @@ if(! $a->install) {
$reply_photo = '32px';
if(! $infomess_bgcolour)
$infomess_bgcolour = "#F0F0F0";
+ if (!$comment_padding)
+ $comment_padding="0px";
+ if (!$comment_border_left)
+ $comment_border_left="2px solid";
+ if (!$comment_border_right)
+ $comment_border_right="0px solid";
+ if (!$comment_border_top)
+ $comment_border_top="0px solid";
+ if (!$comment_border_bottom)
+ $comment_border_bottom="0px solid";
+
if($nav_min_opacity === false || $nav_min_opacity === '') {
$nav_float_min_opacity = 1.0;
$nav_percent_min_opacity = 100;
@@ -357,7 +368,12 @@ $options = array (
'$pmenu_reply' => $pmenu_reply,
'$wwtop' => $wwtop,
'$comment_indent' => $comment_indent,
-'$body_width' => $body_width
+'$body_width' => $body_width,
+'$comment_padding' => $comment_padding,
+'$comment_border_left' =>$comment_border_left,
+'$comment_border_right' =>$comment_border_right,
+'$comment_border_top' =>$comment_border_top,
+'$comment_border_bottom' =>$comment_border_bottom,
);
echo str_replace(array_keys($options), array_values($options), $x);