diff options
Diffstat (limited to 'rt/webrt/Admin/Users/index.html')
-rwxr-xr-x | rt/webrt/Admin/Users/index.html | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/rt/webrt/Admin/Users/index.html b/rt/webrt/Admin/Users/index.html deleted file mode 100755 index 383513710..000000000 --- a/rt/webrt/Admin/Users/index.html +++ /dev/null @@ -1,71 +0,0 @@ -<& /Admin/Elements/Header, Title => 'Admin users' &> -<& /Admin/Elements/Tabs, current_tab => 'Admin/Users/' &> - - -<& /Elements/TitleBoxStart, title => 'Select a user' &> - -<TABLE> -<TR> -<TD VALIGN=TOP> - -<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Users/"> - -Find people whose <& /Elements/SelectUsers &><BR> -<input type="checkbox" name="FindDisabledUsers"> Include disabled users in search. -<BR> -<div align=right><input type=submit value="Go!"></div> -</FORM> -</TD> -<TD VALIGN=TOP> -<UL> -% if ($session{'CurrentUser'}->HasSystemRight('AdminUsers')) { -<LI><A HREF="<%$RT::WebPath%>/Admin/Users/Modify.html?Create=1">Create a new user</A><BR><BR></LI> -</UL> -% } - -<%$caption%><BR> -<UL> -%if ($users->Count == 0) { -<LI> <i>No users matching search criteria found.</i> -% } -%while ( $user = $users->Next) { -<LI><A HREF="Modify.html?id=<%$user->id%>"><%$user->Name || '(no name listed)'%></a></LI> -%} - -</UL> -</TD> -</TR> -</TABLE> -<& /Elements/TitleBoxEnd &> - -<%INIT> -my ($user, $caption); -my $users = new RT::Users($session{'CurrentUser'}); - -if ($FindDisabledUsers) { - $users->{'find_disabled_rows'} = 1; -} - -unless (defined $UserString) { - $users->LimitToPrivileged(); - $caption = "Privileged users"; -} -else { - $caption = "Users matching search criteria"; - - if ($UserString) { - $users->Limit( FIELD => $UserField, - OPERATOR => $UserOp, - VALUE => $UserString); - -} -} -</%INIT> -<%ARGS> -$UserString => undef -$UserOp => '=' -$UserField => 'Name' -$IdLike => undef -$EmailLike => undef -$FindDisabledUsers => 0 -</%ARGS> |