summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-08-29 08:50:49 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2006-08-29 08:50:49 +0000
commit1f45fe7b70e6cb010a44755f643dd62f1002131e (patch)
tree24ee3d64623b7611fe3771c4cff48bff6cb2b8ab /www-ssl
parent05c06b6380ef1764f087e660c0a65781db28cb3c (diff)
sonderfall: fuer feld show bei der ausgabe (auswahl Y/N)
git-svn-id: svn://svn.cccv.de/engel-system@137 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl')
-rwxr-xr-xwww-ssl/admin/room.php29
1 files changed, 20 insertions, 9 deletions
diff --git a/www-ssl/admin/room.php b/www-ssl/admin/room.php
index 9b3dce1a..8f2f08f7 100755
--- a/www-ssl/admin/room.php
+++ b/www-ssl/admin/room.php
@@ -103,16 +103,27 @@ case 'change':
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")
+ {
+ echo "<tr><td>show</td>".
+ "<td>".
+ "<input type=\"radio\" name=\"eshow\" value=\"Y\"". (mysql_result($ERG, 0, $Uj)=='Y'? " checked":""). ">Yes".
+ "<input type=\"radio\" name=\"eshow\" value=\"N\"". (mysql_result($ERG, 0, $Uj)=='N'? " checked":""). ">No".
+ "</td></tr>\n";
+ }
else
- $FeldName = mysql_field_name($ERG, $Uj);
-
- echo "<tr><td>$FeldName</td>".
- "<td><input type=\"text\" size=\"40\" name=\"e".mysql_field_name($ERG, $Uj)."\" ".
- "value=\"".mysql_result($ERG, 0, $Uj)."\">";
- echo"</td></tr>\n";
+ {
+ if( substr( mysql_field_name($ERG, $Uj), 0, 12) == "DEFAULT_EID_")
+ //sonderfall fuer Default Engel
+ $FeldName = "Anzahl ". $EngelTypeID[substr( mysql_field_name($ERG, $Uj), 12)];
+ else
+ $FeldName = mysql_field_name($ERG, $Uj);
+
+ echo "<tr><td>$FeldName</td>".
+ "<td><input type=\"text\" size=\"40\" name=\"e".mysql_field_name($ERG, $Uj)."\" ".
+ "value=\"".mysql_result($ERG, 0, $Uj)."\">".
+ "</td></tr>\n";
+ }
}
echo "</table>\n";
echo "<input type=\"hidden\" name=\"eRID\" value=\"". $_GET["RID"]. "\">\n";