summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/schichtplan.2.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-21 21:45:45 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-21 21:45:45 +0000
commit82b4bb4e891225e374555fb8d92a6771b7c97c7c (patch)
tree5b7ab1a5a49289da73442c4de6665206771b0ddf /www-ssl/nonpublic/schichtplan.2.php
parente3fc6ba2d1672526088d70c62daa7961b540e1f7 (diff)
import probleme beseitigt, news 2x back eingefueht
git-svn-id: svn://svn.cccv.de/engel-system@77 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/nonpublic/schichtplan.2.php')
-rwxr-xr-xwww-ssl/nonpublic/schichtplan.2.php18
1 files changed, 14 insertions, 4 deletions
diff --git a/www-ssl/nonpublic/schichtplan.2.php b/www-ssl/nonpublic/schichtplan.2.php
index 8b477f41..2074e3fa 100755
--- a/www-ssl/nonpublic/schichtplan.2.php
+++ b/www-ssl/nonpublic/schichtplan.2.php
@@ -2,11 +2,21 @@
<?php
-foreach( $Room as $RoomEntry )
- echo "\t<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=". $RoomEntry["RID"]. "'>".
- $RoomEntry["Name"]. "</a></li>\n";
+include ("./inc/funktion_schichtplan_aray.php");
+foreach( $Room as $RoomEntry )
+{
+ if(isset($ausdatum))
+ echo "\t<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=". $RoomEntry["RID"]. "'>".
+ $RoomEntry["Name"]. "</a></li>\n";
+ else
+ echo "\t<li><a href='./schichtplan.php?raum=". $RoomEntry["RID"]. "'>".
+ $RoomEntry["Name"]. "</a></li>\n";
+}
echo "<br>";
-echo "<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=-1'>alle</a></li>";
+if(isset($ausdatum))
+ echo "<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=-1'>alle</a></li>";
+else
+ echo "<li><a href='./schichtplan.php?raum=-1'>alle</a></li>";
?>