From 7fad699525197670cb2697db89049966d1f46a78 Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 13 Aug 2006 09:29:33 +0000 Subject: [PATCH] Tidying up some spelling --- admin/roles/manage.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/admin/roles/manage.php b/admin/roles/manage.php index 6e0fa3bb030..9f9c2eb1565 100755 --- a/admin/roles/manage.php +++ b/admin/roles/manage.php @@ -5,7 +5,7 @@ require_login(); - $roleid = optional_param('roleid', 0, PARAM_INT); // if set, we are editting a role + $roleid = optional_param('roleid', 0, PARAM_INT); // if set, we are editing a role $action = optional_param('action', '', PARAM_ALPHA); $name = optional_param('name', '', PARAM_ALPHA); // new role name $description = optional_param('description', '', PARAM_NOTAGS); // new role desc @@ -28,18 +28,18 @@ if ($roleid && $action!='delete') { $role = get_record('role', 'id', $roleid); - $edittingstr = '-> '.get_string('editting', $role->name); + $editingstr = '-> '.get_string('editinga', '', $role->name); } else { - $edittingstr =''; + $editingstr =''; } print_header("$site->shortname: $strmanageroles", "$site->fullname", "$stradministration -> $strmanageroles - $edittingstr + $editingstr "); - // form processing, editting a role, adding a role or deleting a role + // form processing, editing a role, adding a role or deleting a role if ($action && confirm_sesskey()) { switch ($action) {