Skip to content

Commit

Permalink
NOBUG: Changing the 'Edit' button to "Manage my files" on Private fil…
Browse files Browse the repository at this point in the history
…es for usability
  • Loading branch information
moodler committed Jul 18, 2010
1 parent 34a988e commit 8682d4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/private_files/block_private_files.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function get_content() {

$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 = '';

}
Expand Down
1 change: 1 addition & 0 deletions blocks/private_files/lang/en/block_private_files.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit 8682d4a

Please sign in to comment.