-
+
-> Ihr persönlicher Lehrveranstaltungsplan
PROFIL
-> Hier können Sie Ihre Stammdaten kontrollieren.
diff --git a/include/wochenplan.class.php b/include/wochenplan.class.php
index 351c94ea6..8dfb1a9d4 100644
--- a/include/wochenplan.class.php
+++ b/include/wochenplan.class.php
@@ -42,6 +42,7 @@ class wochenplan
var $grp; // @brief Gruppe (1,2)
var $pers_uid; // @brief Account Name der Person (PK)
+ var $pers_titelpost; // @brief Titel der Person
var $pers_titelpre; // @brief Titel der Person
var $pers_nachname; // @brief Personendaten
var $pers_vorname; // @brief Personendaten
@@ -171,9 +172,9 @@ class wochenplan
{
$this->link.='&pers_uid='.$this->pers_uid; //Link erweitern
if ($this->type=='student')
- $sql_query="SELECT uid, titelpre, nachname, vorname, vornamen, studiengang_kz, semester, verband, gruppe FROM campus.vw_student WHERE uid='$this->pers_uid'";
+ $sql_query="SELECT uid, titelpre, titelpost, nachname, vorname, vornamen, studiengang_kz, semester, verband, gruppe FROM campus.vw_student WHERE uid='$this->pers_uid'";
else
- $sql_query="SELECT uid, titelpre, nachname, vorname, vornamen FROM campus.vw_mitarbeiter WHERE uid='$this->pers_uid'";
+ $sql_query="SELECT uid, titelpre, titelpost, nachname, vorname, vornamen FROM campus.vw_mitarbeiter WHERE uid='$this->pers_uid'";
//echo $sql_query;
if (!($result=pg_exec($this->conn, $sql_query)))
{
@@ -187,6 +188,7 @@ class wochenplan
}
$this->pers_uid=pg_result($result,0,'"uid"');
$this->pers_titelpre=pg_result($result,0,'"titelpre"');
+ $this->pers_titelpost=pg_result($result,0,'"titelpost"');
$this->pers_nachname=pg_result($result,0,'"nachname"');
$this->pers_vorname=pg_result($result,0,'"vorname"');
$this->pers_vornamen=pg_result($result,0,'"vornamen"');
@@ -342,7 +344,7 @@ class wochenplan
echo '
'.$this->crlf;
echo ' ';
if ($this->type=='student' || $this->type=='lektor')
- echo 'Person: '.$this->pers_titelpre.' '.$this->pers_vorname.' '.$this->pers_nachname.' - '.$this->pers_uid.' ';
+ echo 'Person: '.$this->pers_titelpre.' '.$this->pers_vorname.' '.$this->pers_nachname.' '.$this->pers_titelpost.' - '.$this->pers_uid.' ';
if ($this->type=='student' || $this->type=='verband')
{
echo 'Studiengang: '.$this->stg_kurzbzlang.' - '.$this->stg_bez.' ';
|