From df6718f3f868b226328ff292f2b5d13f054850ea Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 30 Oct 2013 12:54:46 +0000 Subject: feature 1668, user manager redesign: ability to add a new user (call to pwg.users.add through AJAX) Move the "send connection settings" code to function register_user (avoid code duplication). git-svn-id: http://piwigo.org/svn/trunk@25237 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/user_list.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'admin/user_list.php') diff --git a/admin/user_list.php b/admin/user_list.php index a9744a0d2..3c0b6488d 100644 --- a/admin/user_list.php +++ b/admin/user_list.php @@ -25,6 +25,19 @@ * Add users and manage users list */ +// +-----------------------------------------------------------------------+ +// | tabs | +// +-----------------------------------------------------------------------+ + +include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); + +$my_base_url = get_root_url().'admin.php?page='; + +$tabsheet = new tabsheet(); +$tabsheet->set_id('users'); +$tabsheet->select('user_list'); +$tabsheet->assign(); + // +-----------------------------------------------------------------------+ // | groups list | // +-----------------------------------------------------------------------+ @@ -73,6 +86,7 @@ $template->assign( array( 'users' => $users, 'all_users' => join(',', $user_ids), + 'Double_Password' => $conf['double_password_type_in_admin'] ) ); -- cgit v1.2.3