bugfix/umbau

git-svn-id: svn://svn.cccv.de/engel-system@206 29ba0400-6e00-0410-a75a-ca02368028f8
main
cookie 18 years ago
parent c2aaef3afc
commit b6410e1fb5

@ -131,13 +131,18 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
$Ergtime = mysql_query($SQLtime, $con);
if( mysql_num_rows( $Ergtime) > 0)
{
//mit sonder status
// $EngelTypeID[$TempValue["TID"]]
$SQLerlaubnis = "SELECT Name FROM `EngelType` WHERE TID = '". $TempValue["TID"]. "'";
$Ergerlaubnis = mysql_query( $SQLerlaubnis, $con);
if( mysql_num_rows( $Ergerlaubnis))
//setzen wenn nicht definiert
{
//wenn keien rechte definiert sind
if( !isset($_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")]))
$_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] = "Y";
if( $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "Y")
if( $TempValue["free"] > 0 )
{
@ -156,6 +161,7 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
$Spalten.= "</a>";
}
}
}
else
{
if( isset($TempValue["free"]))
@ -206,7 +212,7 @@ function CreateRoomShifts( $raum )
echo "<h1>". Get_Text("pub_schichtplan_colision"). "</h1> ";
echo "<a href=\"./../admin/schichtplan.php?action=change&SID=". mysql_result($ErgSonder, 0, "SID"). "\">".
mysql_result($ErgSonder, 0, "DateS").
" '". mysql_result($ErgSonder, 0, "Man"). "' (00-24)".
" '". mysql_result($ErgSonder, 0, "Man")."' (RID $raum) (00-24)".
"</a><br>\n\t\t";
}
}
@ -237,7 +243,7 @@ function CreateRoomShifts( $raum )
echo "<h1>". Get_Text("pub_schichtplan_colision"). "</h1> ";
echo "<a href=\"./../admin/schichtplan.php?action=change&SID=". mysql_result($ErgSonder, 0, "SID"). "\">".
mysql_result($ErgSonder, 0, "DateS").
" '". mysql_result($ErgSonder, 0, "Man"). "' (00-xx)".
" '". mysql_result($ErgSonder, 0, "Man")."' (RID $raum) (00-xx)".
"</a><br>\n\t\t";
}
}

Loading…
Cancel
Save