From 2b8c88e1d49b0e6973e7ac490bf226b56d14b24f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Fri, 8 Jun 2007 12:24:01 +0000 Subject: [PATCH] --- content/bindings.xml.php | 17 +++++------ content/functions.js.php | 15 ++++++++++ content/student/studentnotenoverlay.xul.php | 3 ++ include/zeugnisnote.class.php | 32 ++++++++++++++++----- 4 files changed, 50 insertions(+), 17 deletions(-) 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 ""; ?> ';