Hack to link from the admin interface to the XMLDB editor.

This commit is contained in:
stronk7
2006-08-07 19:47:03 +00:00
parent ab8bfc7eee
commit 2bcd169775
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -37,6 +37,11 @@
$table->data[] = array('<b><a href="'.$CFG->dbtype.'/frame.php">'.get_string('managedatabase')."</a></b>",
get_string('adminhelpmanagedatabase'));
}
/// Hack to show the XMLDB editor
if (file_exists("$CFG->dirroot/$CFG->admin/xmldb")) {
$table->data[] = array('<b><a href="xmldb/index.php">'.get_string('xmldbeditor')."</a></b>",
get_string('adminhelpxmldbeditor'));
}
print_table($table);