]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Merge remote branch 'friendica/master'
[friendica.git] / boot.php
index 527103bc91542481971dbc47323c8c9ecc448972..609c2002a929e19dc9d6f8ea659087010d97b44c 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1364,9 +1364,15 @@ if(! function_exists('profile_sidebar')) {
 
 
                        }
-
-
                }
+        if ($profile['uid'] == local_user() && !feature_enabled(local_user(),'multi_profiles')) {
+            $profile['edit'] = array($a->get_baseurl(). '/profiles/'.$profile['id'], t('Edit profile'),"", t('Edit profile'));
+               $profile['menu'] = array(
+                               'chg_photo' => t('Change profile photo'),
+                               'cr_new' => null,
+                               'entries' => array(),
+                       );
+        }
 
 
 
@@ -1419,6 +1425,7 @@ if(! function_exists('profile_sidebar')) {
                if($a->theme['template_engine'] === 'internal')
                        $location = template_escape($location);
 
+
                $tpl = get_markup_template('profile_vcard.tpl');
                $o .= replace_macros($tpl, array(
                        '$profile' => $p,