From 7f7d8c95086a6c85848eb22d7762459e8a7853f8 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Fri, 4 Jul 2003 17:47:10 +0000 Subject: [PATCH] Little modification to show the "Backup Course" option if backup utility is installed (not shwown else) --- admin/index.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/admin/index.php b/admin/index.php index 7fefcfcad7..0f7cc6f173 100644 --- a/admin/index.php +++ b/admin/index.php @@ -357,6 +357,12 @@ "

".get_string("assignteachers")."

". "

".get_string("deletecourse")."

". "

".get_string("categories")."

"; + if (!empty($CFG->backup_version)) { + //MODIFY RELATIVE PATH TO backup.php + $backup_path = "../contrib/stronk7/backup/backup.php"; + //END MODIFY + $table->data[0][1] .= "

".get_string("coursebackup")."

"; + } if ($CFG->auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual") { $table->data[0][2] = "

".get_string("addnewuser")."

"; } -- 2.39.5