From: stronk7 Date: Fri, 4 Jul 2003 17:47:10 +0000 (+0000) Subject: Little modification to show the "Backup Course" option if X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7f7d8c95086a6c85848eb22d7762459e8a7853f8;p=moodle.git Little modification to show the "Backup Course" option if backup utility is installed (not shwown else) --- 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")."

"; }