X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofiles.php;h=5cc9fa38c4728e31c0473d339701dc9d68e1efb7;hb=71d44d78ec5b16a53b82f4e631b86cd8247a9b0f;hp=7041249e24b50ac8f952da11b7895379195e819e;hpb=e6444adafdd3c50913ca44d8701996e058e064b9;p=friendica.git
diff --git a/mod/profiles.php b/mod/profiles.php
index 7041249e24..5cc9fa38c4 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -220,7 +220,7 @@ function profiles_post(&$a) {
function profiles_content(&$a) {
$o = '';
- $o .= set_nav_selected('nav-profiles-link');
+ nav_set_selected('profiles');
if(! local_user()) {
notice( t('Permission denied.') . EOL);
@@ -361,6 +361,9 @@ function profiles_content(&$a) {
$a->page['htmlhead'] .= replace_macros($tpl, array('$baseurl' => $a->get_baseurl()));
$a->page['htmlhead'] .= "";
+ $f = get_config('system','birthday_input_format');
+ if(! $f)
+ $f = 'ymd';
$is_default = (($r[0]['is-default']) ? 1 : 0);
$tpl = get_markup_template("profile_edit.tpl");
@@ -375,7 +378,7 @@ function profiles_content(&$a) {
'$lbl_fullname' => t('Your Full Name:'),
'$lbl_title' => t('Title/Description:'),
'$lbl_gender' => t('Your Gender:'),
- '$lbl_bd' => t("Birthday \x28y/m/d\x29:"),
+ '$lbl_bd' => sprintf( t("Birthday \x28%s\x29:"),datesel_format($f)),
'$lbl_address' => t('Street Address:'),
'$lbl_city' => t('Locality/City:'),
'$lbl_zip' => t('Postal/Zip Code:'),
@@ -466,7 +469,7 @@ function profiles_content(&$a) {
'$id' => $rr['id'],
'$alt' => t('Profile Image'),
'$profile_name' => $rr['profile-name'],
- '$visible' => (($rr['is-default']) ? '' . t('Visible to everybody') . ''
+ '$visible' => (($rr['is-default']) ? '' . t('visible to everybody') . ''
: '' . t('Edit visibility') . '')
));
}