diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-05 11:32:07 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-05 11:32:07 +0200 |
commit | 9ab9c28b0175ddcfd1997290702a02a9aa896fa3 (patch) | |
tree | afbe2657a576f2577c5408619af0f0de73d42e47 | |
parent | 2c1aca7ffe628ab2a455fc7abf730b6d01d288ea (diff) | |
download | volse-hubzilla-9ab9c28b0175ddcfd1997290702a02a9aa896fa3.tar.gz volse-hubzilla-9ab9c28b0175ddcfd1997290702a02a9aa896fa3.tar.bz2 volse-hubzilla-9ab9c28b0175ddcfd1997290702a02a9aa896fa3.zip |
fix profile edit link and d* photo urls
-rw-r--r-- | boot.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -860,7 +860,7 @@ function profile_sidebar($profile, $block = 0) { // show edit to yourself if ($profile['uid'] == local_user()) { - $profile['edit'] = array($a->get_baseurl(). 'profiles', t('Profiles'),"", t('Manage/edit profiles')); + $profile['edit'] = array($a->get_baseurl(). '/profiles', t('Profiles'),"", t('Manage/edit profiles')); } @@ -889,9 +889,9 @@ function profile_sidebar($profile, $block = 0) { 'searchable' => (($profile['publish'] && $profile['net-publish']) ? 'true' : 'false' ), 'nickname ' => $profile['nickname'], 'fullname' => $profile['name'], - 'photo300 ' => $a->get_baseurl() . '/photo/custom/300/' . $profile['uid'] . '.jpg', - 'photo100 ' => $a->get_baseurl() . '/photo/custom/100/' . $profile['uid'] . '.jpg', - 'photo50 ' => $a->get_baseurl() . '/photo/custom/50/' . $profile['uid'] . '.jpg', + 'photo300' => $a->get_baseurl() . '/photo/custom/300/' . $profile['uid'] . '.jpg', + 'photo100' => $a->get_baseurl() . '/photo/custom/100/' . $profile['uid'] . '.jpg', + 'photo50' => $a->get_baseurl() . '/photo/custom/50/' . $profile['uid'] . '.jpg', ); if (!$block){ |