diff --git a/content/bindings.xml.php b/content/bindings.xml.php index b08317369..7938af7f7 100644 --- a/content/bindings.xml.php +++ b/content/bindings.xml.php @@ -11,7 +11,7 @@ - + @@ -21,18 +21,15 @@ - + diff --git a/content/functions.js.php b/content/functions.js.php index 92e7d011e..858ffec94 100644 --- a/content/functions.js.php +++ b/content/functions.js.php @@ -102,4 +102,19 @@ function ParseReturnValue(response) function SetStatusBarText(text) { document.getElementById('statusbarpanel-text').label=text; +} + + +// **** +// * Prueft ein Datum auf Gueltigkeit +// * Erlaubte Formate: 1.1.2007, 31.12.2007 +// **** +function CheckDatum(datum) +{ + var pattern = /^(0[1-9]|[1-9]|[12][0-9]|3[01])[.](0[1-9]|[1-9]|1[012])[.](19|20)\d\d$/ + + if(pattern.exec(datum)) + return true; + else + return false; } \ No newline at end of file diff --git a/content/student/studentnotenoverlay.xul.php b/content/student/studentnotenoverlay.xul.php index 5d786c64a..44708409b 100644 --- a/content/student/studentnotenoverlay.xul.php +++ b/content/student/studentnotenoverlay.xul.php @@ -27,6 +27,8 @@ header("Pragma: no-cache"); header("Content-type: application/vnd.mozilla.xul+xml"); require_once('../../vilesci/config.inc.php'); echo ''; + +echo ""; ?> ';