- Bugfix Personensuche

- Bugfix Anwesenheitsliste
- Bugfix Lvinfo
- Bugfix PDF generierung
- Anpassung Lehreinheit Sync
- Erstellung von uebung.class.php
This commit is contained in:
Andreas Österreicher
2007-01-09 16:26:17 +00:00
parent 87fe8cb18b
commit dffd97632a
10 changed files with 373 additions and 12 deletions
+2 -2
View File
@@ -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');
+2 -2
View File
@@ -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";
+1 -1
View File
@@ -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"]);
+1 -1
View File
@@ -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
+24 -4
View File
@@ -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>&nbsp;<a href='../stdplan/profile/index.php?uid=$row->uid' title='Profil anzeigen'>$row->nachname $row->titelpost</a></td>";
echo " <td align=\"left\" nowrap>&nbsp;<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>&nbsp;<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>&nbsp;<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>&nbsp;$stg_obj->kurzbzlang</td>";
echo "<td align=\"left\" nowrap>&nbsp;$stg_obj->kurzbz</td>";
$kurzbz=$stg_obj->kurzbz;
}
else
{
echo "<td align=\"left\" class =\"MarkLine\" nowrap>&nbsp;$stg_obj->kurzbzlang</td>";
echo "<td align=\"left\" class =\"MarkLine\" nowrap>&nbsp;$stg_obj->kurzbz</td>";
$kurzbz=$stg_obj->kurzbz;
}
}