]> git.mjollnir.org Git - moodle.git/commitdiff
Linking to the tests from the main page.
authorstronk7 <stronk7>
Sun, 10 Sep 2006 18:42:23 +0000 (18:42 +0000)
committerstronk7 <stronk7>
Sun, 10 Sep 2006 18:42:23 +0000 (18:42 +0000)
admin/xmldb/actions/main_view/main_view.class.php

index f46381e7cca132586db11ca2d44088aba80111bf..44a72015f0b7a05cfc4cba426814054a1e23309a 100644 (file)
@@ -46,6 +46,7 @@ class main_view extends XMLDBAction {
             'unload' => 'xmldb',
             'delete' => 'xmldb',
             'reservedwords' => 'xmldb',
+            'test' => 'xmldb',
             'gotolastused' => 'xmldb'
         ));
     }
@@ -81,6 +82,8 @@ class main_view extends XMLDBAction {
         $b = '<p align="center" class="buttons">';
     /// The reserved_words button
         $b .= '&nbsp;<a href="index.php?action=view_reserved_words">[' . $this->str['reservedwords'] . ']</a>';
+    /// The test button
+        $b .= '&nbsp;<a href="index.php?action=test">[' . $this->str['test'] . ']</a>';
         $b .= '</p>';
     /// Send buttons to output
         $o .= $b;