KTU Saalplan Ansicht für "Alle Räume"

This commit is contained in:
Stefan Puraner
2014-12-19 07:16:33 +00:00
parent 6700cb499d
commit 7002d8e0f9
6 changed files with 51 additions and 10 deletions
+5 -1
View File
@@ -239,7 +239,11 @@ $(document).ready(function()
<td valign="top">
<select name="select" style="width:200px;" onChange="MM_jumpMenu(\'self\',this,0)">
<option value="stpl_week.php" selected>'.$p->t('lvplan/raumAuswaehlen').'</option>';
if(defined('CIS_SAALPLAN_ALLERAEUME_OPTION') && CIS_SAALPLAN_ALLERAEUME_OPTION)
echo '<option value="stpl_week.php?type=ort&amp;ort_kurzbz=all" value="all">'.$p->t('lvplan/alleRaeume').'</option>';
for ($i=0;$i<$num_rows_ort;$i++)
{
$row=$db->db_fetch_object ($result_ort, $i);
+4 -1
View File
@@ -324,7 +324,10 @@ if (! $stdplan->draw_header())
}
// Stundenplan der Woche drucken
$stdplan->draw_week($raumres,$uid);
if($ort_kurzbz == 'all')
$stdplan->draw_week ($raumres, $uid, false);
else
$stdplan->draw_week($raumres,$uid);
if (isset($count))
echo "Es wurde".($count!=1?'n':'')." $count Stunde".($count!=1?'n':'')." reserviert!<BR>";