From: skodak Date: Fri, 30 Jun 2006 13:06:31 +0000 (+0000) Subject: cleanup in admin/index.php; preparation for health center, loginas gui, password... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=629c25da67770b0bc09f15eccc2b3139102561a0;p=moodle.git cleanup in admin/index.php; preparation for health center, loginas gui, password salts; merged from MOODLE_16_STABLE --- diff --git a/admin/courses.php b/admin/courses.php new file mode 100644 index 0000000000..4a6816f4d0 --- /dev/null +++ b/admin/courses.php @@ -0,0 +1,42 @@ +shortname: $stradministration: $strcourses", "$site->fullname", + "$stradministration -> $strcourses"); + + print_heading($strcourses); + + $table->align = array ("right", "left"); + + $table->data[] = array(''.get_string("managecourses")."", + get_string("adminhelpcourses")); + $table->data[] = array("sesskey\">".get_string("enrolmentplugins")."", + get_string("adminhelpenrolments")); + $table->data[] = array("sesskey\">".get_string("assignstudents")."", + get_string("adminhelpassignstudents")); + $table->data[] = array("sesskey\">".get_string("assignteachers")."", + get_string("adminhelpassignteachers")." \"\""); + $table->data[] = array("sesskey\">".get_string("assigncreators")."", + get_string("adminhelpassigncreators")); + $table->data[] = array("sesskey\">".get_string("assignadmins")."", + get_string("adminhelpassignadmins")); + + print_table($table); + + print_footer($site); + +?> diff --git a/admin/environment.php b/admin/environment.php index 1190c5643e..8b59eb8981 100644 --- a/admin/environment.php +++ b/admin/environment.php @@ -57,10 +57,12 @@ $strmoodleversion = get_string('moodleversion'); $strupdate = get_string('updatecomponent', 'admin'); $strupwards = get_string('upwards', 'admin'); + $strmisc = get_string('miscellaneous'); /// Print the header stuff print_header("$SITE->shortname: $strenvironment", $SITE->fullname, - "$stradmin -> ".$strenvironment); + "$stradmin -> $strmisc -> " + .$strenvironment); /// Print the component download link echo ''; diff --git a/admin/health.php b/admin/health.php index 10955ae870..d4a50de80d 100644 --- a/admin/health.php +++ b/admin/health.php @@ -18,9 +18,11 @@ $site = get_site(); $stradmin = get_string('administration'); $strhealthcenter = get_string('healthcenter'); + $strmisc = get_string('miscellaneous'); print_header($site->shortname.': '.$strhealthcenter, $site->fullname, - ''.$stradmin.' -> '.$strhealthcenter); + ''.$stradmin.' -> '.$strmisc.' ->'. + $strhealthcenter); echo << diff --git a/admin/index.php b/admin/index.php index c78af9422d..e90bf180ee 100644 --- a/admin/index.php +++ b/admin/index.php @@ -399,38 +399,43 @@ $userdata .= ''; - $userdata .= '