From ff7cb3f40c6538ecebdcba0e8ef3ebea36b77fcd Mon Sep 17 00:00:00 2001 From: cookie Date: Mon, 20 Nov 2006 20:43:00 +0000 Subject: auswahlbox beim erstellen hinzugefuegt git-svn-id: svn://svn.cccv.de/engel-system@165 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/admin/room.php | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) (limited to 'www-ssl') diff --git a/www-ssl/admin/room.php b/www-ssl/admin/room.php index 8f2f08f7..ca381713 100755 --- a/www-ssl/admin/room.php +++ b/www-ssl/admin/room.php @@ -55,15 +55,26 @@ case 'new': for( $Uj = 1; $Uj < mysql_num_fields($Erg); $Uj++ ) { - //sonderfall fuer Default Engel - if( substr( mysql_field_name($Erg, $Uj), 0, 12) == "DEFAULT_EID_") - $FeldName = "Anzahl ". $EngelTypeID[substr( mysql_field_name($Erg, $Uj), 12)]; + if( (mysql_field_name($Erg, $Uj) == "show") || (mysql_field_name($Erg, $Uj) == "FromPentabarf") ) + { + echo "show". + "". + "Yes". + "No". + "\n"; + } else - $FeldName = mysql_field_name($Erg, $Uj); + { + //sonderfall fuer Default Engel + if( substr( mysql_field_name($Erg, $Uj), 0, 12) == "DEFAULT_EID_") + $FeldName = "Anzahl ". $EngelTypeID[substr( mysql_field_name($Erg, $Uj), 12)]; + else + $FeldName = mysql_field_name($Erg, $Uj); - echo "$FeldName". - ""; - echo "\n"; + echo "$FeldName". + ""; + echo "\n"; + } } echo "\n"; echo "\n"; @@ -103,12 +114,12 @@ case 'change': for ($Uj = 1; $Uj < mysql_num_fields($ERG); $Uj++) { - if( mysql_field_name($ERG, $Uj) == "show") + if( (mysql_field_name($ERG, $Uj) == "show") || (mysql_field_name($ERG, $Uj) == "FromPentabarf") ) { echo "show". "". - "Yes". - "No". + "Yes". + "No". "\n"; } else -- cgit v1.2.3-54-g00ecf