mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
This commit is contained in:
@@ -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="";
|
||||
|
||||
Reference in New Issue
Block a user