mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 09:22:22 +00:00
Merge master into HEAD
Conflicts: include/dokument_export.class.php include/studiengang.class.php vilesci/stammdaten/reihungstestverwaltung.php
This commit is contained in:
@@ -33,6 +33,7 @@ require_once('../../include/datum.class.php');
|
||||
require_once('../../include/person.class.php');
|
||||
require_once('../../include/benutzer.class.php');
|
||||
require_once('../../include/mitarbeiter.class.php');
|
||||
require_once('../../include/benutzerberechtigung.class.php');
|
||||
|
||||
if (!$db = new basis_db())
|
||||
die('Fehler beim Herstellen der Datenbankverbindung');
|
||||
@@ -44,6 +45,20 @@ require_once('../../include/pdf/fpdf.php');
|
||||
require_once('../../include/pdf.inc.php');
|
||||
|
||||
$getuid=get_uid();
|
||||
|
||||
$rechte = new benutzerberechtigung();
|
||||
$rechte->getBerechtigungen($getuid);
|
||||
|
||||
if (isset($_GET['user']))
|
||||
{
|
||||
if ($rechte->isBerechtigt('admin',null,'suid'))
|
||||
$getuid = $_GET['user'];
|
||||
else
|
||||
$getuid=get_uid();
|
||||
}
|
||||
else
|
||||
$getuid=get_uid();
|
||||
|
||||
$datum_obj = new datum();
|
||||
$htmlstr = "";
|
||||
$qualitaet='';
|
||||
@@ -153,7 +168,7 @@ else
|
||||
$pdf->SetXY(30,30);
|
||||
|
||||
//Logo
|
||||
$pdf->Image("../../skin/images/logo.jpg","400","25","160","54","jpg","");
|
||||
$pdf->Image("../../skin/styles/tw/logo.jpg","400","25","150","78","jpg","");
|
||||
|
||||
$pdf->SetFont('Arial','',12);
|
||||
$pdf->SetFillColor(190,190,190);
|
||||
|
||||
@@ -439,17 +439,20 @@ function checkZeilenUmbruch()
|
||||
}
|
||||
}
|
||||
}
|
||||
$menu[]=array
|
||||
(
|
||||
'id'=>'core_menu_moodle',
|
||||
'position'=>'70',
|
||||
'name'=>$p->t('lehre/moodle'),
|
||||
'icon'=>'../../../skin/images/button_moodle.png',
|
||||
'link'=>$link,
|
||||
'link_target'=>$link_target,
|
||||
'link_onclick'=>$link_onclick,
|
||||
'text'=>$text
|
||||
);
|
||||
if (MOODLE)
|
||||
{
|
||||
$menu[]=array
|
||||
(
|
||||
'id'=>'core_menu_moodle',
|
||||
'position'=>'70',
|
||||
'name'=>$p->t('lehre/moodle'),
|
||||
'icon'=>'../../../skin/images/button_moodle.png',
|
||||
'link'=>$link,
|
||||
'link_target'=>$link_target,
|
||||
'link_onclick'=>$link_onclick,
|
||||
'text'=>$text
|
||||
);
|
||||
}
|
||||
|
||||
//Gesamtnote
|
||||
if($is_lector && ((!defined('CIS_LEHRVERANSTALTUNG_GESAMTNOTE_ANZEIGEN') || CIS_LEHRVERANSTALTUNG_GESAMTNOTE_ANZEIGEN) && $angemeldet))
|
||||
|
||||
@@ -193,6 +193,7 @@ $menu=array
|
||||
'Firmenwartung'=>array('name'=>'Firmenwartung', 'link'=>'stammdaten/firma_zusammen_uebersicht.php', 'target'=>'main','permissions'=>array('basis/firma')),
|
||||
'checkStudenten'=>array('name'=>'CheckStudenten', 'link'=>'../system/checkStudenten.php', 'target'=>'main'),
|
||||
'StudienplanZuteilung'=>array('name'=>'Studienplan Zuteilung', 'link'=>'lehre/studienplan_zuteilung.php', 'target'=>'main','permissions'=>array('assistenz')),
|
||||
'lv_merge'=>array('name'=>'LVs zusammenlegen', 'link'=>'lehre/lv_merge.php', 'target'=>'main','permissions'=>array('admin','lv-plan')),
|
||||
),
|
||||
'Auswertung'=> array
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user