bugfix, fehler nur noch fuer berechtigte personen
git-svn-id: svn://svn.cccv.de/engel-system@205 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
3f8cf2ca9b
commit
c2aaef3afc
|
@ -201,10 +201,14 @@ function CreateRoomShifts( $raum )
|
||||||
$ErgSonder = mysql_query($SQLSonder, $con);
|
$ErgSonder = mysql_query($SQLSonder, $con);
|
||||||
if( (mysql_num_rows( $ErgSonder) > 1) )
|
if( (mysql_num_rows( $ErgSonder) > 1) )
|
||||||
{
|
{
|
||||||
echo Get_Text("pub_schichtplan_colision"). " ".
|
if( $_SESSION['CVS'][ "admin/schichtplan.php" ] == "Y" )
|
||||||
mysql_result($ErgSonder, $i, "DateS").
|
{
|
||||||
" '". mysql_result($ErgSonder, $i, "Man"). "' ".
|
echo "<h1>". Get_Text("pub_schichtplan_colision"). "</h1> ";
|
||||||
" (". mysql_result($ErgSonder, $i, "SID"). " R$raum) (00-24)<br><br>";
|
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)".
|
||||||
|
"</a><br>\n\t\t";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
elseif( (mysql_num_rows( $ErgSonder) == 1) )
|
elseif( (mysql_num_rows( $ErgSonder) == 1) )
|
||||||
{
|
{
|
||||||
|
@ -228,10 +232,14 @@ function CreateRoomShifts( $raum )
|
||||||
$ErgSonder = mysql_query($SQLSonder, $con);
|
$ErgSonder = mysql_query($SQLSonder, $con);
|
||||||
if( (mysql_num_rows( $ErgSonder) > 1) )
|
if( (mysql_num_rows( $ErgSonder) > 1) )
|
||||||
{
|
{
|
||||||
echo Get_Text("pub_schichtplan_colision"). " ".
|
if( $_SESSION['CVS'][ "admin/schichtplan.php" ] == "Y" )
|
||||||
mysql_result($ErgSonder, $i, "DateS").
|
{
|
||||||
" '". mysql_result($ErgSonder, $i, "Man"). "' ".
|
echo "<h1>". Get_Text("pub_schichtplan_colision"). "</h1> ";
|
||||||
" (". mysql_result($ErgSonder, $i, "SID"). " R$raum) (00-xx)<br><br>";
|
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)".
|
||||||
|
"</a><br>\n\t\t";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
elseif( (mysql_num_rows( $ErgSonder) == 1) )
|
elseif( (mysql_num_rows( $ErgSonder) == 1) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue