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
Contact information and Social Networks:
@@ -142,7 +145,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['music'])) { +if($txt = prepare_text($a->profile['music'])) { $o .= <<< EOT
Musical interests:
@@ -153,7 +156,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['book'])) { +if($txt = prepare_text($a->profile['book'])) { $o .= <<< EOT
Books, literature:
@@ -164,7 +167,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['tv'])) { +if($txt = prepare_text($a->profile['tv'])) { $o .= <<< EOT
Television:
@@ -175,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:
@@ -186,7 +189,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['romance'])) { +if($txt = prepare_text($a->profile['romance'])) { $o .= <<< EOT
Love/romance:
@@ -197,7 +200,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['work'])) { +if($txt = prepare_text($a->profile['work'])) { $o .= <<< EOT
Work/employment:
@@ -208,7 +211,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['education'])) { +if($txt = prepare_text($a->profile['education'])) { $o .= <<< EOT
School/education:
@@ -219,3 +222,4 @@ $o .= <<< EOT EOT; } +