mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
Im Profil wird nun auch das Büro der Mitarbeiter angezeigt.
Außerdem sind die Funktionen für alle einsehbar und die Tabellen wurden mit dem Tablesorter formatiert.
This commit is contained in:
@@ -130,12 +130,28 @@ echo '
|
||||
<title>'.$p->t('profil/profil').'</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="../../../skin/style.css.php" rel="stylesheet" type="text/css">
|
||||
<script language="Javascript">
|
||||
<script type="text/javascript" src="../../../include/js/jquery.js"></script>
|
||||
<link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
<!--
|
||||
function RefreshImage()
|
||||
{
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("#t1").tablesorter(
|
||||
{
|
||||
sortList: [[0,0]],
|
||||
widgets: ["zebra"]
|
||||
});
|
||||
$("#t2").tablesorter(
|
||||
{
|
||||
sortList: [[0,0]],
|
||||
widgets: ["zebra"]
|
||||
});
|
||||
});
|
||||
-->
|
||||
</script>
|
||||
</head>
|
||||
@@ -175,14 +191,13 @@ echo '
|
||||
'.$p->t('global/vorname').': '.$user->vorname.' '.$user->vornamen.'<br>
|
||||
'.$p->t('global/nachname').': '.$user->nachname.'<br>
|
||||
'.$p->t('global/postnomen').': '.$user->titelpost.'<br>';
|
||||
|
||||
|
||||
if(!$ansicht)
|
||||
{
|
||||
echo ' '.$p->t('global/geburtsdatum').': '.$datum_obj->formatDatum($user->gebdatum,'d.m.Y')."<br>
|
||||
".$p->t('global/geburtsort').": $user->gebort<br>";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
echo '
|
||||
</P>
|
||||
</td>
|
||||
@@ -263,7 +278,11 @@ if ($type=='mitarbeiter')
|
||||
|
||||
|
||||
if($user->telefonklappe!='')
|
||||
echo $p->t('profil/telefonTw').": $vorwahl $user->telefonklappe<BR><BR>";
|
||||
echo $p->t('profil/telefonTw').": $vorwahl - $user->telefonklappe<BR>";
|
||||
if ($user->ort_kurzbz!='')
|
||||
echo $p->t('profil/buero').': '.$user->ort_kurzbz.'<br>';
|
||||
|
||||
echo '<br>';
|
||||
|
||||
if(!$ansicht)
|
||||
{
|
||||
@@ -319,6 +338,8 @@ if(!$ansicht)
|
||||
echo '<br>'.$p->t('profil/ihrFotoWurdeNochNichtGeprueft');
|
||||
}
|
||||
}
|
||||
echo '<br><br>';
|
||||
}
|
||||
//Funktionen
|
||||
$qry = "SELECT
|
||||
*, tbl_benutzerfunktion.oe_kurzbz as oe_kurzbz, tbl_organisationseinheit.bezeichnung as oe_bezeichnung,
|
||||
@@ -336,16 +357,17 @@ if(!$ansicht)
|
||||
{
|
||||
if($db->db_num_rows($result_funktion)>0)
|
||||
{
|
||||
echo '<br><br><b>'.$p->t('profil/funktionen').'</b><table><tr class="liste"><th>'.$p->t('global/bezeichnung').'</th><th>'.$p->t('global/organisationseinheit').'</th><th>'.$p->t('global/semester').'</th><th>'.$p->t('global/institut').'</th></tr>';
|
||||
echo '<b>'.$p->t('profil/funktionen').'</b><table class="tablesorter" id="t1"><thead><tr><th>'.$p->t('global/bezeichnung').'</th><th>'.$p->t('global/organisationseinheit').'</th><th>'.$p->t('global/semester').'</th><th>'.$p->t('global/institut').'</th></tr></thead><tbody>';
|
||||
|
||||
while($row_funktion = $db->db_fetch_object($result_funktion))
|
||||
{
|
||||
echo "<tr class='liste1'><td>$row_funktion->bf_bezeichnung</td><td nowrap>".$row_funktion->organisationseinheittyp_kurzbz.' '.$row_funktion->oe_bezeichnung."</td><td>$row_funktion->semester</td><td>$row_funktion->fachbereich_kurzbz</td></tr>";
|
||||
echo "<tr><td>$row_funktion->bf_bezeichnung</td><td nowrap>".$row_funktion->organisationseinheittyp_kurzbz.' '.$row_funktion->oe_bezeichnung."</td><td>$row_funktion->semester</td><td>$row_funktion->fachbereich_kurzbz</td></tr>";
|
||||
}
|
||||
echo '</table>';
|
||||
echo '</tbody></table><br>';
|
||||
}
|
||||
}
|
||||
|
||||
if(!$ansicht)
|
||||
{
|
||||
// Betriebsmittel Personen
|
||||
$oBetriebsmittelperson = new betriebsmittelperson();
|
||||
$oBetriebsmittelperson->result=array();
|
||||
@@ -355,13 +377,15 @@ if(!$ansicht)
|
||||
{
|
||||
if (is_array($oBetriebsmittelperson->result) && count($oBetriebsmittelperson->result)>0)
|
||||
{
|
||||
echo '<br><br><b>'.$p->t('profil/entlehnteBetriebsmittel').'</b>
|
||||
<table>
|
||||
<tr class="liste">
|
||||
echo '<b>'.$p->t('profil/entlehnteBetriebsmittel').'</b>
|
||||
<table class="tablesorter" id="t2">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>'.$p->t('profil/betriebsmittel').'</th>
|
||||
<th>'.$p->t('profil/nummer').'</th>
|
||||
<th>'.$p->t('profil/ausgegebenAm').'</th>
|
||||
</tr>';
|
||||
</tr>
|
||||
</thead><tbody>';
|
||||
|
||||
for ($i=0;$i<count($oBetriebsmittelperson->result);$i++)
|
||||
{
|
||||
@@ -373,15 +397,15 @@ if(!$ansicht)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
echo "<tr class='liste1'>
|
||||
<td>".$oBetriebsmittelperson->result[$i]->betriebsmitteltyp.' '.$oBetriebsmittelperson->result[$i]->beschreibung."</td>
|
||||
echo "<tr'>
|
||||
<td>".$oBetriebsmittelperson->result[$i]->betriebsmitteltyp.' '.$oBetriebsmittelperson->result[$i]->beschreibung.(isset($oBetriebsmittelperson->result[$i]->verwendung)?' ('.$oBetriebsmittelperson->result[$i]->verwendung.')':'')."</td>
|
||||
<td>".$oBetriebsmittelperson->result[$i]->nummer.' '.$oBetriebsmittelperson->result[$i]->inventarnummer."</td>
|
||||
<td>".$datum_obj->formatDatum($oBetriebsmittelperson->result[$i]->ausgegebenam,'d.m.Y')."</td>
|
||||
</tr>";
|
||||
|
||||
}
|
||||
}
|
||||
echo '</table>';
|
||||
echo '</tbody></table>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -342,6 +342,7 @@ class betriebsmittelperson extends basis_db
|
||||
$bm->betriebsmitteltyp = $row->betriebsmitteltyp;
|
||||
$bm->nummer = $row->nummer;
|
||||
$bm->inventarnummer = $row->inventarnummer;
|
||||
$bm->verwendung = $row->verwendung;
|
||||
$bm->reservieren = $this->db_parse_bool($row->reservieren);
|
||||
$bm->ort_kurzbz = $row->ort_kurzbz;
|
||||
$bm->person_id = $row->person_id;
|
||||
|
||||
@@ -29,6 +29,7 @@ $this->phrasen['profil/adminstration']='Administration';
|
||||
$this->phrasen['profil/zustaendigeAssistenz']='zuständige Assistenz';
|
||||
$this->phrasen['profil/wendenSieSichAn']='Bitte wenden sie sich an die';
|
||||
$this->phrasen['profil/solltenDatenNichtStimmen']='Sollten ihre Daten nicht stimmen, wenden sie sich bitte an die';
|
||||
$this->phrasen['profil/buero']='Büro';
|
||||
|
||||
$this->phrasen['profil/AccountInaktiv']='Achtung: Dieser Account ist nicht mehr aktiv';
|
||||
$this->phrasen['profil/inaktivStudent']='Achtung!<br> Wir möchten Sie darauf aufmerksam machen, dass Ihr Benutzerdatensatz
|
||||
|
||||
@@ -29,6 +29,7 @@ $this->phrasen['profil/adminstration']='Administration';
|
||||
$this->phrasen['profil/zustaendigeAssistenz']='Administrative Assistant';
|
||||
$this->phrasen['profil/wendenSieSichAn']='Please contact the';
|
||||
$this->phrasen['profil/solltenDatenNichtStimmen']='If your data is incorrect, please contact the responsible';
|
||||
$this->phrasen['profil/buero']='Office';
|
||||
|
||||
$this->phrasen['profil/AccountInaktiv']='NOTICE: This account is no longer active';
|
||||
$this->phrasen['profil/inaktivStudent']='NOTICE!<br> We would like to remind you that your user record has been deactivated.
|
||||
|
||||
Reference in New Issue
Block a user