X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofiles.php;h=d951a470d7605db79ea8f97af1eeba3278b39c0e;hb=76b40cf05ec201811aedb22df0217bd027ebcbd1;hp=e65b51aff4bd51a278ff463b3a93d6bd636ccb14;hpb=a6fb3568f989f72164b435baafc63a174397b542;p=friendica.git diff --git a/mod/profiles.php b/mod/profiles.php index e65b51aff4..d951a470d7 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -152,12 +152,10 @@ function profiles_init(App $a) { Profile::load($a, $a->user['nickname'], $r[0]['id']); } - - - } -function profile_clean_keywords($keywords) { +function profile_clean_keywords($keywords) +{ $keywords = str_replace(",", " ", $keywords); $keywords = explode(" ", $keywords); @@ -550,7 +548,7 @@ function profiles_content(App $a) { ]); $personal_account = !(in_array($a->user["page-flags"], - [PAGE_COMMUNITY, PAGE_PRVGROUP])); + [Contact::PAGE_COMMUNITY, Contact::PAGE_PRVGROUP])); $detailled_profile = (PConfig::get(local_user(), 'system', 'detailled_profile') AND $personal_account); @@ -578,7 +576,9 @@ function profiles_content(App $a) { '$banner' => L10n::t('Edit Profile Details'), '$submit' => L10n::t('Submit'), '$profpic' => L10n::t('Change Profile Photo'), + '$profpiclink' => '/photos/' . $a->user['nickname'], '$viewprof' => L10n::t('View this profile'), + '$viewallprof' => L10n::t('View all profiles'), '$editvis' => L10n::t('Edit visibility'), '$cr_prof' => L10n::t('Create a new profile using these settings'), '$cl_prof' => L10n::t('Clone this profile'),