This commit is contained in:
Andreas Österreicher
2011-10-03 15:00:30 +00:00
parent 5a2cedcbe6
commit 9b57c4f68a
2 changed files with 3 additions and 3 deletions
@@ -90,7 +90,7 @@ $note = $_REQUEST["note"];
// lvgesamtnote für studenten speichern
if (isset($_REQUEST["submit"]) && ($_REQUEST["student_uid"] != '') && ((($note>0) && ($note < 6)) || ($note == 7) || ($note==8)) ){
if (isset($_REQUEST["submit"]) && ($_REQUEST["student_uid"] != '') && ((($note>0) && ($note < 6)) || ($note == 7) || ($note==8) || ($note==16)) ){
$jetzt = date("Y-m-d H:i:s");
$student_uid = $_REQUEST["student_uid"];
@@ -97,7 +97,7 @@ $uid = (isset($_GET['uid'])?$_GET['uid']:'');
}
function confirmdelete()
{
return confirm(<?php echo $p->t('gesamtnote/wollenSieWirklichLoeschen');?>);
return confirm('<?php echo $p->t('gesamtnote/wollenSieWirklichLoeschen');?>');
}
@@ -135,7 +135,7 @@ $uid = (isset($_GET['uid'])?$_GET['uid']:'');
function saveLENote(uid)
{
note = document.getElementById(uid).note.value;
if ((note < 0) || (note > 5 && note != 8 && note != 7))
if ((note < 0) || (note > 5 && note != 8 && note != 7 && note!=16))
{
alert("<?php echo $p->t('benotungstool/noteEingeben');?>");
document.getElementById(uid).note.value="";