Permalink
Browse files

fix for mysqladmin links

  • Loading branch information...
1 parent c72387b commit cb43ec58fb8de66bed82ead117237711b25f7962 skodak committed Jul 4, 2006
Showing with 6 additions and 2 deletions.
  1. +2 −2 admin/index.php
  2. +4 −0 admin/misc.php
View
@@ -430,8 +430,8 @@
'</a> - <span class="explanation">'.get_string('adminhelpenvironment').'</span></div>';
/// Optional stuff
if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) {
- $table->data[] = array("<strong><a href=\"$CFG->dbtype/frame.php\">".get_string('managedatabase').'</a></strong>',
- '<div class="explanation">'.get_string('adminhelpmanagedatabase').'</div>');
+ $miscdata .= '<div class="adminlink"><a href="'.$CFG->dbtype.'/frame.php">'.get_string('managedatabase').
+ '</a> - <span class="explanation">'.get_string('adminhelpmanagedatabase').'</span></div>';
}
$table->data[] = array('<strong><a href="misc.php">'.get_string('miscellaneous').'</a></strong>', $miscdata);
View
@@ -33,6 +33,10 @@
get_string('adminhelphealthcenter'));*/
$table->data[] = array('<b><a href="environment.php">'.get_string('environment', 'admin')."</a></b>",
get_string('adminhelpenvironment'));
+ if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) {
+ $table->data[] = array('<b><a href="'.$CFG->dbtype.'/frame.php">'.get_string('managedatabase')."</a></b>",
+ get_string('adminhelpmanagedatabase'));
+ }
print_table($table);

0 comments on commit cb43ec5

Please sign in to comment.