Commit b031ac6b authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add a plain list option for wireless nodes (using location_info

table).
parent 3bd5e77c
......@@ -45,7 +45,9 @@ else {
echo "<b>Show: <a href='nodecontrol_list.php3?showtype=summary'>summary</a>,
<a href='nodecontrol_list.php3?showtype=pcs'>pcs</a>,
<a href='floormap.php3'>wireless</a>,
<a href='floormap.php3'>wireless maps</a>,
<a href='nodecontrol_list.php3?showtype=wireless'>
wireless list</a>,
<a href='nodecontrol_list.php3?showtype=widearea'>widearea</a>";
if ($isadmin) {
......@@ -110,6 +112,15 @@ elseif (! strcmp($showtype, "widearea")) {
$view = "Widearea";
}
elseif (! strcmp($showtype, "wireless")) {
$role = "(role='testnode')";
$clause = "and (loc.node_id is not null)";
$additionalLeftJoin = "LEFT JOIN location_info AS loc ".
"ON n.node_id=loc.node_id";
$view = "Wireless";
}
else {
$role = "(role='testnode')";
$clause = "and (nt.class='pc')";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment