aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/admin_users.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-08-03 23:52:33 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-08-03 23:52:33 +0000
commitca716517676cff9e66ebd301bf771891d0cb0962 (patch)
tree17560847b65989326f26d395f4b4aa363f4e4053 /phpBB/admin/admin_users.php
parent66295f4bdae6eb6c0dd2f6d165d0faf3f9d7f10d (diff)
downloadforums-ca716517676cff9e66ebd301bf771891d0cb0962.tar
forums-ca716517676cff9e66ebd301bf771891d0cb0962.tar.gz
forums-ca716517676cff9e66ebd301bf771891d0cb0962.tar.bz2
forums-ca716517676cff9e66ebd301bf771891d0cb0962.tar.xz
forums-ca716517676cff9e66ebd301bf771891d0cb0962.zip
Various updates
git-svn-id: file:///svn/phpbb/trunk@2816 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_users.php')
-rw-r--r--phpBB/admin/admin_users.php46
1 files changed, 16 insertions, 30 deletions
diff --git a/phpBB/admin/admin_users.php b/phpBB/admin/admin_users.php
index 1562c65476..378636dbd9 100644
--- a/phpBB/admin/admin_users.php
+++ b/phpBB/admin/admin_users.php
@@ -1012,42 +1012,28 @@ if ( $mode == 'edit' || $mode == 'save' && ( isset($HTTP_POST_VARS['username'])
}
else
{
- //
- // Default user selection box
- //
- $sql = "SELECT user_id, username
- FROM " . USERS_TABLE . "
- WHERE user_id <> " . ANONYMOUS ."
- ORDER BY username";
- $result = $db->sql_query($sql);
-
- $select_list = '<select name="u">';
- while( $row = $db->sql_fetchrow($result) )
- {
- $select_list .= '<option value="' . $row['user_id'] . '">' . $row['username'] . '</option>';
- }
- $select_list .= '</select>';
- $template->set_filenames(array(
- 'body' => 'admin/user_select_body.tpl')
- );
+ page_header($lang['Manage']);
- $template->assign_vars(array(
- 'L_USER_TITLE' => $lang['User_admin'],
- 'L_USER_EXPLAIN' => $lang['User_admin_explain'],
- 'L_USER_SELECT' => $lang['Select_a_User'],
- 'L_LOOK_UP' => $lang['Look_up_user'],
- 'L_FIND_USERNAME' => $lang['Find_username'],
+?>
- 'U_SEARCH_USER' => "../search.$phpEx$SID&amp;mode=searchuser",
+<h1><?php echo $lang['User_admin']; ?></h1>
- 'S_USER_ACTION' => "admin_users.$phpEx$SID",
- 'S_USER_SELECT' => $select_list)
- );
- $template->display('body');
+<p><?php echo $lang['User_admin_explain']; ?></p>
+
+<form method="post" name="post" action="<?php echo "admin_users.$phpEx$SID"; ?>"><table class="bg" cellspacing="1" cellpadding="4" border="0" align="center">
+ <tr>
+ <th align="center"><?php echo $lang['Select_a_User']; ?></th>
+ </tr>
+ <tr>
+ <td class="row1" align="center"><input type="text" class="post" name="username" maxlength="50" size="20" /> <input type="hidden" name="mode" value="edit" /><input type="submit" name="submituser" value="<?php echo $lang['Look_up_user']; ?>" class="mainoption" /> <input type="submit" name="usersubmit" value="<?php echo $lang['Find_username']; ?>" class="liteoption" onClick="window.open('<?php echo "../search.$phpEx$SID&amp;mode=searchuser&amp;field=username"; ?>', '_phpbbsearch', 'HEIGHT=500,resizable=yes,scrollbars=yes,WIDTH=650');return false;" /></td>
+ </tr>
+</table></form>
+
+<?php
}
-include('page_footer_admin.'.$phpEx);
+page_footer();
?> \ No newline at end of file