diff options
author | Friendika <info@friendika.com> | 2011-10-26 16:57:25 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-26 16:57:25 -0700 |
commit | 2f3e39ba15b45b56ef750bd1d15a23c510ec798d (patch) | |
tree | c02acb1520af96fbba8e890b2e38c7cd8e5b904e /boot.php | |
parent | 2d22a58324194ebb37b042658db5a8fc2d94b3a7 (diff) | |
download | volse-hubzilla-2f3e39ba15b45b56ef750bd1d15a23c510ec798d.tar.gz volse-hubzilla-2f3e39ba15b45b56ef750bd1d15a23c510ec798d.tar.bz2 volse-hubzilla-2f3e39ba15b45b56ef750bd1d15a23c510ec798d.zip |
edit profile quick link
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -823,6 +823,13 @@ function profile_load(&$a, $nickname, $profile = 0) { if(! (x($a->page,'aside'))) $a->page['aside'] = ''; + if(local_user() && local_user() == $a->profile['uid']) { + $a->page['aside'] .= replace_macros(get_markup_template('profile_edlink.tpl'),array( + '$editprofile' => t('Edit profile'), + '$profid' => $a->profile['id'] + )); + } + $block = (((get_config('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false); $a->page['aside'] .= profile_sidebar($a->profile, $block); |