bugsearch
git-svn-id: svn://svn.cccv.de/engel-system@207 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
b6410e1fb5
commit
87e32c478e
|
@ -131,19 +131,11 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
|
||||||
$Ergtime = mysql_query($SQLtime, $con);
|
$Ergtime = mysql_query($SQLtime, $con);
|
||||||
if( mysql_num_rows( $Ergtime) > 0)
|
if( mysql_num_rows( $Ergtime) > 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
// $EngelTypeID[$TempValue["TID"]]
|
|
||||||
$SQLerlaubnis = "SELECT Name FROM `EngelType` WHERE TID = '". $TempValue["TID"]. "'";
|
|
||||||
$Ergerlaubnis = mysql_query( $SQLerlaubnis, $con);
|
|
||||||
if( mysql_num_rows( $Ergerlaubnis))
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
//wenn keien rechte definiert sind
|
//wenn keien rechte definiert sind
|
||||||
if( !isset($_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")]))
|
if( !isset($_SESSION['CVS'][ $TID2Name[$TempValue["TID"]] ]))
|
||||||
$_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] = "Y";
|
$_SESSION['CVS'][ $TID2Name[$TempValue["TID"]] ] = "Y";
|
||||||
|
|
||||||
if( $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "Y")
|
if( $_SESSION['CVS'][ $TID2Name[$TempValue["TID"]] ] == "Y")
|
||||||
if( $TempValue["free"] > 0 )
|
if( $TempValue["free"] > 0 )
|
||||||
{
|
{
|
||||||
$Spalten.= "<br>\n\t\t <a href=\"./schichtplan_add.php?SID=$SID&TID=".
|
$Spalten.= "<br>\n\t\t <a href=\"./schichtplan_add.php?SID=$SID&TID=".
|
||||||
|
@ -161,7 +153,6 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
|
||||||
$Spalten.= "</a>";
|
$Spalten.= "</a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if( isset($TempValue["free"]))
|
if( isset($TempValue["free"]))
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
$EngelTypeID[ mysql_result($Erg, $i, "TID") ] =
|
$EngelTypeID[ mysql_result($Erg, $i, "TID") ] =
|
||||||
mysql_result($Erg, $i, "Name").Get_Text("inc_schicht_engel");
|
mysql_result($Erg, $i, "Name").Get_Text("inc_schicht_engel");
|
||||||
|
$TID2Name[ mysql_result($Erg, $i, "TID") ] = mysql_result($Erg, $i, "Name");
|
||||||
}
|
}
|
||||||
|
|
||||||
include ("./inc/funktion_schichtplan_Tage.php");
|
include ("./inc/funktion_schichtplan_Tage.php");
|
||||||
|
|
Loading…
Reference in New Issue