From 9ba6f3b538b123c67ee7d3a045816ed0b3e656d6 Mon Sep 17 00:00:00 2001 From: Cris Date: Tue, 2 Mar 2021 15:44:46 +0100 Subject: [PATCH] Fixed HTML code appearing within mail message body . by breaking lines with \n . using nowrap to avoid breaking text Signed-off-by: cris-technikum --- content/statistik/bewerberstatistik.php | 36 ++++++++++++++----------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/content/statistik/bewerberstatistik.php b/content/statistik/bewerberstatistik.php index 932a8c6cb..47e5dd0ec 100644 --- a/content/statistik/bewerberstatistik.php +++ b/content/statistik/bewerberstatistik.php @@ -1733,6 +1733,7 @@ else $content .= ""; $content .= ''; + $content .= "\n"; } //Aufsplittungen für Mischformen holen @@ -1744,28 +1745,32 @@ else { if ($db->db_num_rows($result) > 0) { - $content .= "

Aufsplittung Mischformen


"; - $content .= "\n - - - "; + $content .= "

"; + $content .= "

Aufsplittung Mischformen


"; + $content .= "\n
Studiengang
"; + $content .= "\n"; + $content .= "\n"; + $content .= "\n"; foreach ($studenttypes as $heading) { - $content .= ""; + $content .= "\n"; } - $content .= ""; + $content .= "\n"; + $content .= "\n\n"; //orgformheadings (VZ, BB,...) ausgeben for ($i = 0; $i < $noStudenttypes; $i++) { foreach ($orgform_arr as $row_orgform) { - $content .= ""; } } - $content .= ""; + $content .= "\n"; + $content .= "\n"; + $content .= "\n"; $sumarr = array(); @@ -1773,13 +1778,13 @@ else { $content .= "\n"; $content .= ''; - $content .= ""; + $content .= "\n"; foreach ($studenttypes as $key => $value) { foreach ($orgform_arr as $row_orgform) { $fullAlias = $key."_".mb_strtolower($row_orgform); - $content .= ""; //Summe berechnen @@ -1794,14 +1799,15 @@ else } } } - $content .= ""; + $content .= "\n"; $content .= "\n"; - $content .= ''; - $content .= ""; + $content .= ""; + $content .= ''; + $content .= "\n"; foreach ($sumarr as $sum) { - $content .= ""; + $content .= "\n"; } $content .= ""; $content .= '
Studiengang$heading$heading
 
"; + $content .= "\n"; $content .= $row_orgform; $content .= "
".mb_strtoupper($row->typ.$row->kurzbz)." ($row->kurzbzlang)".mb_strtoupper($row->typ.$row->kurzbz)." ($row->kurzbzlang)"; + $content .= "\n"; $content .= $row->{$fullAlias}; $content .= "
Summe
Summe".$sum."".$sum."
';