NOBUG: Changing the 'Edit' button to "Manage my files" on Private files for usability
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user