mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 01:42:17 +00:00
bisio mit allen nötigen Abhängigkeiten für "eine UID" geändert
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2013 fhcomplete.org
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*
|
||||
*
|
||||
* Authors: Andreas Österreicher <andreas.oesterreicher@technikum-wien.at>
|
||||
*
|
||||
@@ -76,7 +76,7 @@ if(isset($_GET['getAnmeldung']))
|
||||
|
||||
// Die Anmeldung ist zur Lehrveranstaltung selbst und zu den dazu kompatiblen Lehrveranstaltungen moeglich
|
||||
$kompatibel = $lehrveranstaltung->loadLVkompatibel($lehrveranstaltung_id);
|
||||
|
||||
|
||||
$datum = new datum();
|
||||
$kompatibel[]=$lehrveranstaltung_id;
|
||||
$kompatibel = array_unique($kompatibel);
|
||||
@@ -121,7 +121,7 @@ if(isset($_GET['getAnmeldung']))
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if($anzahl>0)
|
||||
echo '<br><br><input type="submit" value="'.$p->t('studienplan/anmelden').'" /></form>';
|
||||
else
|
||||
@@ -231,7 +231,7 @@ $tree = $lehrveranstaltung->getLehrveranstaltungTree();
|
||||
|
||||
|
||||
/*
|
||||
Vom Semesterstart des Studierenden ausgehend werden die Studiensemester geladen.
|
||||
Vom Semesterstart des Studierenden ausgehend werden die Studiensemester geladen.
|
||||
Es werden mindestens so viele Studiensemester geladen wie die Regelstudiendauer des
|
||||
Studienplanes angibt.
|
||||
*/
|
||||
@@ -269,7 +269,7 @@ if(!in_array($stsemToShow,$stsem_arr))
|
||||
// Noten des Studierenden holen
|
||||
$noten_arr=array();
|
||||
$zeugnisnote = new zeugnisnote();
|
||||
if($zeugnisnote->getZeugnisnoten('',$uid,''))
|
||||
if($zeugnisnote->getZeugnisnoten('',$student->prestudent_id,''))
|
||||
{
|
||||
foreach($zeugnisnote->result as $row_note)
|
||||
{
|
||||
@@ -307,7 +307,7 @@ echo '<table style="border: 1px solid black">
|
||||
|
||||
if(CIS_STUDIENPLAN_SEMESTER_ANZEIGEN)
|
||||
echo '<th>'.$p->t('global/semester').'</th>';
|
||||
|
||||
|
||||
echo '<th>'.$p->t('studienplan/ects').'</th>
|
||||
<th>'.$p->t('studienplan/status').'</th>';
|
||||
|
||||
@@ -362,7 +362,7 @@ function drawTree($tree, $depth)
|
||||
default:
|
||||
$icon='';
|
||||
}
|
||||
|
||||
|
||||
|
||||
echo '<tr'.$style.'>
|
||||
<td>'.$bstart;
|
||||
@@ -402,14 +402,14 @@ function drawTree($tree, $depth)
|
||||
// Bezeichnung der Lehrveranstaltung
|
||||
echo $icon." ".$termine." ".$row_tree->kurzbz.' - '.$row_tree->bezeichnung;
|
||||
echo $bende.'</td>';
|
||||
|
||||
|
||||
// Semester
|
||||
if(CIS_STUDIENPLAN_SEMESTER_ANZEIGEN)
|
||||
echo '<td>'.$row_tree->semester.'</td>';
|
||||
|
||||
|
||||
// ECTS Punkte
|
||||
echo '<td>'.$row_tree->ects.'</td>';
|
||||
|
||||
|
||||
// Status der LV (absolviert, offen)
|
||||
echo '<td>';
|
||||
|
||||
@@ -440,11 +440,11 @@ function drawTree($tree, $depth)
|
||||
}
|
||||
echo '</td>';
|
||||
|
||||
// Spalten für die einzelnen Studiensemester
|
||||
// Spalten für die einzelnen Studiensemester
|
||||
foreach($stsem_arr as $key=>$stsem)
|
||||
{
|
||||
$semester=$key+1;
|
||||
|
||||
|
||||
$tdclass=array();
|
||||
//Empfehlung holen
|
||||
// if(isset($lv_arr[$row_tree->lehrveranstaltung_id]))
|
||||
@@ -495,7 +495,7 @@ function drawTree($tree, $depth)
|
||||
// Angebot der LV pruefen
|
||||
if(isset($lvangebot_arr[$row_lvid])
|
||||
&& isset($lvangebot_arr[$row_lvid][$stsem]))
|
||||
{
|
||||
{
|
||||
$angebot_vorhanden=true;
|
||||
// LV findet statt
|
||||
$angebot = $lvangebot_arr[$row_lvid][$stsem];
|
||||
@@ -537,7 +537,7 @@ function drawTree($tree, $depth)
|
||||
}
|
||||
else
|
||||
{
|
||||
if($anmeldungmoeglich)
|
||||
if($anmeldungmoeglich)
|
||||
$tdinhalt.= '<a href="#" onclick="OpenAnmeldung(\''.$row_tree->lehrveranstaltung_id.'\',\''.$stsem.'\'); return false;"><img src="../../../skin/images/anmelden.png" title="'.$p->t('studienplan/anmelden').'" height="15px" /></a>';
|
||||
else
|
||||
$tdinhalt.= '<span title="'.$anmeldeinformation.'">-</a>';
|
||||
@@ -559,7 +559,7 @@ function drawTree($tree, $depth)
|
||||
echo '</td>';
|
||||
}
|
||||
echo '</tr>';
|
||||
|
||||
|
||||
// Wenn Subtree vorhanden, dann anzeigen
|
||||
if(!empty($row_tree->childs))
|
||||
drawTree($row_tree->childs, $depth+1);
|
||||
|
||||
Reference in New Issue
Block a user