X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofiles.php;h=4a1d1ad93479033342ec504ff7cfa949b3f0ce78;hb=ab60641e3ba731aca42ab510bdf9c2411db6aab4;hp=b73c46e71c5d6c87322328e8e8fcefaeffc51c70;hpb=9237b2611a1112072a5c5955999c557562a07153;p=friendica.git diff --git a/mod/profiles.php b/mod/profiles.php index b73c46e71c..4a1d1ad934 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -1,6 +1,11 @@ page['htmlhead'] .= replace_macros(get_markup_template('profed_head.tpl'), array( - '$baseurl' => App::get_baseurl(true), + '$baseurl' => System::baseUrl(true), )); $a->page['end'] .= replace_macros(get_markup_template('profed_end.tpl'), array( - '$baseurl' => App::get_baseurl(true), + '$baseurl' => System::baseUrl(true), )); $opt_tpl = get_markup_template("profile-hide-friends.tpl"); @@ -637,7 +635,7 @@ function profiles_content(App $a) { t('Hide contacts and friends:'), //Label !!$r[0]['hide-friends'], //Value '', //Help string - array(t('No'),t('Yes')) //Off - On strings + array(t('No'), t('Yes')) //Off - On strings ), '$desc' => t('Hide your contact/friend list from viewers of this profile?'), '$yes_str' => t('Yes'), @@ -704,7 +702,7 @@ function profiles_content(App $a) { '$lbl_ex2' => t('Example: fishing photography software'), '$disabled' => (($is_default) ? 'onclick="return false;" style="color: #BBBBFF;"' : ''), - '$baseurl' => App::get_baseurl(true), + '$baseurl' => System::baseUrl(true), '$profile_id' => $r[0]['id'], '$profile_name' => array('profile_name', t('Profile Name:'), $r[0]['profile-name'], t('Required'), '*'), '$is_default' => $is_default, @@ -739,7 +737,7 @@ function profiles_content(App $a) { '$tv' => array('tv', t('Television'), $r[0]['tv']), '$film' => array('film', t('Film/dance/culture/entertainment'), $r[0]['film']), '$interest' => array('interest', t('Hobbies/Interests'), $r[0]['interest']), - '$romance' => array('romance',t('Love/romance'), $r[0]['romance']), + '$romance' => array('romance', t('Love/romance'), $r[0]['romance']), '$work' => array('work', t('Work/employment'), $r[0]['work']), '$education' => array('education', t('School/education'), $r[0]['education']), '$contact' => array('contact', t('Contact information and Social Networks'), $r[0]['contact']),