From 4d8c8843b845f0cffb99b2e35d0eae00f2ae2e31 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 6 Nov 2006 13:31:49 +0000 Subject: [PATCH] fixed not settable minutes for sheduling backups --- setup/db_backup.php | 2 +- setup/templates/default/db_backup.tpl | 85 +++++++++++++++++++++++++++ 2 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 setup/templates/default/db_backup.tpl diff --git a/setup/db_backup.php b/setup/db_backup.php index 3c778aa4e6..c6123bc17f 100644 --- a/setup/db_backup.php +++ b/setup/db_backup.php @@ -173,7 +173,7 @@ } } // input-fields to create a new scheduled backup - foreach($times=array('year'=>'*','month'=>'*','day'=>'*','dow'=>'2-6','hour'=>3,'minute'=>0) as $name => $default) + foreach($times=array('year'=>'*','month'=>'*','day'=>'*','dow'=>'2-6','hour'=>3,'min'=>0) as $name => $default) { $setup_tpl->set_var($name,''); } diff --git a/setup/templates/default/db_backup.tpl b/setup/templates/default/db_backup.tpl new file mode 100644 index 0000000000..e07c1282a6 --- /dev/null +++ b/setup/templates/default/db_backup.tpl @@ -0,0 +1,85 @@ + +

{error_msg}

+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
+  {stage_title} +
+ {stage_desc} +
+ {lang_scheduled_backups} + + {backup_now_button} +
+ + + + + + + + + + + + + + + + + + + + + + + +
{lang_year}{lang_month}{lang_day}{lang_dow}{lang_hour}{lang_minute}{lang_next_run}{lang_actions}
{year}{month}{day}{dow}{hour}{min}{next_run}{actions}
+
+ {lang_backup_sets} {backup_dir} + + {upload} +
+ + + + + + + + + + + + + + + +
{lang_filename}{lang_date}{lang_size}{lang_actions}
{filename}{date}{size}{actions}
+
+
+ +