summaryrefslogtreecommitdiff
path: root/www-ssl/admin
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-21 18:34:30 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-21 18:34:30 +0000
commit375d4143d1f5f8ad2c39597160fa1d0282e322ae (patch)
tree3c0e17202fedb7acab6111c21e9c318d1919b6e9 /www-ssl/admin
parent1f312f39c9dd0b87d5a7f6eee68ca357a844fd00 (diff)
auswahl ob menu links oder rechst hinzugefuegt
git-svn-id: svn://svn.cccv.de/engel-system@75 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/admin')
-rwxr-xr-xwww-ssl/admin/user.php12
-rwxr-xr-xwww-ssl/admin/user2.php5
2 files changed, 15 insertions, 2 deletions
diff --git a/www-ssl/admin/user.php b/www-ssl/admin/user.php
index 2a886e23..7b7b2949 100755
--- a/www-ssl/admin/user.php
+++ b/www-ssl/admin/user.php
@@ -195,6 +195,18 @@ else
echo " checked";
echo ">Yes \n";
echo "</td></tr>\n";
+
+ // Menu links/rechts
+ echo " <tr><td>Menu</td><td>\n";
+ echo " <input type=\"radio\" name=\"eMenu\" value=\"L\"";
+ if (mysql_result($Erg, 0, "Menu")=='L')
+ echo " checked";
+ echo ">L \n";
+ echo " <input type=\"radio\" name=\"eMenu\" value=\"R\"";
+ if (mysql_result($Erg, 0, "Menu")=='R')
+ echo " checked";
+ echo ">R \n";
+ echo "</td></tr>\n";
} //IF TYPE
}
if( $_GET["Type"] == "Secure" )
diff --git a/www-ssl/admin/user2.php b/www-ssl/admin/user2.php
index d4daaf23..36588457 100755
--- a/www-ssl/admin/user2.php
+++ b/www-ssl/admin/user2.php
@@ -17,7 +17,7 @@ if (IsSet($_GET["action"]))
if ($Erg == 1) {
echo "&Auml;nderung wurde gesichert...\n";
} else {
- echo "Fehler beim speichern...\n";
+ echo "Fehler beim speichern...\n(". mysql_error($con). ")";
}
}
@@ -42,7 +42,8 @@ if (IsSet($_GET["action"]))
"`Size` = '". $_POST["eSize"]. "', ".
"`Gekommen`= '". $_POST["eGekommen"]. "', ".
"`Aktiv`= '". $_POST["eAktiv"]. "', ".
- "`Tshirt` = '". $_POST["eTshirt"]. "' ".
+ "`Tshirt` = '". $_POST["eTshirt"]. "', ".
+ "`Menu` = '". $_POST["eMenu"]. "' ".
"WHERE `UID` = '". $_POST["enterUID"].
"' LIMIT 1;";
echo "User-";