]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed hard-codes string
authormoodler <moodler>
Sat, 16 Sep 2006 14:26:13 +0000 (14:26 +0000)
committermoodler <moodler>
Sat, 16 Sep 2006 14:26:13 +0000 (14:26 +0000)
admin/roles/manage.php

index 56c46af845fe0e644988fbeb26f29e2bbbe1ad91..8d6e1132b9de0f6674a4fd87bc3cecdc655ed138 100755 (executable)
@@ -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);
 
         foreach ($roles as $role) {
 
-            $table->data[] = array('<a href="manage.php?roleid='.$role->id.'&amp;sesskey='.sesskey().'">'.$role->name.'</a>', $role->description, '<a href="manage.php?action=delete&roleid='.$role->id.'&sesskey='.sesskey().'">delete</a>');
+            $table->data[] = array('<a href="manage.php?roleid='.$role->id.'&amp;sesskey='.sesskey().'">'.$role->name.'</a>', $role->description, '<a href="manage.php?action=delete&roleid='.$role->id.'&sesskey='.sesskey().'">'.$strdelete.'</a>');
 
         } 
         print_table($table);