From f17718f87dd8604e0b6ead593861bc9643ce2f05 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Sat, 04 Jan 2014 13:27:07 -0500
Subject: [PATCH] add mail-backup

---
 interface/web/mail/form/mail_user.tform.php |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/interface/web/mail/form/mail_user.tform.php b/interface/web/mail/form/mail_user.tform.php
index 21fc514..03f458a 100644
--- a/interface/web/mail/form/mail_user.tform.php
+++ b/interface/web/mail/form/mail_user.tform.php
@@ -346,5 +346,39 @@
 	);
 }
 
+//* Backup
+$form["tabs"]['backup'] = array (
+	'title'         => "Backup",
+	'width'         => 100,
+	'template'      => "templates/mail_user_backup.htm",
+	'readonly'      => false,
+	'fields'        => array (
+	##################################
+	# Begin Datatable fields
+	##################################
+		'backup_interval' => array (
+			'datatype'      => 'VARCHAR',
+			'formtype'      => 'SELECT',
+			'default'       => '',
+			 'value'         => array('none' => 'no_backup_txt', 'daily' => 'daily_backup_txt', 'weekly' => 'weekly_backup_txt', 'monthly' => 'monthly_backup_txt')
+		),
+		'backup_copies' => array (
+			'datatype'      => 'INTEGER',
+			'formtype'      => 'SELECT',
+			'default'       => '',
+			'value'         => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', '7' => '7', '8' => '8', '9' => '9', '10' => '10')
+		),
+	##################################
+	# ENDE Datatable fields
+	##################################
+	),
+	'plugins' => array (
+		'backup_records' => array (
+			'class'   => 'plugin_backuplist_mail',
+			'options' => array(
+			)
+		)
+	)
+);
 
 ?>

--
Gitblit v1.9.1