mirror of
https://github.com/e107inc/e107.git
synced 2025-04-19 20:21:51 +02:00
Simplified Quick-Add-User success message.
This commit is contained in:
parent
047bfeb48e
commit
f8987b6cc2
@ -1175,19 +1175,19 @@ class users_admin_ui extends e_admin_ui
|
||||
}
|
||||
}
|
||||
|
||||
$message = str_replace('--NAME--', htmlspecialchars($user_data['user_name'], ENT_QUOTES, CHARSET), USRLAN_174);
|
||||
// $message = str_replace('--NAME--', htmlspecialchars($user_data['user_name'], ENT_QUOTES, CHARSET), USRLAN_174);
|
||||
$message = USRLAN_172; // "User account has been created with the following:" ie. keep it simple so it can easily be copied and pasted.
|
||||
|
||||
// Always show Login name and password
|
||||
//if (isset($_POST['generateloginname']))
|
||||
{
|
||||
$mes->addSuccess($message)
|
||||
->addSuccess(USRLAN_173.': <strong>'.htmlspecialchars($user_data['user_loginname'], ENT_QUOTES, CHARSET).'</strong>');
|
||||
->addSuccess(USRLAN_128.': <strong>'.htmlspecialchars($user_data['user_loginname'], ENT_QUOTES, CHARSET).'</strong>');
|
||||
}
|
||||
|
||||
//if (isset($_POST['generatepassword']))
|
||||
{
|
||||
$mes->addSuccess($message)
|
||||
->addSuccess(USRLAN_172.': <strong>'.htmlspecialchars($savePassword, ENT_QUOTES, CHARSET).'</strong>');
|
||||
$mes->addSuccess(USRLAN_62.': <strong>'.htmlspecialchars($savePassword, ENT_QUOTES, CHARSET).'</strong>');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -176,9 +176,9 @@ define('USRLAN_168', 'Re-send --COUNT-- validation emails');
|
||||
define('USRLAN_169', 'Total --COUNT-- bounced emails deleted');
|
||||
define('USRLAN_170', 'Random user name');
|
||||
define('USRLAN_171', 'Random password');
|
||||
define('USRLAN_172', 'Password set');
|
||||
define('USRLAN_173', 'Login name set');
|
||||
define('USRLAN_174', 'User name --NAME-- created');
|
||||
define('USRLAN_172', 'User account has been created with the following:');
|
||||
// define('USRLAN_173', 'Login name set');
|
||||
// define('USRLAN_174', 'User name --NAME-- created');
|
||||
define('USRLAN_175', '');
|
||||
|
||||
define('USRLAN_179', 'User banned: ');
|
||||
@ -261,7 +261,7 @@ define("USFLAN_6", "User ID");
|
||||
define("USFLAN_7", "User Information");
|
||||
|
||||
|
||||
define('USRLAN_AS_1', 'Login as %s');
|
||||
define('USRLAN_AS_1', 'Login as %s'); //FIXME use [x]
|
||||
define('USRLAN_AS_2', 'Logout from %s account');
|
||||
define('USRLAN_AS_3', 'You are already logged in as another user account. Please logout first.');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user