mcramer
2012-09-20 c8ccbfb4f4e323d828af15f0bc33cc979cc501b9
interface/web/dns/form/dns_cname.tform.php
@@ -32,6 +32,7 @@
*/
global $app;
$form["title"]          = "DNS CNAME";
$form["description"]    = "";
@@ -69,7 +70,7 @@
      'zone' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
         'default'   => @intval($_REQUEST["zone"]),
         'default'   => @$app->functions->intval($_REQUEST["zone"]),
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
@@ -78,7 +79,7 @@
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{0,64}$/',
                                          'regex' => '/^[\w\.\-\*]{0,255}$/',
                                          'errmsg'=> 'name_error_regex'),
                           ),
         'default'   => '',
@@ -100,7 +101,7 @@
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'data_error_empty'),
                              1 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{1,64}$/',
                                          'regex' => '/^[\w\.\-]{1,255}$/',
                                          'errmsg'=> 'data_error_regex'),
                           ),
         'default'   => '',