mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
Anpassungen ans CIS-Redesign
This commit is contained in:
@@ -345,9 +345,9 @@ if(!$ansicht)
|
||||
{
|
||||
echo "
|
||||
".$p->t('profil/solltenDatenNichtStimmen')." <a class='Item' href=\"mailto:$mail?subject=Datenkorrektur&body=Die%20Profildaten%20fuer%20User%20'$user->uid'%20sind%20nicht%20korrekt.%0D
|
||||
Hier die richtigen Daten:%0DNachname:%20$user->nachname%0DVorname:%20$user->vorname%0DGeburtsdatum:%20$user->gebdatum
|
||||
%0DGeburtsort:%20$user->gebort%0DTitelPre:%20$user->titelpre%0DTitelPost:%20$user->titelpost
|
||||
%0D%0D***%0DPlatz fuer weitere (nicht angefuehrte Daten)%0D***\">".$p->t('profil/zustaendigeAssistenz')."</a><br><br>";
|
||||
Hier die richtigen Daten:%0A%0ANachname:%20$user->nachname%0AVorname:%20$user->vorname%0AGeburtsdatum:%20$user->gebdatum
|
||||
%0AGeburtsort:%20$user->gebort%0ATitelPre:%20$user->titelpre%0ATitelPost:%20$user->titelpost
|
||||
%0A%0A***%0DPlatz fuer weitere (nicht angefuehrte Daten)%0D***\">".$p->t('profil/zustaendigeAssistenz')."</a><br><br>";
|
||||
}
|
||||
|
||||
echo '<table width="100%">
|
||||
@@ -410,10 +410,15 @@ if(!$ansicht)
|
||||
&& $bm->betriebsmittelstatus_kurzbz<>'vorhanden')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
echo "<tr'>
|
||||
}
|
||||
$mailtext_inventar = " ".$p->t('mail/profilBetriebsmittelKorrektur')."?subject=Korrektur%20des%20Inventars%20".$oBetriebsmittelperson->result[$i]->inventarnummer."
|
||||
&body=Folgende%20Aenderung%20hat%20sich%20ergeben:%0A%0A
|
||||
Inventar:%20".$oBetriebsmittelperson->result[$i]->inventarnummer."%20(".$oBetriebsmittelperson->result[$i]->beschreibung.")%0A%0A
|
||||
Status:%20ausgeschieden%20%2F%20falsche%20Zuordnung%20%2F%20falsche%20Angaben%0A
|
||||
Details:%20%0A\"";
|
||||
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>".$oBetriebsmittelperson->result[$i]->nummer.' <a href="mailto:'.$mailtext_inventar.'>'.$oBetriebsmittelperson->result[$i]->inventarnummer."</a></td>
|
||||
<td>".$datum_obj->formatDatum($oBetriebsmittelperson->result[$i]->ausgegebenam,'d.m.Y')."</td>
|
||||
</tr>";
|
||||
|
||||
@@ -437,6 +442,7 @@ if(!$ansicht)
|
||||
{
|
||||
echo "<p><A class='Item' href='../lehre/notenliste.php'>".$p->t('profil/leistungsbeurteilung')."</a></p>";
|
||||
}
|
||||
echo '<p><A href="../lvplan/stpl_week.php?pers_uid='.$user->uid.'&type=student">'.$p->t('profil/lvplanVon').' '.$user->nachname.'</A></p>';
|
||||
}
|
||||
if ($type=='mitarbeiter')
|
||||
{
|
||||
@@ -447,7 +453,10 @@ if(!$ansicht)
|
||||
<p><A href="freebusy.php">'.$p->t('freebusy/titel').'</A></p>';
|
||||
}
|
||||
if($uid!=get_uid())
|
||||
{
|
||||
echo '<p><A href="zeitsperre_days.php?days=30&lektor='.$user->uid.'">'.$p->t('profil/zeitsperrenVon').' '.$user->nachname.'</A></p>';
|
||||
echo '<p><A href="../lvplan/stpl_week.php?pers_uid='.$user->uid.'">'.$p->t('profil/lvplanVon').' '.$user->nachname.'</A></p>';
|
||||
}
|
||||
}
|
||||
echo '<p><a href="../../../cms/content.php?content_id='.$p->t("dms_link/lvPlanFAQ").'" target="_blank">'.$p->t('global/hilfe').'</a></p></td>';
|
||||
echo'</tr>
|
||||
|
||||
@@ -44,7 +44,7 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
{
|
||||
$("#myTable").tablesorter(
|
||||
{
|
||||
sortList: [[2,0]],
|
||||
sortList: [[0,1],[3,0]],
|
||||
widgets: [\'zebra\']
|
||||
});
|
||||
});
|
||||
@@ -100,10 +100,10 @@ echo '
|
||||
<table id="myTable" class="tablesorter">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>'.$p->t('tools/ampelStatus').'</th>
|
||||
<th></th>
|
||||
<th>'.$p->t('tools/ampelErledigt').'</th>
|
||||
<th>'.$p->t('tools/ampelBeschreibung').'</th>
|
||||
<th>'.$p->t('tools/ampelDeadline').'</th>
|
||||
<th>'.$p->t('tools/ampelAktion').'</th>
|
||||
<th>'.$p->t('tools/ampelDeadline').'</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -131,20 +131,30 @@ foreach($ampel->result as $row)
|
||||
switch($ampelstatus)
|
||||
{
|
||||
case 'rot':
|
||||
$status= '<img src="../../../skin/images/ampel_rot.png">';
|
||||
$status= '<img name="C" src="../../../skin/images/ampel_rot.png" >';
|
||||
break;
|
||||
case 'gelb':
|
||||
$status= '<img src="../../../skin/images/ampel_gelb.png">';
|
||||
$status= '<img name="B" src="../../../skin/images/ampel_gelb.png" >';
|
||||
break;
|
||||
case 'gruen':
|
||||
$status= '<img src="../../../skin/images/ampel_gruen.png">';
|
||||
$status= '<img name="A" src="../../../skin/images/ampel_gruen.png" >';
|
||||
break;
|
||||
default:
|
||||
$status= '<img src="../../../skin/images/true.png" height="15px">';
|
||||
$status= '<img name="A" src="../../../skin/images/ampel_gruen.png" >';
|
||||
break;
|
||||
}
|
||||
echo $status;
|
||||
|
||||
echo '<td align="center">';
|
||||
if(!$bestaetigt)
|
||||
//echo '<a href="'.$_SERVER['PHP_SELF'].'?ampel_id='.$row->ampel_id.'&type=bestaetigen">'.$p->t('tools/ampelBestaetigen').'</a>';
|
||||
echo '<a href="'.$_SERVER['PHP_SELF'].'?ampel_id='.$row->ampel_id.'&type=bestaetigen" style="text-decoration: none"><input type="button" value="'.$p->t('tools/ampelErledigt').'"></a>';
|
||||
else
|
||||
//echo $p->t('tools/ampelBestaetigt');
|
||||
//echo '<img src="../../../skin/images/true.png" height="15px">';
|
||||
echo '';
|
||||
echo '</td>';
|
||||
|
||||
echo '</td>';
|
||||
$beschreibung = $row->beschreibung[$sprache];
|
||||
if($beschreibung=='' && isset($row->beschreibung[DEFAULT_LANGUAGE]))
|
||||
@@ -152,13 +162,6 @@ foreach($ampel->result as $row)
|
||||
echo '<td>'.$beschreibung.'</td>';
|
||||
echo '<td>'.$datum_obj->formatDatum($row->deadline,'d.m.Y').'</td>';
|
||||
|
||||
echo '<td>';
|
||||
if(!$bestaetigt)
|
||||
echo '<a href="'.$_SERVER['PHP_SELF'].'?ampel_id='.$row->ampel_id.'&type=bestaetigen">'.$p->t('tools/ampelBestaetigen').'</a>';
|
||||
else
|
||||
echo $p->t('tools/ampelBestaetigt');
|
||||
echo '</td>';
|
||||
|
||||
// echo "<td>".date('d.m.Y',$ts_now)."</td>";
|
||||
// echo "<td align=\"center\">".date('d.m.Y',$ts_vorlaufzeit)."</td>";
|
||||
// echo "<td>".date('d.m.Y',$ts_deadline)."</td>";
|
||||
|
||||
+20
-16
@@ -63,7 +63,7 @@ echo '<form action="',$_SERVER['PHP_SELF'],'" name="searchform" method="GET">
|
||||
if($search=='')
|
||||
exit;
|
||||
|
||||
$searchItems = explode(' ',$search);
|
||||
$searchItems = explode(' ',TRIM($search));
|
||||
|
||||
$searchPerson = searchPerson($searchItems);
|
||||
$searchOrt = searchOrt($search);
|
||||
@@ -82,14 +82,14 @@ function searchPerson($searchItems)
|
||||
|
||||
if(count($bn->result)>0)
|
||||
{
|
||||
echo '<h2>',$p->t('global/personen'),'</h2>';
|
||||
echo '<h2 style="padding-bottom: 10px;">',$p->t('global/personen'),'</h2>';
|
||||
echo '
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("#personentable").tablesorter(
|
||||
{
|
||||
sortList: [[2,0],[1,0]],
|
||||
sortList: [[3,0],[1,0],[0,0]],
|
||||
widgets: [\'zebra\'],
|
||||
headers: {8:{sorter:false}}
|
||||
});
|
||||
@@ -103,11 +103,10 @@ function searchPerson($searchItems)
|
||||
echo '<table class="tablesorter" id="personentable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>',$p->t('global/titel'),'</th>
|
||||
<th>',$p->t('global/vorname'),'</th>
|
||||
<th>',$p->t('global/nachname'),'</th>
|
||||
<th>',$p->t('global/titel'),'</th>
|
||||
<th>',$p->t('global/studiengang'),'</th>
|
||||
<th>',$p->t('freebusy/typ'),'</th>
|
||||
<th>',$p->t('global/telefonnummer'),'</th>
|
||||
<th>',$p->t('lvplan/raum'),'</th>
|
||||
<th>',$p->t('global/mail'),'</th>
|
||||
@@ -119,11 +118,12 @@ function searchPerson($searchItems)
|
||||
foreach($bn->result as $row)
|
||||
{
|
||||
echo '<tr>';
|
||||
echo '<td>',$row->titelpre,'</td>';
|
||||
//echo '<td>',$row->titelpre,'</td>';
|
||||
echo '<td>',$row->vorname,'</td>';
|
||||
echo '<td><a href="../profile/index.php?uid=',$row->uid,'">',$row->nachname,'</a></td>';
|
||||
echo '<td>',$row->titelpost,'</td>';
|
||||
echo '<td><a href="../profile/index.php?uid=',$row->uid,'" title="',$row->titelpre,' ',$row->vorname,' ',$row->nachname,' ',$row->titelpost,'">',$row->nachname,'</a></td>';
|
||||
//echo '<td>',$row->titelpost,'</td>';
|
||||
echo '<td>',$row->studiengang,'</td>';
|
||||
echo '<td>',($row->mitarbeiter_uid==NULL?'StudentIn':'MitarbeiterIn'),'</td>';
|
||||
echo '<td>',$row->telefonklappe,'</td>';
|
||||
echo '<td>',$row->raum,'</td>';
|
||||
if($row->alias!='' && !in_array($row->studiengang_kz, $noalias))
|
||||
@@ -135,7 +135,7 @@ function searchPerson($searchItems)
|
||||
echo '</tr>';
|
||||
echo "\n";
|
||||
}
|
||||
echo '</tbody></table>';
|
||||
echo '</tbody></table><br>';
|
||||
return true;
|
||||
}
|
||||
else
|
||||
@@ -157,7 +157,7 @@ function searchOrt($search)
|
||||
|
||||
if(count($ort->result)>0)
|
||||
{
|
||||
echo '<h2>',$p->t('lvplan/ort'),'</h2>';
|
||||
echo '<h2 style="padding-bottom: 10px;">',$p->t('lvplan/ort'),'</h2>';
|
||||
echo '
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
@@ -179,7 +179,9 @@ function searchOrt($search)
|
||||
<th>',$p->t('tools/maxPersonen'),'</th>
|
||||
<th>',$p->t('tools/telefonklappe'),'</th>';
|
||||
if ($raumres)
|
||||
echo '<th>',$p->t('tools/reservieren'),'</th>';
|
||||
echo '<th>',$p->t('tools/reservieren'),'</th>';
|
||||
else
|
||||
echo '<th>',$p->t('lvplan/lvPlan'),'</th>';
|
||||
echo '</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
@@ -191,13 +193,15 @@ function searchOrt($search)
|
||||
echo '<td>',$row->max_person,'</td>';
|
||||
echo '<td>',$row->telefonklappe,'</td>';
|
||||
if ($raumres)
|
||||
echo '<td><a href="../../../cis/private/lvplan/stpl_week.php?type=ort&ort_kurzbz='.$row->ort_kurzbz.'">Reservieren</a></td>';
|
||||
echo '<td><a href="../../../cis/private/lvplan/stpl_week.php?type=ort&ort_kurzbz='.$row->ort_kurzbz.'">'.$p->t('tools/reservieren').'</a></td>';
|
||||
else
|
||||
echo '<td><a href="../../../cis/private/lvplan/stpl_week.php?type=ort&ort_kurzbz='.$row->ort_kurzbz.'">'.$p->t('lvplan/lvPlan').'</a></td>';
|
||||
//else
|
||||
// echo '<td></td>';
|
||||
echo '</tr>';
|
||||
echo "\n";
|
||||
}
|
||||
echo '</tbody></table>';
|
||||
echo '</tbody></table><br>';
|
||||
return true;
|
||||
}
|
||||
else
|
||||
@@ -227,7 +231,7 @@ function searchDms($searchItems)
|
||||
|
||||
if(count($dms->result)>0)
|
||||
{
|
||||
echo '<h2>'.$p->t("tools/dokumente").'</h2>';
|
||||
echo '<h2 style="padding-bottom: 10px;">'.$p->t("tools/dokumente").'</h2>';
|
||||
echo '
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
@@ -266,7 +270,7 @@ function searchDms($searchItems)
|
||||
echo '</tr>';
|
||||
echo "\n";
|
||||
}
|
||||
echo '</tbody></table>';
|
||||
echo '</tbody></table><br>';
|
||||
return true;
|
||||
}
|
||||
else
|
||||
@@ -280,7 +284,7 @@ function searchContent($searchItems)
|
||||
|
||||
if(count($cms->result)>0)
|
||||
{
|
||||
echo '<h2>',$p->t('tools/content'),'</h2>';
|
||||
echo '<h2 style="padding-bottom: 10px;">',$p->t('tools/content'),'</h2>';
|
||||
if(count($cms->result)>20)
|
||||
{
|
||||
echo '<p style="color:red;">'.$p->t("tools/esWurdenMehrAlsXInhalteGefunden").'</p>';
|
||||
|
||||
Reference in New Issue
Block a user