diff --git a/cis/private/profile/index.php b/cis/private/profile/index.php
index 6f2848bdf..3af22ac35 100644
--- a/cis/private/profile/index.php
+++ b/cis/private/profile/index.php
@@ -205,8 +205,10 @@ echo '
//Foto anzeigen
$benutzer = new benutzer();
$benutzer->load($uid);
+
$person = new person();
$person->load($benutzer->person_id);
+//var_dump($person);
if ($person->foto != '')
{
if (!($ansicht && $user->foto_sperre))
@@ -238,7 +240,7 @@ if (!$ansicht)
echo '
';
//echo '| ',$row->titelpre,' | ';
echo '',$row->anrede,' | ';
@@ -171,7 +171,7 @@ function searchPerson($searchItems)
echo '';
//echo '',$row->titelpost,' | ';
echo '',($row->studiengang!=''?$row->studiengang:'-'),' | ';
- echo '',($row->mitarbeiter_uid==NULL?'StudentIn':'MitarbeiterIn'),' | ';
+ echo '',($row->mitarbeiter_uid==NULL ? $p->t('personensuche/studentIn') : ($row->fixangestellt=='t' ? $p->t('personensuche/mitarbeiterIn') : $p->t('personensuche/mitarbeiterInExtern'))),' | ';
// Display phone number
echo '';
// * if user has telefonklappe, display it
@@ -197,7 +197,7 @@ function searchPerson($searchItems)
{
echo $kontakt->kontakt. " ";
$is_zugestellt = true;
- }
+ }
}
// if zustellung is false display '-'
if (!$is_zugestellt)
@@ -211,7 +211,7 @@ function searchPerson($searchItems)
echo '-';
}
}
- echo ' | ';
+ echo '';
echo '',($row->raum!=''?$row->raum:'-'),' | ';
if($row->alias!='' && !in_array($row->studiengang_kz, $noalias))
$mail = $row->alias.'@'.DOMAIN;
@@ -311,7 +311,7 @@ function searchOE($searchItems)
if($bisverwendung->beschausmasscode=='5')
echo ' (karenziert)';
echo '';
-
+
// Display phone number
echo '';
// * if user has telefonklappe, display it
@@ -323,7 +323,7 @@ function searchOE($searchItems)
else
{
$person_id = $person->person_id;
-
+
if ($kontakt->load_persKontakttyp($person_id, 'firmenhandy'))
{
$is_zugestellt = false;
@@ -334,13 +334,13 @@ function searchOE($searchItems)
{
echo $kontakt->kontakt. " ";
$is_zugestellt = true;
- }
+ }
}
// if zustellung is false display '-'
if (!$is_zugestellt)
{
echo '-';
- }
+ }
}
// * if neither telefonklappe nor business handy, display '-'
else
@@ -348,8 +348,8 @@ function searchOE($searchItems)
echo '-';
}
}
- echo ' | ';
-
+ echo '';
+
echo '',($mitarbeiter->ort_kurzbz!=''?$mitarbeiter->ort_kurzbz:'-'),' | ';
//if($row->alias!='' && !in_array($row->studiengang_kz, $noalias)) ??? Was macht $noalias?
if($person->alias!='')