ausblender er icons ermoeglicht
git-svn-id: svn://svn.cccv.de/engel-system@225 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
91ce539857
commit
ba3b89464d
|
@ -12,6 +12,9 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
|
||||||
|
|
||||||
$Spalten = "";
|
$Spalten = "";
|
||||||
|
|
||||||
|
if( !isset($_GET["Icon"]))
|
||||||
|
$_GET["Icon"]=1;
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////
|
||||||
// Schow Admin Page
|
// Schow Admin Page
|
||||||
///////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////
|
||||||
|
@ -107,17 +110,17 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
|
||||||
if( UIDgekommen( $TempEngelID ) == "1")
|
if( UIDgekommen( $TempEngelID ) == "1")
|
||||||
$Spalten.= " <span style=\"color: blue;\">".
|
$Spalten.= " <span style=\"color: blue;\">".
|
||||||
UID2Nick( $TempEngelID ).
|
UID2Nick( $TempEngelID ).
|
||||||
DisplayAvatar( $TempEngelID ).
|
($_GET["Icon"]==1? DisplayAvatar( $TempEngelID ): "").
|
||||||
"</span><br>\n\t\t";
|
"</span><br>\n\t\t";
|
||||||
else
|
else
|
||||||
$Spalten.= " <span style=\"color: red;\">".
|
$Spalten.= " <span style=\"color: red;\">".
|
||||||
UID2Nick( $TempEngelID ).
|
UID2Nick( $TempEngelID ).
|
||||||
DisplayAvatar( $TempEngelID ).
|
($_GET["Icon"]==1? DisplayAvatar( $TempEngelID ): "").
|
||||||
"</span><br>\n\t\t";
|
"</span><br>\n\t\t";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$Spalten.= " ". UID2Nick( $TempEngelID ).
|
$Spalten.= " ". UID2Nick( $TempEngelID ).
|
||||||
DisplayAvatar( $TempEngelID ).
|
($_GET["Icon"]==1? DisplayAvatar( $TempEngelID ): "").
|
||||||
"<br>\n\t\t";
|
"<br>\n\t\t";
|
||||||
}
|
}
|
||||||
$Spalten = substr( $Spalten, 0, strlen($Spalten)-7 );
|
$Spalten = substr( $Spalten, 0, strlen($Spalten)-7 );
|
||||||
|
@ -187,7 +190,7 @@ function Ausgabe_Feld_Inhalt_Druck($RID, $Man )
|
||||||
#######################################################*/
|
#######################################################*/
|
||||||
function CreateRoomShifts( $raum )
|
function CreateRoomShifts( $raum )
|
||||||
{
|
{
|
||||||
global $Spalten, $ausdatum, $con, $DEBUG, $GlobalZeileProStunde;
|
global $Spalten, $ausdatum, $con, $DEBUG, $GlobalZeileProStunde, $error_messages;
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////
|
||||||
// beginnt die erste schicht vor dem heutigen tag und geht darüber hinaus
|
// beginnt die erste schicht vor dem heutigen tag und geht darüber hinaus
|
||||||
|
@ -263,11 +266,11 @@ function CreateRoomShifts( $raum )
|
||||||
(substr( mysql_result($Erg, $i, "DateS"), 14, 2 ) / 60);
|
(substr( mysql_result($Erg, $i, "DateS"), 14, 2 ) / 60);
|
||||||
$len = mysql_result($Erg, $i, "Len");
|
$len = mysql_result($Erg, $i, "Len");
|
||||||
|
|
||||||
|
if( $len <= 0)
|
||||||
|
array_push( $error_messages, "Error in shift denition SID=". mysql_result($Erg, $i, "SID"). " Len=$len");
|
||||||
|
|
||||||
if( $ZeitZeiger < $ZeitPos )
|
if( $ZeitZeiger < $ZeitPos )
|
||||||
{
|
{
|
||||||
// for( $iLeer = ($ZeitZeiger*$GlobalZeileProStunde); $iLeer<($ZeitPos*$GlobalZeileProStunde); $iLeer++)
|
|
||||||
// $Spalten[$iLeer] .= "\t\t<td valign=\"top\" rowspan=\"1\"></td>\n";
|
|
||||||
|
|
||||||
$Spalten[$ZeitZeiger * $GlobalZeileProStunde].=
|
$Spalten[$ZeitZeiger * $GlobalZeileProStunde].=
|
||||||
"\t\t<td valign=\"top\" rowspan=\"". ( ($ZeitPos - $ZeitZeiger ) * $GlobalZeileProStunde ). "\"> </td>\n";
|
"\t\t<td valign=\"top\" rowspan=\"". ( ($ZeitPos - $ZeitZeiger ) * $GlobalZeileProStunde ). "\"> </td>\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue