diff --git a/www/floormap.php3 b/www/floormap.php3 index 3b51a429aa1f514e5f797311e58ea5da9aada8ea..c9e4fe5c20baa3dcc08b091ec4088c38b7721fa1 100755 --- a/www/floormap.php3 +++ b/www/floormap.php3 @@ -17,19 +17,17 @@ PAGEHEADER("Wireless Node Map"); $uid = GETLOGIN(); LOGGEDINORDIE($uid); $isadmin = ISADMIN($uid); -if (! $isadmin) { - USERERROR("You do not have permission to view this page!", 1); -} # Careful with this local variable unset($prefix); # -# Verify page arguments. +# Verify page arguments. For now, just default to MEB since thats the only +# place we have wireless nodes! # if (!isset($building) || strcmp($building, "") == 0) { - PAGEARGERROR("Must provide a building and an optional floor!"); + $building = "MEB"; } # Sanitize for the shell. if (!preg_match("/^[-\w]+$/", $building)) { @@ -93,9 +91,14 @@ if (! readfile("${prefix}.map")) { TBERROR("Could not read ${prefix}.map", 1); } +echo "For more info on using wireless nodes, see the + + wireless tutorial.

\n"; + # And the img ... echo "
- +
Free Free @@ -112,10 +115,11 @@ echo "
-

+ Click on the dots below to see information about the node
\n"; + # # Standard Testbed Footer # diff --git a/www/floormap_aux.php3 b/www/floormap_aux.php3 index 6f524a9ad3796f64521d2432b0e8ef36ffb57656..c76654165d49b96803de44e9bae44425d044742a 100755 --- a/www/floormap_aux.php3 +++ b/www/floormap_aux.php3 @@ -17,9 +17,6 @@ include("defs.php3"); $uid = GETLOGIN(); LOGGEDINORDIE($uid); $isadmin = ISADMIN($uid); -if (! $isadmin) { - USERERROR("You do not have permission to view this page!", 1); -} # # Verify arguments. diff --git a/www/nodecontrol_list.php3 b/www/nodecontrol_list.php3 index f0c6d01ace8ef20fce26cd3a347d91f448dbdfef..9560ffeb998fd8aac3e44aaa1b38f9685de83588 100644 --- a/www/nodecontrol_list.php3 +++ b/www/nodecontrol_list.php3 @@ -31,6 +31,7 @@ $isadmin = ISADMIN($uid); echo "Show: summary, pcs, + wireless, widearea"; if ($isadmin) {