summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-12-25 06:06:54 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-12-25 06:06:54 +0000
commit74804957d68d6d646e4dd3d565129e85cae570fe (patch)
tree5d3441f5aaa514a0a5161806cdb9f4e4b444a25a
parentf2a7d655401a0fc0f918699987faedb44acecd87 (diff)
schange output
git-svn-id: svn://svn.cccv.de/engel-system@108 29ba0400-6e00-0410-a75a-ca02368028f8
-rwxr-xr-xwww-ssl/inc/funktion_schichtplan_beamer.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/www-ssl/inc/funktion_schichtplan_beamer.php b/www-ssl/inc/funktion_schichtplan_beamer.php
index 5a9e78c3..acd6e110 100755
--- a/www-ssl/inc/funktion_schichtplan_beamer.php
+++ b/www-ssl/inc/funktion_schichtplan_beamer.php
@@ -128,10 +128,9 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
$SQLerlaubnis = "SELECT Name FROM `EngelType` WHERE TID = '". $TempValue["TID"]. "'";
$Ergerlaubnis = mysql_query( $SQLerlaubnis, $con);
if( mysql_num_rows( $Ergerlaubnis))
- if( $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "Y" ||
- $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "")
- for($i=1; $i<=$TempValue["free"]; $i++ )
- $Out.= "free";
+ if( $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "Y" ||
+ $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "")
+ $Out.= $TempValue["free"]. "x free ";
$Out.= "</td>\n";
$Out.= "\t\t\t</tr>\n";