From: stronk7 Date: Sat, 25 Sep 2004 11:37:10 +0000 (+0000) Subject: Added backup & restore to SITE page. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4894189c0c9a82a90f54f3d6b162d91da92dd821;p=moodle.git Added backup & restore to SITE page. Some changes from hardcoded '1' to SITEID. See Bug 1928 (http://moodle.org/bugs/bug.php?op=show&bugid=1928) Merged from MOODLE_14_STABLE --- diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index 1da94e9283..3eb8328ad2 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -40,6 +40,12 @@ class CourseBlock_admin extends MoodleBlock { $this->content->items[] = ''.get_string('users').'...'; $this->content->icons[] = ''; + + $this->content->items[]=''.get_string('backup').'...'; + $this->content->icons[]=''; + + $this->content->items[]=''.get_string('restore').'...'; + $this->content->icons[]=''; } if (iscreator()) { @@ -48,10 +54,10 @@ class CourseBlock_admin extends MoodleBlock { } if (isadmin()) { - $this->content->items[] = ''.get_string('logs').''; + $this->content->items[] = ''.get_string('logs').''; $this->content->icons[] = ''; - $this->content->items[] = ''.get_string('sitefiles').''; + $this->content->items[] = ''.get_string('sitefiles').''; $this->content->icons[] = ''; if (file_exists($CFG->dirroot.'/'.$CFG->admin.'/'.$CFG->dbtype)) {