mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
Anpassungen ans CIS-Redesign
This commit is contained in:
+14
-7
@@ -37,23 +37,30 @@ if(is_user_logged_in())
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($rot==0 && $gelb==0)
|
if($rot==0 && $gelb==0)
|
||||||
echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").' '.$rot.' rote"><img src="../skin/images/doppelampel_grau.gif" alt=""></a>';
|
//echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").' '.$rot.' rote"><img src="../skin/images/doppelampel_grau.gif" alt="Ampel"></a>';
|
||||||
|
echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").'"><span style="color: #A5AFB6">'.$p->t("tools/ampelsystem").'</span></a>';
|
||||||
|
|
||||||
|
|
||||||
// if($rot>0 || $gelb>0)
|
// if($rot>0 || $gelb>0)
|
||||||
// {
|
// {
|
||||||
// echo '<td width="26px" height="26px" align="center"><a href="private/tools/ampelverwaltung.php" target="content" title="Red Alert"><img src="../skin/images/glocke_aktiv.gif" alt="glocke"></a></td>';
|
// echo '<td width="26px" height="26px" align="center"><a href="private/tools/ampelverwaltung.php" target="content" title="Red Alert"><img src="../skin/images/glocke_aktiv.gif" alt="glocke"></a></td>';
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
if($rot>0 || $gelb>0)
|
if($rot>0 || $gelb>0)
|
||||||
{
|
{
|
||||||
echo '';
|
echo '';
|
||||||
if($rot>0 && $gelb==0)
|
if($rot>0 && $gelb==0)
|
||||||
//echo '<td width="26px" height="26px" align="center" style="background-image:url(../skin/images/glocke_aktiv.gif); background-repeat:no-repeat"><a href="private/tools/ampelverwaltung.php" target="content" title="Red Alert"><strong>'.$rot.'</strong></a></td>';
|
//echo '<td width="26px" height="26px" align="center" style="background-image:url(../skin/images/glocke_aktiv.gif); background-repeat:no-repeat"><a href="private/tools/ampelverwaltung.php" target="content" title="Red Alert"><strong>'.$rot.'</strong></a></td>';
|
||||||
echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").'"><img src="../skin/images/doppelampel_rot.gif" alt=""></a>';
|
//echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").'"><img src="../skin/images/doppelampel_rot.gif" alt=""></a>';
|
||||||
if($rot>0 && $gelb>0)
|
echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").'"><span style="color: red; text-decoration: blink;">'.$p->t("tools/ampelsystem").'</span></a>';
|
||||||
|
//if($rot>0 && $gelb>0)
|
||||||
//echo ' <td></td>';
|
//echo ' <td></td>';
|
||||||
echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").'"><img src="../skin/images/doppelampel_rot_gelb.gif" alt=""></a>';
|
// echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").'"><img src="../skin/images/doppelampel_rot_gelb.gif" alt=""></a>';
|
||||||
if($gelb>0 && $rot==0)
|
if($gelb>0 && $rot==0)
|
||||||
//echo '<td width="26px" height="26px" align="center" style="background-image:url(../skin/images/glocke_aktiv.gif); background-repeat:no-repeat"><a href="private/tools/ampelverwaltung.php" target="content" title="Yellow Alert"><strong>'.$gelb.'</strong></a></td>';
|
//echo '<td width="26px" height="26px" align="center" style="background-image:url(../skin/images/glocke_aktiv.gif); background-repeat:no-repeat"><a href="private/tools/ampelverwaltung.php" target="content" title="Yellow Alert"><strong>'.$gelb.'</strong></a></td>';
|
||||||
echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").'"><img src="../skin/images/doppelampel_gelb.gif" alt=""></a>';
|
//echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").'"><img src="../skin/images/doppelampel_gelb.gif" alt=""></a>';
|
||||||
|
echo '<a href="private/tools/ampelverwaltung.php" target="content" title="'.$p->t("tools/ampelsystem").'"><span style="color: #0086CC; text-decoration: blink;">'.$p->t("tools/ampelsystem").'</span></a>';
|
||||||
echo ' ';
|
echo ' ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+15
-25
@@ -152,8 +152,12 @@ function loadampel()
|
|||||||
{
|
{
|
||||||
$('#ampel').load('ampel.php?'+gettimestamp());
|
$('#ampel').load('ampel.php?'+gettimestamp());
|
||||||
}
|
}
|
||||||
|
function warnung_redesign()
|
||||||
|
{
|
||||||
|
alert ('Die CIS-Seite wird derzeit an das neue Design angepasst. \nManche Funktionen sind möglicherweise inaktiv.');
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<body class="main" onload="loadampel()">
|
<body class="main" onload="warnung_redesign(), loadampel()">
|
||||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="rand"></td>
|
<td class="rand"></td>
|
||||||
@@ -165,40 +169,26 @@ function loadampel()
|
|||||||
<img class="header_left" src="../skin/images/header_left.png" alt="header_links">
|
<img class="header_left" src="../skin/images/header_left.png" alt="header_links">
|
||||||
<img class="header_right" src="../skin/images/header_right.png" alt="header_rechts">
|
<img class="header_right" src="../skin/images/header_right.png" alt="header_rechts">
|
||||||
<table width="100%" height="100%" style="position:relative; top:10px; z-index:4" cellpadding="0">
|
<table width="100%" height="100%" style="position:relative; top:10px; z-index:4" cellpadding="0">
|
||||||
<!--<tr valign="top" height="33%">
|
|
||||||
<td colspan="2" align="right" style="padding-right: 10px;">
|
|
||||||
<?php
|
|
||||||
$sprache = new sprache();
|
|
||||||
$sprache->getAll(true);
|
|
||||||
foreach($sprache->result as $row)
|
|
||||||
{
|
|
||||||
echo ' <a href="#'.$row->sprache.'" title="'.$row->sprache.'" onclick="changeSprache(\''.$row->sprache.'\'); return false;">'.$row->sprache.'</a>';
|
|
||||||
}?>
|
|
||||||
</td>
|
|
||||||
<!--<?php //require_once('../include/'.EXT_FKT_PATH.'/cis_menu_global.inc.php'); ?>
|
|
||||||
</tr>-->
|
|
||||||
<tr height="50%">
|
<tr height="50%">
|
||||||
<td width="20%" align="center">
|
<td width="20%" align="center">
|
||||||
</td>
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<form name="searchform" action="private/tools/suche.php" method="GET" target="content" style="display:inline">
|
<form name="searchform" action="private/tools/suche.php" method="GET" target="content" style="display:inline">
|
||||||
<input class="search" type="search" size="45" name="search" placeholder=" <?php echo $p->t('menu/suchePersonOrtDokumentInhalt');?> ..."/>
|
<input id="globalsearch" type="search" size="55" name="search" placeholder=" <?php echo $p->t('menu/suchePersonOrtDokumentInhalt');?> ..."/>
|
||||||
<img src="../skin/images/search.png" height="14px" onclick="document.searchform.submit()" class="suchicon"/>
|
<img src="../skin/images/search.png" height="14px" onclick="document.searchform.submit()" class="suchicon"/>
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
<td width="20%" align="right" style="padding-right: 10px;">
|
<td width="20%" align="right" valign="top" style="padding-right: 10px;">
|
||||||
<?php
|
<span style="vertical-align:top;" id="ampel"></span> <span style="color: #A5AFB6">|</span>
|
||||||
$sprache = new sprache();
|
<?php
|
||||||
$sprache->getAll(true);
|
$sprache = new sprache();
|
||||||
foreach($sprache->result as $row)
|
$sprache->getAll(true);
|
||||||
{
|
foreach($sprache->result as $row)
|
||||||
echo ' <a href="#'.$row->sprache.'" title="'.$row->sprache.'" onclick="changeSprache(\''.$row->sprache.'\'); return false;">'.$row->sprache.'</a>';
|
{
|
||||||
}?>
|
echo ' <a href="#'.$row->sprache.'" title="'.$row->sprache.'" onclick="changeSprache(\''.$row->sprache.'\'); return false;">'.$row->sprache.'</a>';
|
||||||
|
}?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr height="50%" valign="top">
|
|
||||||
<td colspan="3" width="100%" align="center" id="ampel"></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -345,9 +345,9 @@ if(!$ansicht)
|
|||||||
{
|
{
|
||||||
echo "
|
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
|
".$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
|
Hier die richtigen Daten:%0A%0ANachname:%20$user->nachname%0AVorname:%20$user->vorname%0AGeburtsdatum:%20$user->gebdatum
|
||||||
%0DGeburtsort:%20$user->gebort%0DTitelPre:%20$user->titelpre%0DTitelPost:%20$user->titelpost
|
%0AGeburtsort:%20$user->gebort%0ATitelPre:%20$user->titelpre%0ATitelPost:%20$user->titelpost
|
||||||
%0D%0D***%0DPlatz fuer weitere (nicht angefuehrte Daten)%0D***\">".$p->t('profil/zustaendigeAssistenz')."</a><br><br>";
|
%0A%0A***%0DPlatz fuer weitere (nicht angefuehrte Daten)%0D***\">".$p->t('profil/zustaendigeAssistenz')."</a><br><br>";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<table width="100%">
|
echo '<table width="100%">
|
||||||
@@ -411,9 +411,14 @@ if(!$ansicht)
|
|||||||
{
|
{
|
||||||
continue;
|
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]->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>
|
<td>".$datum_obj->formatDatum($oBetriebsmittelperson->result[$i]->ausgegebenam,'d.m.Y')."</td>
|
||||||
</tr>";
|
</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 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')
|
if ($type=='mitarbeiter')
|
||||||
{
|
{
|
||||||
@@ -447,7 +453,10 @@ if(!$ansicht)
|
|||||||
<p><A href="freebusy.php">'.$p->t('freebusy/titel').'</A></p>';
|
<p><A href="freebusy.php">'.$p->t('freebusy/titel').'</A></p>';
|
||||||
}
|
}
|
||||||
if($uid!=get_uid())
|
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="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 '<p><a href="../../../cms/content.php?content_id='.$p->t("dms_link/lvPlanFAQ").'" target="_blank">'.$p->t('global/hilfe').'</a></p></td>';
|
||||||
echo'</tr>
|
echo'</tr>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|||||||
{
|
{
|
||||||
$("#myTable").tablesorter(
|
$("#myTable").tablesorter(
|
||||||
{
|
{
|
||||||
sortList: [[2,0]],
|
sortList: [[0,1],[3,0]],
|
||||||
widgets: [\'zebra\']
|
widgets: [\'zebra\']
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -100,10 +100,10 @@ echo '
|
|||||||
<table id="myTable" class="tablesorter">
|
<table id="myTable" class="tablesorter">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<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/ampelBeschreibung').'</th>
|
||||||
<th>'.$p->t('tools/ampelDeadline').'</th>
|
<th>'.$p->t('tools/ampelDeadline').'</th>
|
||||||
<th>'.$p->t('tools/ampelAktion').'</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -131,20 +131,30 @@ foreach($ampel->result as $row)
|
|||||||
switch($ampelstatus)
|
switch($ampelstatus)
|
||||||
{
|
{
|
||||||
case 'rot':
|
case 'rot':
|
||||||
$status= '<img src="../../../skin/images/ampel_rot.png">';
|
$status= '<img name="C" src="../../../skin/images/ampel_rot.png" >';
|
||||||
break;
|
break;
|
||||||
case 'gelb':
|
case 'gelb':
|
||||||
$status= '<img src="../../../skin/images/ampel_gelb.png">';
|
$status= '<img name="B" src="../../../skin/images/ampel_gelb.png" >';
|
||||||
break;
|
break;
|
||||||
case 'gruen':
|
case 'gruen':
|
||||||
$status= '<img src="../../../skin/images/ampel_gruen.png">';
|
$status= '<img name="A" src="../../../skin/images/ampel_gruen.png" >';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$status= '<img src="../../../skin/images/true.png" height="15px">';
|
$status= '<img name="A" src="../../../skin/images/ampel_gruen.png" >';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
echo $status;
|
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>';
|
echo '</td>';
|
||||||
$beschreibung = $row->beschreibung[$sprache];
|
$beschreibung = $row->beschreibung[$sprache];
|
||||||
if($beschreibung=='' && isset($row->beschreibung[DEFAULT_LANGUAGE]))
|
if($beschreibung=='' && isset($row->beschreibung[DEFAULT_LANGUAGE]))
|
||||||
@@ -152,13 +162,6 @@ foreach($ampel->result as $row)
|
|||||||
echo '<td>'.$beschreibung.'</td>';
|
echo '<td>'.$beschreibung.'</td>';
|
||||||
echo '<td>'.$datum_obj->formatDatum($row->deadline,'d.m.Y').'</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>".date('d.m.Y',$ts_now)."</td>";
|
||||||
// echo "<td align=\"center\">".date('d.m.Y',$ts_vorlaufzeit)."</td>";
|
// echo "<td align=\"center\">".date('d.m.Y',$ts_vorlaufzeit)."</td>";
|
||||||
// echo "<td>".date('d.m.Y',$ts_deadline)."</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=='')
|
if($search=='')
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
$searchItems = explode(' ',$search);
|
$searchItems = explode(' ',TRIM($search));
|
||||||
|
|
||||||
$searchPerson = searchPerson($searchItems);
|
$searchPerson = searchPerson($searchItems);
|
||||||
$searchOrt = searchOrt($search);
|
$searchOrt = searchOrt($search);
|
||||||
@@ -82,14 +82,14 @@ function searchPerson($searchItems)
|
|||||||
|
|
||||||
if(count($bn->result)>0)
|
if(count($bn->result)>0)
|
||||||
{
|
{
|
||||||
echo '<h2>',$p->t('global/personen'),'</h2>';
|
echo '<h2 style="padding-bottom: 10px;">',$p->t('global/personen'),'</h2>';
|
||||||
echo '
|
echo '
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function()
|
$(document).ready(function()
|
||||||
{
|
{
|
||||||
$("#personentable").tablesorter(
|
$("#personentable").tablesorter(
|
||||||
{
|
{
|
||||||
sortList: [[2,0],[1,0]],
|
sortList: [[3,0],[1,0],[0,0]],
|
||||||
widgets: [\'zebra\'],
|
widgets: [\'zebra\'],
|
||||||
headers: {8:{sorter:false}}
|
headers: {8:{sorter:false}}
|
||||||
});
|
});
|
||||||
@@ -103,11 +103,10 @@ function searchPerson($searchItems)
|
|||||||
echo '<table class="tablesorter" id="personentable">
|
echo '<table class="tablesorter" id="personentable">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>',$p->t('global/titel'),'</th>
|
|
||||||
<th>',$p->t('global/vorname'),'</th>
|
<th>',$p->t('global/vorname'),'</th>
|
||||||
<th>',$p->t('global/nachname'),'</th>
|
<th>',$p->t('global/nachname'),'</th>
|
||||||
<th>',$p->t('global/titel'),'</th>
|
|
||||||
<th>',$p->t('global/studiengang'),'</th>
|
<th>',$p->t('global/studiengang'),'</th>
|
||||||
|
<th>',$p->t('freebusy/typ'),'</th>
|
||||||
<th>',$p->t('global/telefonnummer'),'</th>
|
<th>',$p->t('global/telefonnummer'),'</th>
|
||||||
<th>',$p->t('lvplan/raum'),'</th>
|
<th>',$p->t('lvplan/raum'),'</th>
|
||||||
<th>',$p->t('global/mail'),'</th>
|
<th>',$p->t('global/mail'),'</th>
|
||||||
@@ -119,11 +118,12 @@ function searchPerson($searchItems)
|
|||||||
foreach($bn->result as $row)
|
foreach($bn->result as $row)
|
||||||
{
|
{
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
echo '<td>',$row->titelpre,'</td>';
|
//echo '<td>',$row->titelpre,'</td>';
|
||||||
echo '<td>',$row->vorname,'</td>';
|
echo '<td>',$row->vorname,'</td>';
|
||||||
echo '<td><a href="../profile/index.php?uid=',$row->uid,'">',$row->nachname,'</a></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->titelpost,'</td>';
|
||||||
echo '<td>',$row->studiengang,'</td>';
|
echo '<td>',$row->studiengang,'</td>';
|
||||||
|
echo '<td>',($row->mitarbeiter_uid==NULL?'StudentIn':'MitarbeiterIn'),'</td>';
|
||||||
echo '<td>',$row->telefonklappe,'</td>';
|
echo '<td>',$row->telefonklappe,'</td>';
|
||||||
echo '<td>',$row->raum,'</td>';
|
echo '<td>',$row->raum,'</td>';
|
||||||
if($row->alias!='' && !in_array($row->studiengang_kz, $noalias))
|
if($row->alias!='' && !in_array($row->studiengang_kz, $noalias))
|
||||||
@@ -135,7 +135,7 @@ function searchPerson($searchItems)
|
|||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
echo "\n";
|
echo "\n";
|
||||||
}
|
}
|
||||||
echo '</tbody></table>';
|
echo '</tbody></table><br>';
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -157,7 +157,7 @@ function searchOrt($search)
|
|||||||
|
|
||||||
if(count($ort->result)>0)
|
if(count($ort->result)>0)
|
||||||
{
|
{
|
||||||
echo '<h2>',$p->t('lvplan/ort'),'</h2>';
|
echo '<h2 style="padding-bottom: 10px;">',$p->t('lvplan/ort'),'</h2>';
|
||||||
echo '
|
echo '
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function()
|
$(document).ready(function()
|
||||||
@@ -179,7 +179,9 @@ function searchOrt($search)
|
|||||||
<th>',$p->t('tools/maxPersonen'),'</th>
|
<th>',$p->t('tools/maxPersonen'),'</th>
|
||||||
<th>',$p->t('tools/telefonklappe'),'</th>';
|
<th>',$p->t('tools/telefonklappe'),'</th>';
|
||||||
if ($raumres)
|
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>
|
echo '</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>';
|
<tbody>';
|
||||||
@@ -191,13 +193,15 @@ function searchOrt($search)
|
|||||||
echo '<td>',$row->max_person,'</td>';
|
echo '<td>',$row->max_person,'</td>';
|
||||||
echo '<td>',$row->telefonklappe,'</td>';
|
echo '<td>',$row->telefonklappe,'</td>';
|
||||||
if ($raumres)
|
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
|
//else
|
||||||
// echo '<td></td>';
|
// echo '<td></td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
echo "\n";
|
echo "\n";
|
||||||
}
|
}
|
||||||
echo '</tbody></table>';
|
echo '</tbody></table><br>';
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -227,7 +231,7 @@ function searchDms($searchItems)
|
|||||||
|
|
||||||
if(count($dms->result)>0)
|
if(count($dms->result)>0)
|
||||||
{
|
{
|
||||||
echo '<h2>'.$p->t("tools/dokumente").'</h2>';
|
echo '<h2 style="padding-bottom: 10px;">'.$p->t("tools/dokumente").'</h2>';
|
||||||
echo '
|
echo '
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function()
|
$(document).ready(function()
|
||||||
@@ -266,7 +270,7 @@ function searchDms($searchItems)
|
|||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
echo "\n";
|
echo "\n";
|
||||||
}
|
}
|
||||||
echo '</tbody></table>';
|
echo '</tbody></table><br>';
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -280,7 +284,7 @@ function searchContent($searchItems)
|
|||||||
|
|
||||||
if(count($cms->result)>0)
|
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)
|
if(count($cms->result)>20)
|
||||||
{
|
{
|
||||||
echo '<p style="color:red;">'.$p->t("tools/esWurdenMehrAlsXInhalteGefunden").'</p>';
|
echo '<p style="color:red;">'.$p->t("tools/esWurdenMehrAlsXInhalteGefunden").'</p>';
|
||||||
|
|||||||
@@ -185,8 +185,8 @@ class menu_addon_lehrveranstaltungen extends menu_addon
|
|||||||
$lastform=$row->orgform_kurzbz;
|
$lastform=$row->orgform_kurzbz;
|
||||||
}
|
}
|
||||||
$this->block.= '<tr>';
|
$this->block.= '<tr>';
|
||||||
$this->block.= ' <td class="tdwrap"><ul style="margin: 0px; padding: 0px; padding-left: 20px;">';
|
$this->block.= ' <td class="tdwrap"><ul style="margin: 0px; padding: 0px; ">';
|
||||||
$this->block.= "<li><a class=\"Item2\" title=\"".$row->bezeichnung_arr[$sprache]."\" href=\"private/lehre/lesson.php?lvid=$row->lehrveranstaltung_id\" target=\"content\">".$this->CutString($row->bezeichnung_arr[$sprache], 21).' '.$row->lehrform_kurzbz."</a></li>";
|
$this->block.= "<li style='padding: 0px; ><a title=\"".$row->bezeichnung_arr[$sprache]."\" href=\"private/lehre/lesson.php?lvid=$row->lehrveranstaltung_id\" target=\"content\">".$this->CutString($row->bezeichnung_arr[$sprache], 21).' '.$row->lehrform_kurzbz."</a></li>";
|
||||||
$this->block.= ' </ul></td>';
|
$this->block.= ' </ul></td>';
|
||||||
$this->block.= '</tr>';
|
$this->block.= '</tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1281,8 +1281,21 @@ class content extends basis_db
|
|||||||
AND aktiv=true
|
AND aktiv=true
|
||||||
AND template_kurzbz IN('contentmittitel','contentohnetitel','redirect')";
|
AND template_kurzbz IN('contentmittitel','contentohnetitel','redirect')";
|
||||||
foreach($searchItems as $value)
|
foreach($searchItems as $value)
|
||||||
$qry.=" AND (lower(content::text) like lower('%".$this->db_escape($value)."%')
|
$qry.=" AND
|
||||||
OR lower(content::text) like lower('%".$this->db_escape(htmlentities($value,ENT_NOQUOTES,'UTF-8'))."%'))";
|
(template_kurzbz IN('contentmittitel','contentohnetitel')
|
||||||
|
AND
|
||||||
|
(
|
||||||
|
lower(content::text) like lower('%".$this->db_escape($value)."%')
|
||||||
|
OR lower(content::text) like lower('%".$this->db_escape(htmlentities($value,ENT_NOQUOTES,'UTF-8'))."%')
|
||||||
|
)
|
||||||
|
OR template_kurzbz IN('redirect')
|
||||||
|
AND
|
||||||
|
(
|
||||||
|
lower(titel::text) like lower('%".$this->db_escape($value)."%')
|
||||||
|
OR lower(titel::text) like lower('%".$this->db_escape(htmlentities($value,ENT_NOQUOTES,'UTF-8'))."%')
|
||||||
|
)
|
||||||
|
)
|
||||||
|
";
|
||||||
$qry.=" ORDER BY content_id DESC";
|
$qry.=" ORDER BY content_id DESC";
|
||||||
|
|
||||||
if(!is_null($limit) && is_numeric($limit))
|
if(!is_null($limit) && is_numeric($limit))
|
||||||
|
|||||||
@@ -3,4 +3,8 @@
|
|||||||
* Signatur die an E-Mails angehängt wird, die vom System verschickt werden
|
* Signatur die an E-Mails angehängt wird, die vom System verschickt werden
|
||||||
*/
|
*/
|
||||||
$this->phrasen['mail/signatur']="Mit freundlichen Grüßen\n\nFachhochschule Technikum Wien\nHöchstädtplatz 6\n1200 Wien\n";
|
$this->phrasen['mail/signatur']="Mit freundlichen Grüßen\n\nFachhochschule Technikum Wien\nHöchstädtplatz 6\n1200 Wien\n";
|
||||||
|
/*
|
||||||
|
* Mail, die vom Profil aus an den Einkauf bezüglich Betriebsmittel verschickt wird
|
||||||
|
*/
|
||||||
|
$this->phrasen['mail/profilBetriebsmittelKorrektur']="[email protected]";
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ $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/solltenDatenNichtStimmen']='Sollten Ihre Daten nicht stimmen, wenden Sie sich bitte an die';
|
||||||
$this->phrasen['profil/buero']='Büro';
|
$this->phrasen['profil/buero']='Büro';
|
||||||
$this->phrasen['profil/zeitsperrenVon']='Zeitsperren von';
|
$this->phrasen['profil/zeitsperrenVon']='Zeitsperren von';
|
||||||
|
$this->phrasen['profil/lvplanVon']='LV-Plan von';
|
||||||
|
|
||||||
$this->phrasen['profil/AccountInaktiv']='Achtung: Dieser Account ist nicht mehr aktiv';
|
$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
|
$this->phrasen['profil/inaktivStudent']='Achtung!<br> Wir möchten Sie darauf aufmerksam machen, dass Ihr Benutzerdatensatz
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ $this->phrasen['tools/ampelStatus']='Status';
|
|||||||
$this->phrasen['tools/ampelBeschreibung']='Beschreibung';
|
$this->phrasen['tools/ampelBeschreibung']='Beschreibung';
|
||||||
$this->phrasen['tools/ampelDeadline']='Deadline';
|
$this->phrasen['tools/ampelDeadline']='Deadline';
|
||||||
$this->phrasen['tools/ampelAktion']='Aktion';
|
$this->phrasen['tools/ampelAktion']='Aktion';
|
||||||
|
$this->phrasen['tools/ampelErledigt']='Erledigt';
|
||||||
$this->phrasen['tools/ampelBestaetigen']='bestätigen';
|
$this->phrasen['tools/ampelBestaetigen']='bestätigen';
|
||||||
$this->phrasen['tools/ampelBestaetigt']='bestätigt';
|
$this->phrasen['tools/ampelBestaetigt']='bestätigt';
|
||||||
$this->phrasen['tools/ampelMitarbeiter']='Mitarbeiter';
|
$this->phrasen['tools/ampelMitarbeiter']='Mitarbeiter';
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ $this->phrasen['profil/wendenSieSichAn']='Please contact the';
|
|||||||
$this->phrasen['profil/solltenDatenNichtStimmen']='If your data is incorrect, please contact the responsible';
|
$this->phrasen['profil/solltenDatenNichtStimmen']='If your data is incorrect, please contact the responsible';
|
||||||
$this->phrasen['profil/buero']='Office';
|
$this->phrasen['profil/buero']='Office';
|
||||||
$this->phrasen['profil/zeitsperrenVon']='Unavailabilities from';
|
$this->phrasen['profil/zeitsperrenVon']='Unavailabilities from';
|
||||||
|
$this->phrasen['profil/lvplanVon']='Schedule from';
|
||||||
|
|
||||||
$this->phrasen['profil/AccountInaktiv']='NOTICE: This account is no longer active';
|
$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.
|
$this->phrasen['profil/inaktivStudent']='NOTICE!<br> We would like to remind you that your user record has been deactivated.
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ $this->phrasen['tools/ampelStatus']='Status';
|
|||||||
$this->phrasen['tools/ampelBeschreibung']='Description';
|
$this->phrasen['tools/ampelBeschreibung']='Description';
|
||||||
$this->phrasen['tools/ampelDeadline']='Deadline';
|
$this->phrasen['tools/ampelDeadline']='Deadline';
|
||||||
$this->phrasen['tools/ampelAktion']='Action';
|
$this->phrasen['tools/ampelAktion']='Action';
|
||||||
|
$this->phrasen['tools/ampelErledigt']='Done';
|
||||||
$this->phrasen['tools/ampelBestaetigen']='confirm';
|
$this->phrasen['tools/ampelBestaetigen']='confirm';
|
||||||
$this->phrasen['tools/ampelBestaetigt']='confirmed';
|
$this->phrasen['tools/ampelBestaetigt']='confirmed';
|
||||||
$this->phrasen['tools/ampelMitarbeiter']='Employee';
|
$this->phrasen['tools/ampelMitarbeiter']='Employee';
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 676 B After Width: | Height: | Size: 683 B |
@@ -146,6 +146,14 @@ input.search
|
|||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-color: #A5AFB6;
|
border-color: #A5AFB6;
|
||||||
}
|
}
|
||||||
|
#globalsearch
|
||||||
|
{
|
||||||
|
background-color: #E9ECEE;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style:solid;
|
||||||
|
border-color: #A5AFB6;
|
||||||
|
height: 25px;
|
||||||
|
}
|
||||||
/* Login-Button CIS-Seite */
|
/* Login-Button CIS-Seite */
|
||||||
input.cis_login
|
input.cis_login
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user