From c4226e0dac84082d8e7570353c7330376a08e5b4 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 5 Apr 2006 02:46:05 +0000 Subject: [PATCH] Some fixes for links on admin page, and release notes now a link to Moodle Docs --- admin/environment.php | 5 +++++ admin/index.php | 24 +++++------------------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/admin/environment.php b/admin/environment.php index 29ab5ac07f..a8e6aed341 100644 --- a/admin/environment.php +++ b/admin/environment.php @@ -139,6 +139,11 @@ /// Gather and show results $status = check_moodle_environment($version, $environment_results); +/// Other links + echo '
'; + print_single_button('phpinfo.php', NULL, get_string('phpinfo')); + echo '
'; + /// Print footer print_footer(); ?> diff --git a/admin/index.php b/admin/index.php index 3fd665dd64..0e1a2b7f88 100644 --- a/admin/index.php +++ b/admin/index.php @@ -204,13 +204,7 @@ if (!set_config("release", $release)) { notify("ERROR: Could not update release version in database!!"); } - print_continue("index.php"); - print_simple_box_start("center", '80%'); - if (file_exists("$CFG->dirroot/lang/en_utf8/docs/release.html")) { - include("$CFG->dirroot/lang/en_utf8/docs/release.html"); - } - print_simple_box_end(); - print_continue("index.php"); + notice(get_string('releasenoteslink', 'admin', 'http://docs.moodle.org/en/Release_Notes'), 'index.php'); exit; } @@ -437,7 +431,7 @@ if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) { $table->data[] = array("dbtype/frame.php\">".get_string('managedatabase').'', - get_string('adminhelpmanagedatabase')); + '
'.get_string('adminhelpmanagedatabase').'
'); } @@ -453,20 +447,12 @@ ////////////////////////////////////////////////////////////////////////////////////////////////// - echo ''; - echo ''; - - echo ''; - - echo '
'; - print_single_button($CFG->wwwroot.'/doc/', NULL, get_string('documentation')); - echo ''; - print_single_button('phpinfo.php', NULL, get_string('phpinfo')); - echo ''; + echo '
'; $options = array(); $options['sesskey'] = $USER->sesskey; print_single_button('register.php', $options, get_string('registration')); - echo '
'; + echo ''; + print_simple_box_end(); -- 2.39.5