Commit 2de901e8 authored by Leigh B Stoller's avatar Leigh B Stoller

Get rid of widearea list, change to nonlocal.

parent 25cd6e61
<?php <?php
# #
# Copyright (c) 2000-2012 University of Utah and the Flux Group. # Copyright (c) 2000-2015 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -59,7 +59,7 @@ PAGEHEADER("User List"); ...@@ -59,7 +59,7 @@ PAGEHEADER("User List");
echo "<b>Show: <a href='showuser_list.php3?showtype=loggedin'>loggedin</a>, echo "<b>Show: <a href='showuser_list.php3?showtype=loggedin'>loggedin</a>,
<a href='showuser_list.php3?showtype=recent'>recent</a>, <a href='showuser_list.php3?showtype=recent'>recent</a>,
<a href='showuser_list.php3?showtype=widearea'>widearea</a>, <a href='showuser_list.php3?showtype=nonlocal'>nonlocal</a>,
<a href='showuser_list.php3?showtype=homeless'>homeless</a>, <a href='showuser_list.php3?showtype=homeless'>homeless</a>,
<a href='showuser_list.php3?showtype=active'>active</a>, <a href='showuser_list.php3?showtype=active'>active</a>,
<a href='showuser_list.php3?showtype=inactive'>inactive</a>, <a href='showuser_list.php3?showtype=inactive'>inactive</a>,
...@@ -105,10 +105,10 @@ elseif (! strcmp($showtype, "recent")) { ...@@ -105,10 +105,10 @@ elseif (! strcmp($showtype, "recent")) {
$showtag = "recently logged in (yesterday)"; $showtag = "recently logged in (yesterday)";
$dorecent= 1; $dorecent= 1;
} }
elseif (! strcmp($showtype, "widearea")) { elseif (! strcmp($showtype, "nonlocal")) {
$clause = "left join widearea_accounts as w on u.uid_idx=w.uid_idx "; $clause = "";
$where = "where w.node_id is not NULL"; $where = "where u.nonlocal_id is not NULL ";
$showtag = "widearea"; $showtag = "nonlocal";
} }
elseif (! strcmp($showtype, "homeless")) { elseif (! strcmp($showtype, "homeless")) {
$clause = "left join group_membership as m on u.uid_idx=m.uid_idx "; $clause = "left join group_membership as m on u.uid_idx=m.uid_idx ";
......
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