Skip to content
Snippets Groups Projects
Commit 386845f0 authored by Hotte's avatar Hotte
Browse files

rechtschreibkorrektur + weniger haessliches semikolon

parent f91d96b7
Branches
No related tags found
No related merge requests found
...@@ -110,6 +110,7 @@ function shortenText($text) { ...@@ -110,6 +110,7 @@ function shortenText($text) {
$text = preg_replace ( '#,\sdazu\s\d\sBeilagen\snach\sWahl#', '', $text ); // remove Beilagen $text = preg_replace ( '#,\sdazu\s\d\sBeilagen\snach\sWahl#', '', $text ); // remove Beilagen
$text = preg_replace ( '#,\sdazu\s#', ' + ', $text ); // replace dazu $text = preg_replace ( '#,\sdazu\s#', ' + ', $text ); // replace dazu
$text = preg_replace ( '#\sund\s#', ' & ', $text ); // replace und $text = preg_replace ( '#\sund\s#', ' & ', $text ); // replace und
$text = str_replace(' ;','; ',$text); //weniger hässlich
return $text; return $text;
} }
......
...@@ -77,10 +77,10 @@ this.loaded = function(panel, config) { ...@@ -77,10 +77,10 @@ this.loaded = function(panel, config) {
break; break;
} }
if (next) { if (next) {
document.getElementById("mensaPlanTitleBar").innerHTML = "Mensaplan von MORGEN dem " document.getElementById("mensaPlanTitleBar").innerHTML = "Mensaplan von MORGEN, dem "
+ day[0].date; + day[0].date;
} else { } else {
document.getElementById("mensaPlanTitleBar").innerHTML = "Mensaplan von HEUTE dem " document.getElementById("mensaPlanTitleBar").innerHTML = "Mensaplan von HEUTE, dem "
+ day[0].date; + day[0].date;
} }
var tableBody1 = document.getElementById("mensaPlanTable1Body"); var tableBody1 = document.getElementById("mensaPlanTable1Body");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment