From: stronk7 Date: Sun, 30 Nov 2003 21:37:46 +0000 (+0000) Subject: Now weekdays, active and execution time are included, too. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=129cee29fc5b8b855e15eceff8071cba7a5d2cd4;p=moodle.git Now weekdays, active and execution time are included, too. --- diff --git a/backup/config.html b/backup/config.html index 683ccde894..cfbdb71dac 100644 --- a/backup/config.html +++ b/backup/config.html @@ -32,9 +32,18 @@ if (!isset($backup_config->backup_sche_coursefiles)) { $backup_config->backup_sche_coursefiles = 1; } + if (!isset($backup_config->backup_sche_active)) { + $backup_config->backup_sche_active = 0; + } if (!isset($backup_config->backup_sche_weekdays)) { $backup_config->backup_sche_weekdays = "0000000"; } + if (!isset($backup_config->backup_sche_hour)) { + $backup_config->backup_sche_hour = 00; + } + if (!isset($backup_config->backup_sche_minute)) { + $backup_config->backup_sche_minute = 00; + } //print_object($backup_config); //Debug @@ -105,6 +114,11 @@ + + + : backup_sche_active, "") ?> + + backup_sche_weekdays,$i,1) == "1") { + //Calculate standard day of week (0=Sunday......6=Saturday) + //to store info in that exact order in DB + $stddayofweek = ($i+$firstdayofweek) % 7; + //Calculate the status of the checkbox + if (substr($backup_config->backup_sche_weekdays,$stddayofweek,1) == "1") { $strchecked = " checked"; } else { $strchecked = ""; } - //Calculate standard day of week (0=Sunday......6=Saturday) - //to store info in that exact order in DB - $stddayofweek = ($i+$firstdayofweek) % 7; $check_names[] = ""; $i++; } @@ -140,6 +155,11 @@ ?> + + + : backup_sche_hour,$backup_config->backup_sche_minute)) ?> + + ">