From 15e77077aa7acdcfc74dad3e3586c96870a4107b Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 31 Jul 2007 11:55:29 -0400
Subject: [PATCH] Updates in DNS manager
---
interface/web/dns/form/dns_alias.tform.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/interface/web/dns/form/dns_alias.tform.php b/interface/web/dns/form/dns_alias.tform.php
index 0302f7e..dc93f2e 100644
--- a/interface/web/dns/form/dns_alias.tform.php
+++ b/interface/web/dns/form/dns_alias.tform.php
@@ -51,7 +51,7 @@
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['dns'] = array (
- 'title' => "DNS A",
+ 'title' => "DNS ALIAS",
'width' => 100,
'template' => "templates/dns_alias_edit.htm",
'fields' => array (
@@ -91,7 +91,7 @@
'type' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
- 'default' => 'A',
+ 'default' => 'ALIAS',
'value' => '',
'width' => '5',
'maxlength' => '5'
@@ -102,7 +102,7 @@
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
1 => array ( 'type' => 'REGEX',
- 'regex' => '/^[0-9\.]{10,15}$/',
+ 'regex' => '/^[\w\.\-]{1,64}$/',
'errmsg'=> 'data_error_regex'),
),
'default' => '',
--
Gitblit v1.9.1