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 | ![]() |