mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
- Bugfix Personensuche
- Bugfix Anwesenheitsliste - Bugfix Lvinfo - Bugfix PDF generierung - Anpassung Lehreinheit Sync - Erstellung von uebung.class.php
This commit is contained in:
@@ -12,8 +12,6 @@
|
||||
* anwesenheitsliste.pdf.php?stg=222&sem=1&einheit=DVT-1xyz1&lfvt=1234 //alle Studenten vom Studiengang 222, Semester 1, Einheit DVT-1xyz1 Lehrfach 1234
|
||||
*/
|
||||
|
||||
//error_reporting(E_ALL);
|
||||
//ini_set('display_errors','1');
|
||||
setlocale(LC_ALL, "de");
|
||||
// Pfad zu fpdf
|
||||
define('FPDF_FONTPATH','../../../include/pdf/font/');
|
||||
@@ -26,6 +24,8 @@
|
||||
require_once('../../../include/studiensemester.class.php');
|
||||
require_once('../../../include/lehrveranstaltung.class.php');
|
||||
require_once('../../../include/pdf.inc.php');
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors','1');
|
||||
|
||||
if(!$conn=pg_pconnect(CONN_STRING))
|
||||
die('Fehler beim Herstellen der Datenbankverbindung');
|
||||
|
||||
@@ -80,9 +80,9 @@
|
||||
$nt_content='';
|
||||
|
||||
//Content fuer Anwesenheitslisten erstellen
|
||||
$qry = "SELECT kurzbzlang FROM public.tbl_studiengang WHERE studiengang_kz='$stg_kz'";
|
||||
$qry = "SELECT kurzbz FROM public.tbl_studiengang WHERE studiengang_kz='$stg_kz'";
|
||||
if($row=pg_fetch_object(pg_query($conn,$qry)))
|
||||
$kurzbzlang = $row->kurzbzlang;
|
||||
$kurzbzlang = $row->kurzbz;
|
||||
else
|
||||
echo "Fehler beim Auslesen der Daten";
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ font-size:10pt;
|
||||
echo "<li><a href=\"#en\">Englische Version</a></li>";
|
||||
}
|
||||
|
||||
if(isset($_POST['lehrende'])) //Alle Variablen werden per POST Methode uebergeben (zB bei Voransicht)
|
||||
if(isset($_POST['titel_de'])) //Alle Variablen werden per POST Methode uebergeben (zB bei Voransicht)
|
||||
{
|
||||
//$sprache = stripslashes($_POST['sprache']);
|
||||
//$semstunden = stripslashes($_POST["semstunden"]);
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
if(isset($_GET['course_id']) && is_numeric($_GET['course_id']))
|
||||
{
|
||||
$stg_obj = new studiengang($sql_conn, $course_id);
|
||||
$short = $stg_obj->kurzbzlang;
|
||||
$short = $stg_obj->kurzbz;
|
||||
$course_id = $_GET['course_id'];
|
||||
}
|
||||
else
|
||||
|
||||
@@ -1,4 +1,24 @@
|
||||
<?php
|
||||
/* Copyright (C) 2006 Technikum-Wien
|
||||
*
|
||||
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Authors: Christian Paminger <[email protected]>,
|
||||
* Andreas Oesterreicher <[email protected]> and
|
||||
* Rudolf Hangl <[email protected]>.
|
||||
*/
|
||||
require_once('../../config.inc.php');
|
||||
require_once('../../../include/functions.inc.php');
|
||||
require_once('../../../include/funktion.class.php');
|
||||
@@ -186,11 +206,11 @@
|
||||
{
|
||||
if($i % 2 == 0)
|
||||
{
|
||||
echo " <td align=\"left\" nowrap> <a href='../stdplan/profile/index.php?uid=$row->uid' title='Profil anzeigen'>$row->nachname $row->titelpost</a></td>";
|
||||
echo " <td align=\"left\" nowrap> <a href='../lvplan/profile/index.php?uid=$row->uid' title='Profil anzeigen'>$row->nachname $row->titelpost</a></td>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo " <td align=\"left\" class=\"MarkLine\" nowrap> <a href='../stdplan/profile/index.php?uid=$row->uid' title='Profil anzeigen'>$row->nachname $row->titelpost</a></td>";
|
||||
echo " <td align=\"left\" class=\"MarkLine\" nowrap> <a href='../lvplan/profile/index.php?uid=$row->uid' title='Profil anzeigen'>$row->nachname $row->titelpost</a></td>";
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -281,12 +301,12 @@
|
||||
|
||||
if($i % 2 == 0)
|
||||
{
|
||||
echo "<td align=\"left\" nowrap> $stg_obj->kurzbzlang</td>";
|
||||
echo "<td align=\"left\" nowrap> $stg_obj->kurzbz</td>";
|
||||
$kurzbz=$stg_obj->kurzbz;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<td align=\"left\" class =\"MarkLine\" nowrap> $stg_obj->kurzbzlang</td>";
|
||||
echo "<td align=\"left\" class =\"MarkLine\" nowrap> $stg_obj->kurzbz</td>";
|
||||
$kurzbz=$stg_obj->kurzbz;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user