Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
2de901e8
Commit
2de901e8
authored
Jan 26, 2015
by
Leigh B Stoller
Browse files
Get rid of widearea list, change to nonlocal.
parent
25cd6e61
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showuser_list.php3
View file @
2de901e8
<?php
#
# Copyright (c) 2000-201
2
University of Utah and the Flux Group.
# Copyright (c) 2000-201
5
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -59,7 +59,7 @@ PAGEHEADER("User List");
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=
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=active'>active</a>,
<a href='showuser_list.php3?showtype=inactive'>inactive</a>,
...
...
@@ -105,10 +105,10 @@ elseif (! strcmp($showtype, "recent")) {
$showtag
=
"recently logged in (yesterday)"
;
$dorecent
=
1
;
}
elseif
(
!
strcmp
(
$showtype
,
"
widearea
"
))
{
$clause
=
"
left join widearea_accounts as w on u.uid_idx=w.uid_idx
"
;
$where
=
"where
w
.no
de
_id is not NULL"
;
$showtag
=
"
widearea
"
;
elseif
(
!
strcmp
(
$showtype
,
"
nonlocal
"
))
{
$clause
=
""
;
$where
=
"where
u
.no
nlocal
_id is not NULL
"
;
$showtag
=
"
nonlocal
"
;
}
elseif
(
!
strcmp
(
$showtype
,
"homeless"
))
{
$clause
=
"left join group_membership as m on u.uid_idx=m.uid_idx "
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment