mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Linking to the tests from the main page.
This commit is contained in:
parent
c94d37997d
commit
091789788f
@ -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 .= ' <a href="index.php?action=view_reserved_words">[' . $this->str['reservedwords'] . ']</a>';
|
||||
/// The test button
|
||||
$b .= ' <a href="index.php?action=test">[' . $this->str['test'] . ']</a>';
|
||||
$b .= '</p>';
|
||||
/// Send buttons to output
|
||||
$o .= $b;
|
||||
|
Loading…
x
Reference in New Issue
Block a user