Commit 22e418d8 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

More language string fixes.

parent 2eaedf87
......@@ -85,14 +85,14 @@ function buttons_submit_unsuspend(Pieform $form, $values) {
unsuspend_user($userid);
}
$SESSION->add_ok_msg(get_string('usersunsuspendedsuccessfully'));
$SESSION->add_ok_msg(get_string('usersunsuspendedsuccessfully', 'admin'));
redirect('admin/users/suspended.php');
}
function buttons_submit_export(Pieform $form, $values) {
global $SESSION;
$ids = get_user_ids_from_post();
$SESSION->add_info_msg(get_string('exportingnotsupportedyet'));
$SESSION->add_info_msg(get_string('exportingnotsupportedyet', 'admin'));
redirect('admin/users/suspended.php');
}
......@@ -104,7 +104,7 @@ function buttons_submit_delete(Pieform $form, $values) {
delete_user($userid);
}
$SESSION->add_ok_msg(get_string('usersdeletedsuccessfully'));
$SESSION->add_ok_msg(get_string('usersdeletedsuccessfully', 'admin'));
redirect('admin/users/suspended.php');
}
......@@ -118,7 +118,7 @@ function get_user_ids_from_post() {
if (!$ids) {
global $SESSION;
$SESSION->add_info_msg(get_string('nousersselected'));
$SESSION->add_info_msg(get_string('nousersselected', 'admin'));
redirect('admin/users/suspended.php');
}
......
......@@ -70,7 +70,7 @@ $form = array(
),
'submit' => array(
'type' => 'submit',
'value' => get_string('uploadcsvfile', 'admin')
'value' => get_string('uploadcsv', 'admin')
)
)
);
......
......@@ -175,12 +175,14 @@ $string['staffusersupdated'] = 'Staff users updated';
$string['deleteusers'] = 'Delete Users';
$string['exportingnotsupportedyet'] = 'Exporting user profiles is not supported yet';
$string['exportuserprofiles'] = 'Export User Profiles';
$string['nousersselected'] = 'No users selected';
$string['suspenduser'] = 'Suspend User';
$string['suspendedusers'] = 'Suspended Users';
$string['suspensionreason'] = 'Suspension reason';
$string['errorwhilesuspending'] = 'An error occured while trying to suspend';
$string['suspendedusersdescription'] = 'Suspend or unsuspend users from logging in to the site (note: not implemented yet)';
$string['unsuspendusers'] = 'Unsuspend Users';
$string['usersdeletedsuccessfully'] = 'Users deleted successfully';
$string['usersunsuspendedsuccessfully'] = 'Users unsuspended successfully';
// Institutions
......
......@@ -4,9 +4,9 @@
<div class="content">
<div class="box-cnrs"><span class="cnr-tl"><span class="cnr-tr"><span class="cnr-bl"><span class="cnr-br">
<div class="maincontent">
<h2>{str tag="uploadcsvfile" section="admin"}</h2>
<h2>{str tag="uploadcsv" section="admin"}</h2>
<p>{str tag="uploadcsvfiledescription" section="admin"}</p>
<p>{str tag="uploadcsvdescription" section="admin"}</p>
{$uploadcsvform}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment