reposition certain things like the wall-to-wall "to" photo when one changes the size of the author icons

This commit is contained in:
friendica
2013-11-15 23:18:53 -08:00
parent f13c513aba
commit 579cf4ccfb
2 changed files with 9 additions and 6 deletions

View File

@@ -94,11 +94,12 @@
if(! $top_photo)
$top_photo = '64px';
$pmenu_top = intval($top_photo) - 6 . 'px';
$wwtop = intval($top_photo) - 5 . 'px';
if(! $reply_photo)
$reply_photo = '32px';
$pmenu_reply = intval($reply_photo) - 6 . 'px';
if($nav_min_opacity === false || $nav_min_opacity === '') {
$nav_float_min_opacity = 1.0;
$nav_percent_min_opacity = 100;
@@ -161,7 +162,8 @@ $options = array (
'$top_photo' => $top_photo,
'$reply_photo' => $reply_photo,
'$pmenu_top' => $pmenu_top,
'$pmenu_reply' => $pmenu_reply
'$pmenu_reply' => $pmenu_reply,
'$wwtop' => $wwtop
);
echo str_replace(array_keys($options), array_values($options), $x);