From b9ea02ce477d17d44eedd94d6fed3199569a472d Mon Sep 17 00:00:00 2001
From: Florian <florian@schaal-24.de>
Date: Thu, 17 Oct 2013 11:02:23 -0400
Subject: [PATCH] DKIM-Modifications skip writing dkim-values for inactive domains removed the public-dkim-key from the interface added german language-file

---
 interface/web/dns/form/dns_template.tform.php |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/interface/web/dns/form/dns_template.tform.php b/interface/web/dns/form/dns_template.tform.php
index 1f020da..3822719 100644
--- a/interface/web/dns/form/dns_template.tform.php
+++ b/interface/web/dns/form/dns_template.tform.php
@@ -74,7 +74,12 @@
 			'formtype'	=> 'CHECKBOXARRAY',
 			'default'	=> '',
 			'separator' => ',',
-			'value'		=> array('DOMAIN' => 'Domain','IP' => 'IP Address','NS1' => 'NS 1','NS2' => 'NS 2','EMAIL' => 'Email')
+			'value'		=> array('DOMAIN' => 'Domain','IP' => 'IP Address','NS1' => 'NS 1','NS2' => 'NS 2','EMAIL' => 'Email', 'DKIM' => 'DKIM (use {DKIM}|0|3600 in your Template)'),
+                        'validators'    => array (  0 => array ('type'  => 'CUSTOM',
+                                                                'class' => 'validate_dkim',
+                                                                'function' => 'check_template',
+                                                                'errmsg'=> 'dkim_domain_error'),
+                                                 ),
 		),
 		'template' => array (
 			'datatype'	=> 'TEXT',
@@ -98,4 +103,4 @@
 
 
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1