diff options
author | redmatrix <git@macgirvin.com> | 2016-03-02 11:35:48 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-02 11:35:48 -0800 |
commit | 157bbb14b51a733014e23d9e8bfc26b559ad2493 (patch) | |
tree | d2869d8891e1f4afb256d0c76568d7bd1ad57b0d /include | |
parent | 5c22f59c4f758e474f4ff553fc5ada36a14fd474 (diff) | |
parent | aa62bad07b7505cecb4347c7c4425bbd7bbcfcc5 (diff) | |
download | volse-hubzilla-157bbb14b51a733014e23d9e8bfc26b559ad2493.tar.gz volse-hubzilla-157bbb14b51a733014e23d9e8bfc26b559ad2493.tar.bz2 volse-hubzilla-157bbb14b51a733014e23d9e8bfc26b559ad2493.zip |
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'include')
-rw-r--r-- | include/widgets.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/widgets.php b/include/widgets.php index aa0be87d6..3b8a5a7a3 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -993,7 +993,7 @@ function widget_cover_photo($arr) { if(array_key_exists('style', $arr) && isset($arr['style'])) $style = $arr['style']; else - $style = 'width:100%; padding-right: 10px; height: auto;'; + $style = 'width:100%; height: auto;'; // ensure they can't sneak in an eval(js) function @@ -1003,7 +1003,7 @@ function widget_cover_photo($arr) { $c = get_cover_photo($channel_id,'html'); if($c) { - $o = '<div class="widget">' . (($style) ? str_replace('alt=',' style="' . $style . '" alt=',$c) : $c) . '</div>'; + $o = '<div id="cover-photo">' . (($style) ? str_replace('alt=',' style="' . $style . '" alt=',$c) : $c) . '</div>'; } return $o; } |