mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Anpassungen an CIS-Redesign
news.php: Wenn Student Incoming ist, wird bei den Studiengang-Details der ECI-Studiengang angezeigt
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__).'/../../include/basis_db.class.php');
|
||||
require_once(dirname(__FILE__).'/../../include/functions.inc.php');
|
||||
|
||||
class menu_addon extends basis_db
|
||||
{
|
||||
@@ -79,14 +80,15 @@ class menu_addon extends basis_db
|
||||
$content = $includeparams['content'];
|
||||
|
||||
if($this->link)
|
||||
DrawLink($this->linkitem['link'],$this->linkitem['target'],$this->linkitem['name'],$this->linkitem['content_id']);
|
||||
echo '
|
||||
<table class="tabcontent" id="Content'.$content->content_id.'" style="display: '.($content->menu_open?'visible':'none').'"><tr><td>';
|
||||
($content->menu_open?(DrawLink($this->linkitem['link'],$this->linkitem['target'],$this->linkitem['name'],$this->linkitem['content_id'])):'');
|
||||
//Wenn Option "Menü öffen" angeklickt ist, erschein die Überschrift, sonst nicht -> Ist eine Pfusch-Lösung. Was kann man sonst machen damit Überschrift "Meine LV" nicht angezeigt wird?
|
||||
//echo '
|
||||
//<table class="tabcontent" id="Content'.$content->content_id.'" style="display: '.($content->menu_open?'visible':'none').'"><tr><td>';
|
||||
|
||||
$this->outputBlock();
|
||||
$this->outputItems();
|
||||
|
||||
echo '</td></tr></table>';
|
||||
//echo '</td></tr></table>';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -95,13 +97,20 @@ class menu_addon extends basis_db
|
||||
*/
|
||||
public function outputItems()
|
||||
{
|
||||
$user = get_uid();
|
||||
$is_lector=check_lektor($user);
|
||||
|
||||
$sprache = getSprache();
|
||||
$p=new phrasen($sprache);
|
||||
|
||||
if(count($this->items)>0)
|
||||
{
|
||||
echo '<ul style="margin-top: 0px; margin-bottom: 0px;">';
|
||||
echo '<ul>';
|
||||
|
||||
foreach($this->items as $row)
|
||||
{
|
||||
echo '<li>
|
||||
<a class="Item2" title="'.$row['title'].'" href="'.$row['link'].'" target="'.$row['target'].'">'.$row['name'].'</a>
|
||||
echo '<li style="margin:0px;">
|
||||
<a class="item2 " title="'.$row['title'].'" href="'.$row['link'].'" target="'.$row['target'].'">'.$row['name'].'</a>
|
||||
</li>';
|
||||
}
|
||||
echo '</ul>';
|
||||
|
||||
@@ -79,7 +79,7 @@ class menu_addon_lehrveranstaltungen extends menu_addon
|
||||
<tr>
|
||||
<td width="81" class="tdwrap">'.$p->t('global/studiengang').': </td>
|
||||
<td class="tdwrap">
|
||||
<select name="course" onChange="MM_jumpMenu(\'self\',this,0)">';
|
||||
<select name="course" onChange="MM_jumpMenu(\'self\',this,0)" style="width: 100px;">';
|
||||
|
||||
$stg_obj = new studiengang();
|
||||
$stg_obj->getAll('typ, kurzbz');
|
||||
@@ -102,12 +102,12 @@ class menu_addon_lehrveranstaltungen extends menu_addon
|
||||
{
|
||||
if(isset($studiengang_kz) AND $studiengang_kz == $row->studiengang_kz)
|
||||
{
|
||||
$this->block.= '<option value="?content_id='.$_GET['content_id'].'&studiengang_kz='.$row->studiengang_kz.'&semester='.$semester.'" selected>'.$row->kuerzel .' ('.$row->kurzbzlang.')</option>';
|
||||
$this->block.= '<option value="?content_id='.$_GET['content_id'].'&studiengang_kz='.$row->studiengang_kz.'&semester='.$semester.'" selected>'.$row->kuerzel .' ('.$row->bezeichnung.')</option>';
|
||||
$sel_kurzbzlang=$row->kurzbzlang;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->block.='<option value="?content_id='.$_GET['content_id'].'&studiengang_kz='.$row->studiengang_kz.'&semester='.$semester.'">'.$row->kuerzel .' ('.$row->kurzbzlang.')</option>';
|
||||
$this->block.='<option value="?content_id='.$_GET['content_id'].'&studiengang_kz='.$row->studiengang_kz.'&semester='.$semester.'">'.$row->kuerzel .' ('.$row->bezeichnung.')</option>';
|
||||
}
|
||||
if(!isset($studiengang_kz))
|
||||
{
|
||||
|
||||
@@ -104,6 +104,7 @@ class menu_addon_meinelv extends menu_addon
|
||||
|
||||
if($result = $this->db_query($qry))
|
||||
{
|
||||
echo '<li style="margin-left:6px;"><a title="LV-Uebersicht" href="../cis/private/profile/lva_liste.php" target="content"><strong>'.$p->t("lvaliste/titel").'</strong></a></li>';
|
||||
while($row = $this->db_fetch_object($result))
|
||||
{
|
||||
$lv_obj = new lehrveranstaltung();
|
||||
|
||||
Reference in New Issue
Block a user