X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=34d35df70da9924063c3b48e54e4ea0098d93465;hb=d653bc4dbdd8ec7a920421ced225f5b9eb4eef46;hp=bb0b2ab7ff38e9057527ceb58c39df294daa5fc2;hpb=d5af6ebfc1830f983c3552925472e4c206c1b38b;p=friendica.git diff --git a/boot.php b/boot.php index bb0b2ab7ff..34d35df70d 100644 --- a/boot.php +++ b/boot.php @@ -12,7 +12,7 @@ require_once('library/Mobile_Detect/Mobile_Detect.php'); require_once('include/features.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '3.1.1601' ); +define ( 'FRIENDICA_VERSION', '3.1.1614' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DB_UPDATE_VERSION', 1159 ); @@ -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,