]> git.mjollnir.org Git - moodle.git/commitdiff
Aha, the link to the new reset feature
authormoodler <moodler>
Tue, 21 Mar 2006 09:04:22 +0000 (09:04 +0000)
committermoodler <moodler>
Tue, 21 Mar 2006 09:04:22 +0000 (09:04 +0000)
blocks/admin/block_admin.php

index 822b7ee20ab36e31e2b4a4dc0b7daebbe8394faf..2112a8e7431799861fd8fda3d3897ab1bc4e685d 100644 (file)
@@ -155,6 +155,8 @@ class block_admin extends block_list {
 
                 $this->content->items[]='<a href="'.$CFG->wwwroot.'/course/import.php?id='.$this->instance->pageid.'">'.get_string('import').'</a>';
                 $this->content->icons[]='<img src="'.$CFG->pixpath.'/i/restore.gif" alt="" />';
+                $this->content->items[]='<a href="'.$CFG->wwwroot.'/course/reset.php?id='.$this->instance->pageid.'">'.get_string('reset').'</a>';
+                $this->content->icons[]='<img src="'.$CFG->pixpath.'/i/return.gif" alt="" />';
                 $this->content->items[]='<a href="'.$CFG->wwwroot.'/course/report.php?id='.$this->instance->pageid.'">'.get_string('reports').'</a>';
                 $this->content->icons[]='<img src="'.$CFG->pixpath.'/i/stats.gif" alt="" />';