From aedbbbcf9c5d4810ba899039fee4c03652c33a4a Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 4 Jul 2006 09:41:47 +0000 Subject: [PATCH] fix for mysqladmin links; merged from MOODLE_16_STABLE --- admin/index.php | 9 +++++---- admin/misc.php | 9 +++++++-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/admin/index.php b/admin/index.php index e90bf180eea..01a7f01c9c0 100644 --- a/admin/index.php +++ b/admin/index.php @@ -423,14 +423,15 @@ ' - '.get_string('adminhelpstickyblocks').''; $miscdata .= ''; - $miscdata .= ''; +//to be enabled later +/* $miscdata .= '';*/ $miscdata .= ''; /// Optional stuff if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) { - $table->data[] = array("dbtype/frame.php\">".get_string('managedatabase').'', - '
'.get_string('adminhelpmanagedatabase').'
'); + $miscdata .= ''; } $table->data[] = array(''.get_string('miscellaneous').'', $miscdata); diff --git a/admin/misc.php b/admin/misc.php index c1fccd0d228..6aa599ddc33 100644 --- a/admin/misc.php +++ b/admin/misc.php @@ -28,10 +28,15 @@ get_string('adminhelpstickyblocks')); $table->data[] = array(''.get_string('reports')."", get_string('adminhelpreports')); - $table->data[] = array(''.get_string('healthcenter')."", - get_string('adminhelphealthcenter')); +// to be enabled later +/* $table->data[] = array(''.get_string('healthcenter')."", + get_string('adminhelphealthcenter'));*/ $table->data[] = array(''.get_string('environment', 'admin')."", get_string('adminhelpenvironment')); + if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) { + $table->data[] = array(''.get_string('managedatabase')."", + get_string('adminhelpmanagedatabase')); + } print_table($table);