diff options
author | friendica <info@friendica.com> | 2013-11-15 01:55:33 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-15 01:55:33 -0800 |
commit | eb982074bab5069321a1e433a265d809ba28e1cb (patch) | |
tree | a1a491420193db343077d60cb0e0d1304dc29f3a /view/theme/redbasic/php/style.php | |
parent | eb3a5634101c5bd55110fa4b2ed242dbfd3ad594 (diff) | |
download | volse-hubzilla-eb982074bab5069321a1e433a265d809ba28e1cb.tar.gz volse-hubzilla-eb982074bab5069321a1e433a265d809ba28e1cb.tar.bz2 volse-hubzilla-eb982074bab5069321a1e433a265d809ba28e1cb.zip |
reposition the photo menu button when the author photo is resized
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r-- | view/theme/redbasic/php/style.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 36918874b..ceb396eec 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -90,8 +90,11 @@ $converse_width="1024px"; if(! $top_photo) $top_photo = '80px'; + $pmenu_top = intval($top_photo) - 6 . 'px'; + if(! $reply_photo) $reply_photo = '50px'; + $pmenu_reply = intval($reply_photo) - 6 . 'px'; if($nav_min_opacity === false || $nav_min_opacity === '') { $nav_float_min_opacity = 1.0; @@ -152,7 +155,9 @@ $options = array ( '$nav_float_min_opacity' => $nav_float_min_opacity, '$nav_percent_min_opacity' => $nav_percent_min_opacity, '$top_photo' => $top_photo, -'$reply_photo' => $reply_photo +'$reply_photo' => $reply_photo, +'$pmenu_top' => $pmenu_top, +'$pmenu_reply' => $pmenu_reply ); echo str_replace(array_keys($options), array_values($options), $x); |