mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-24 15:39:28 +00:00
Neuen Config Eintrag hinzugefügt ob die LV-Note vom Lektor eingetragen werden darf wenn bereis eine Zeugnisnote vorhanden ist
This commit is contained in:
@@ -1021,41 +1021,48 @@ echo "
|
||||
else
|
||||
$hide = "style='display:block;visibility:visible;'";
|
||||
|
||||
echo "<td valign='bottom' nowrap>
|
||||
<form name='$row_stud->uid' id='$row_stud->uid' method='POST' action='".$_SERVER['PHP_SELF']."?lvid=$lvid&lehreinheit_id=$lehreinheit_id&stsem=$stsem'>
|
||||
<span id='lvnoteneingabe_".$row_stud->uid."' ".$hide.">
|
||||
<input type='hidden' name='student_uid' value='$row_stud->uid'>";
|
||||
|
||||
// Punkte
|
||||
if(CIS_GESAMTNOTE_PUNKTE)
|
||||
if(!defined('CIS_GESAMTNOTE_UEBERSCHREIBEN') || CIS_GESAMTNOTE_UEBERSCHREIBEN || (!CIS_GESAMTNOTE_UEBERSCHREIBEN && is_null($znote)))
|
||||
{
|
||||
//$punkte_lv = $punkte_vorschlag;
|
||||
echo '<input type="text" name="punkte" id="textbox-punkte-'.$i.'" value="'.$punkte_vorschlag.'" size="3" oninput="PunkteEingabe('.$i.')"/>';
|
||||
}
|
||||
echo "<td valign='bottom' nowrap>
|
||||
<form name='$row_stud->uid' id='$row_stud->uid' method='POST' action='".$_SERVER['PHP_SELF']."?lvid=$lvid&lehreinheit_id=$lehreinheit_id&stsem=$stsem'>
|
||||
<span id='lvnoteneingabe_".$row_stud->uid."' ".$hide.">
|
||||
<input type='hidden' name='student_uid' value='$row_stud->uid'>";
|
||||
|
||||
// Punkte
|
||||
if(CIS_GESAMTNOTE_PUNKTE)
|
||||
{
|
||||
//$punkte_lv = $punkte_vorschlag;
|
||||
echo '<input type="text" name="punkte" id="textbox-punkte-'.$i.'" value="'.$punkte_vorschlag.'" size="3" oninput="PunkteEingabe('.$i.')"/>';
|
||||
}
|
||||
|
||||
// Noten DropDown
|
||||
if($punkte_vorschlag!='' && CIS_GESAMTNOTE_PUNKTE)
|
||||
$disabled='disabled="disabled"';
|
||||
else
|
||||
$disabled='';
|
||||
echo '<select name="note" id="dropdown-note-'.$i.'" '.$disabled.'>';
|
||||
echo '<option value="">-- keine Auswahl --</option>';
|
||||
foreach($noten_obj->result as $row_note)
|
||||
{
|
||||
if($row_note->note == $note_vorschlag)
|
||||
$selected='selected';
|
||||
// Noten DropDown
|
||||
if($punkte_vorschlag!='' && CIS_GESAMTNOTE_PUNKTE)
|
||||
$disabled='disabled="disabled"';
|
||||
else
|
||||
$selected='';
|
||||
$disabled='';
|
||||
echo '<select name="note" id="dropdown-note-'.$i.'" '.$disabled.'>';
|
||||
echo '<option value="">-- keine Auswahl --</option>';
|
||||
foreach($noten_obj->result as $row_note)
|
||||
{
|
||||
if($row_note->note == $note_vorschlag)
|
||||
$selected='selected';
|
||||
else
|
||||
$selected='';
|
||||
|
||||
if($row_note->lehre && $row_note->aktiv)
|
||||
echo '<option value="'.$row_note->note.'" '.$selected.'>'.$row_note->bezeichnung.'</option>';
|
||||
if($row_note->lehre && $row_note->aktiv)
|
||||
echo '<option value="'.$row_note->note.'" '.$selected.'>'.$row_note->bezeichnung.'</option>';
|
||||
}
|
||||
echo '</select>';
|
||||
echo "
|
||||
<input type='hidden' name='note_orig' value='$note_lv'>
|
||||
<input type='button' value='->' onclick=\"saveLVNote('".$row_stud->uid."');\">
|
||||
</span>
|
||||
</form></td>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo '<td></td>';
|
||||
}
|
||||
echo '</select>';
|
||||
echo "
|
||||
<input type='hidden' name='note_orig' value='$note_lv'>
|
||||
<input type='button' value='->' onclick=\"saveLVNote('".$row_stud->uid."');\">
|
||||
</span>
|
||||
</form></td>";
|
||||
|
||||
if(isset($noten_array[$note_lv]) && $noten_array[$note_lv]['positiv']==false)
|
||||
$negmarkier = " style='color:red; font-weight:bold;'";
|
||||
|
||||
@@ -45,6 +45,9 @@ define('CIS_ANWESENHEITSLISTE_NOTENLISTE_ANZEIGEN',true);
|
||||
// Punkte bei der Noteneingabe anzeigen
|
||||
define('CIS_GESAMTNOTE_PUNKTE',false);
|
||||
|
||||
// Gibt an ob der Lektor erneut eine LVNote eintragen kann wenn bereits eine Zeugnisnote vorhanden ist (true | false) DEFAULT true
|
||||
define('CIS_GESAMTNOTE_UEBERSCHREIBEN',true);
|
||||
|
||||
// Anzeigeoptionen für LV-Plan Menü
|
||||
define('CIS_LVPLAN_EXPORT_ANZEIGEN',true);
|
||||
define('CIS_LVPLAN_PERSONENAUSWAHL_ANZEIGEN',true);
|
||||
|
||||
Reference in New Issue
Block a user