From: Friendika Date: Fri, 4 Mar 2011 06:53:20 +0000 (-0800) Subject: use prepare_body for text preparation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=15d3be18a96606cdb099050e964a848fb0b252e6;p=friendica.git use prepare_body for text preparation --- diff --git a/view/de/profile_advanced.php b/view/de/profile_advanced.php index d2b9d06125..aec1b01087 100644 --- a/view/de/profile_advanced.php +++ b/view/de/profile_advanced.php @@ -113,7 +113,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['about'])) { +if($txt = prepare_body($a->profile['about'])) { $o .= <<< EOT
About:
@@ -124,7 +124,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['interest'])) { +if($txt = prepare_body($a->profile['interest'])) { $o .= <<< EOT
Hobbies/Interests:
@@ -135,7 +135,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['contact'])) { +if($txt = prepare_body($a->profile['contact'])) { $o .= <<< EOT
Contact information and Social Networks:
@@ -146,7 +146,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['music'])) { +if($txt = prepare_body($a->profile['music'])) { $o .= <<< EOT
Musical interests:
@@ -157,7 +157,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['book'])) { +if($txt = prepare_body($a->profile['book'])) { $o .= <<< EOT
Books, literature:
@@ -168,7 +168,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['tv'])) { +if($txt = prepare_body($a->profile['tv'])) { $o .= <<< EOT
Television:
@@ -179,7 +179,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['film'])) { +if($txt = prepare_body($a->profile['film'])) { $o .= <<< EOT
Film/dance/culture/entertainment:
@@ -190,7 +190,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['romance'])) { +if($txt = prepare_body($a->profile['romance'])) { $o .= <<< EOT
Love/romance:
@@ -201,7 +201,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['work'])) { +if($txt = prepare_body($a->profile['work'])) { $o .= <<< EOT
Work/employment:
@@ -212,7 +212,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['education'])) { +if($txt = prepare_body($a->profile['education'])) { $o .= <<< EOT
School/education:
diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php index d2b9d06125..aec1b01087 100644 --- a/view/en/profile_advanced.php +++ b/view/en/profile_advanced.php @@ -113,7 +113,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['about'])) { +if($txt = prepare_body($a->profile['about'])) { $o .= <<< EOT
About:
@@ -124,7 +124,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['interest'])) { +if($txt = prepare_body($a->profile['interest'])) { $o .= <<< EOT
Hobbies/Interests:
@@ -135,7 +135,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['contact'])) { +if($txt = prepare_body($a->profile['contact'])) { $o .= <<< EOT
Contact information and Social Networks:
@@ -146,7 +146,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['music'])) { +if($txt = prepare_body($a->profile['music'])) { $o .= <<< EOT
Musical interests:
@@ -157,7 +157,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['book'])) { +if($txt = prepare_body($a->profile['book'])) { $o .= <<< EOT
Books, literature:
@@ -168,7 +168,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['tv'])) { +if($txt = prepare_body($a->profile['tv'])) { $o .= <<< EOT
Television:
@@ -179,7 +179,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['film'])) { +if($txt = prepare_body($a->profile['film'])) { $o .= <<< EOT
Film/dance/culture/entertainment:
@@ -190,7 +190,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['romance'])) { +if($txt = prepare_body($a->profile['romance'])) { $o .= <<< EOT
Love/romance:
@@ -201,7 +201,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['work'])) { +if($txt = prepare_body($a->profile['work'])) { $o .= <<< EOT
Work/employment:
@@ -212,7 +212,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['education'])) { +if($txt = prepare_body($a->profile['education'])) { $o .= <<< EOT
School/education:
diff --git a/view/fr/profile_advanced.php b/view/fr/profile_advanced.php index f2c8913830..c7f8834da4 100644 --- a/view/fr/profile_advanced.php +++ b/view/fr/profile_advanced.php @@ -113,7 +113,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['about'])) { +if($txt = prepare_body($a->profile['about'])) { $o .= <<< EOT
About:
@@ -124,7 +124,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['interest'])) { +if($txt = prepare_body($a->profile['interest'])) { $o .= <<< EOT
Hobbies/Interests:
@@ -135,7 +135,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['contact'])) { +if($txt = prepare_body($a->profile['contact'])) { $o .= <<< EOT
Contact information and Social Networks:
@@ -146,7 +146,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['music'])) { +if($txt = prepare_body($a->profile['music'])) { $o .= <<< EOT
Musical interests:
@@ -157,7 +157,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['book'])) { +if($txt = prepare_body($a->profile['book'])) { $o .= <<< EOT
Books, literature:
@@ -168,7 +168,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['tv'])) { +if($txt = prepare_body($a->profile['tv'])) { $o .= <<< EOT
Television:
@@ -179,7 +179,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['film'])) { +if($txt = prepare_body($a->profile['film'])) { $o .= <<< EOT
Film/dance/culture/entertainment:
@@ -190,7 +190,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['romance'])) { +if($txt = prepare_body($a->profile['romance'])) { $o .= <<< EOT
Love/romance:
@@ -201,7 +201,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['work'])) { +if($txt = prepare_body($a->profile['work'])) { $o .= <<< EOT
Work/employment:
@@ -212,7 +212,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['education'])) { +if($txt = prepare_body($a->profile['education'])) { $o .= <<< EOT
School/education:
diff --git a/view/it/profile_advanced.php b/view/it/profile_advanced.php index 44327f6a62..ee6d8b50d4 100644 --- a/view/it/profile_advanced.php +++ b/view/it/profile_advanced.php @@ -113,7 +113,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['about'])) { +if($txt = prepare_body($a->profile['about'])) { $o .= <<< EOT
Informazioni varie:
@@ -124,7 +124,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['interest'])) { +if($txt = prepare_body($a->profile['interest'])) { $o .= <<< EOT
Hobbie/Interessi:
@@ -135,7 +135,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['contact'])) { +if($txt = prepare_body($a->profile['contact'])) { $o .= <<< EOT
Informazioni su contatti e Social Networks:
@@ -146,7 +146,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['music'])) { +if($txt = prepare_body($a->profile['music'])) { $o .= <<< EOT
Interessi musicali:
@@ -157,7 +157,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['book'])) { +if($txt = prepare_body($a->profile['book'])) { $o .= <<< EOT
Libri, letteratura:
@@ -168,7 +168,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['tv'])) { +if($txt = prepare_body($a->profile['tv'])) { $o .= <<< EOT
Televisione:
@@ -179,7 +179,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['film'])) { +if($txt = prepare_body($a->profile['film'])) { $o .= <<< EOT
Film/danza/cultura/intrattenimento:
@@ -190,7 +190,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['romance'])) { +if($txt = prepare_body($a->profile['romance'])) { $o .= <<< EOT
Amore/romanticismo:
@@ -201,7 +201,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['work'])) { +if($txt = prepare_body($a->profile['work'])) { $o .= <<< EOT
Lavoro/impiego:
@@ -212,7 +212,7 @@ $o .= <<< EOT EOT; } -if($txt = bbcode($a->profile['education'])) { +if($txt = prepare_body($a->profile['education'])) { $o .= <<< EOT
Scuola/educazione: