X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fen%2Fprofile_advanced.php;h=6d2ecba4d6fda00b237c22192dfc190a291cefff;hb=64e92f34d94bec6800fd01a971b4bd901b3a51ca;hp=c736448e588903cfb6a512316c6e446162a84e18;hpb=4be5e57afdd0017d0cf40b23e60ff5b6e243992e;p=friendica.git
diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php
index c736448e58..6d2ecba4d6 100644
--- a/view/en/profile_advanced.php
+++ b/view/en/profile_advanced.php
@@ -39,8 +39,8 @@ EOT;
$o .= '
'
. ((intval($a->profile['dob']))
- ? datetime_convert('UTC',date_default_timezone_get(),$a->profile['dob'],'j F, Y')
- : datetime_convert('UTC',date_default_timezone_get(),'2001-' . substr($a->profile['dob'],6),'j F'))
+ ? day_translate(datetime_convert('UTC','UTC',$a->profile['dob'] . ' 00:00 +00:00','j F, Y'))
+ : day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],6) . ' 00:00 +00:00','j F')))
. "
\r\n";
$o .= '';
@@ -62,7 +62,11 @@ $o .= <<< EOT
♥ Status:
{$a->profile['marital']}
-
({$a->profile['with']})
+EOT;
+
+if($a->profile['with'])
+ $o .= "
({$a->profile['with']})
";
+$o .= <<< EOT
EOT;
@@ -108,8 +112,7 @@ $o .= <<< EOT
EOT;
}
-
-if($txt = bbcode($a->profile['about'])) {
+if($txt = prepare_text($a->profile['about'])) {
$o .= <<< EOT
About:
@@ -120,7 +123,7 @@ $o .= <<< EOT
EOT;
}
-if($txt = bbcode($a->profile['interest'])) {
+if($txt = prepare_text($a->profile['interest'])) {
$o .= <<< EOT
Hobbies/Interests:
@@ -131,7 +134,7 @@ $o .= <<< EOT
EOT;
}
-if($txt = bbcode($a->profile['contact'])) {
+if($txt = prepare_text($a->profile['contact'])) {
$o .= <<< EOT