NOBUG: Changing the 'Edit' button to "Manage my files" on Private files for usability

This commit is contained in:
Martin Dougiamas
2010-07-18 08:12:52 +00:00
parent 34a988e25f
commit 8682d4a9fa
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class block_private_files extends block_base {
$renderer = $this->page->get_renderer('block_private_files');
$this->content->text = $renderer->private_files_tree();
$this->content->text .= $OUTPUT->single_button(new moodle_url('/blocks/private_files/edit.php'), get_string('edit'), 'get');
$this->content->text .= $OUTPUT->single_button(new moodle_url('/blocks/private_files/edit.php'), get_string('managemyfiles', 'block_private_files'), 'get');
$this->content->footer = '';
}
@@ -23,5 +23,6 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['managemyfiles'] = 'Manage my files';
$string['pluginname'] = 'User private files';
$string['privatefiles'] = 'Private files';