From: moodler Date: Sat, 16 Sep 2006 14:26:13 +0000 (+0000) Subject: Fixed hard-codes string X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5fe3980628531354b1678d733ce3c7d5f2ab98ca;p=moodle.git Fixed hard-codes string --- diff --git a/admin/roles/manage.php b/admin/roles/manage.php index 56c46af845..8d6e1132b9 100755 --- a/admin/roles/manage.php +++ b/admin/roles/manage.php @@ -17,6 +17,7 @@ $stradministration = get_string('administration'); $strmanageroles = get_string('manageroles'); + $strdelete = get_string('delete'); if ($roleid && $action!='delete') { $role = get_record('role', 'id', $roleid); @@ -185,7 +186,7 @@ foreach ($roles as $role) { - $table->data[] = array(''.$role->name.'', $role->description, 'delete'); + $table->data[] = array(''.$role->name.'', $role->description, ''.$strdelete.''); } print_table($table);