X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=view%2Fen%2Fprofile_advanced.php;h=6d2ecba4d6fda00b237c22192dfc190a291cefff;hb=232ed2bdc5387307cd8693c228b1bcd94a10fae9;hp=9aee6c26278dc5758672810aeecbdb74ce568c44;hpb=8b997791819ba419e7e2ceb7861bb0e3e37d87dd;p=friendica.git diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php index 9aee6c2627..6d2ecba4d6 100644 --- a/view/en/profile_advanced.php +++ b/view/en/profile_advanced.php @@ -39,8 +39,8 @@ EOT; $o .= '
' . ((intval($a->profile['dob'])) - ? day_translate(datetime_convert('UTC',date_default_timezone_get(),$a->profile['dob'],'j F, Y')) - : day_translate(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 .= '
'; @@ -112,8 +112,7 @@ $o .= <<< EOT
EOT; } - -if($txt = bbcode($a->profile['about'])) { +if($txt = prepare_text($a->profile['about'])) { $o .= <<< EOT
About:
@@ -124,7 +123,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['interest'])) { +if($txt = prepare_text($a->profile['interest'])) { $o .= <<< EOT
Hobbies/Interests:
@@ -135,7 +134,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['contact'])) { +if($txt = prepare_text($a->profile['contact'])) { $o .= <<< EOT
Contact information and Social Networks:
@@ -146,7 +145,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['music'])) { +if($txt = prepare_text($a->profile['music'])) { $o .= <<< EOT
Musical interests:
@@ -157,7 +156,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['book'])) { +if($txt = prepare_text($a->profile['book'])) { $o .= <<< EOT
Books, literature:
@@ -168,7 +167,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['tv'])) { +if($txt = prepare_text($a->profile['tv'])) { $o .= <<< EOT
Television:
@@ -179,7 +178,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['film'])) { +if($txt = prepare_text($a->profile['film'])) { $o .= <<< EOT
Film/dance/culture/entertainment:
@@ -190,7 +189,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['romance'])) { +if($txt = prepare_text($a->profile['romance'])) { $o .= <<< EOT
Love/romance:
@@ -201,7 +200,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['work'])) { +if($txt = prepare_text($a->profile['work'])) { $o .= <<< EOT
Work/employment:
@@ -212,7 +211,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['education'])) { +if($txt = prepare_text($a->profile['education'])) { $o .= <<< EOT
School/education: