Code

some fixes for serv dns
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Feb 2006 13:09:58 +0000 (13:09 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Feb 2006 13:09:58 +0000 (13:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2692 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servDNSeditZone.inc
plugins/admin/systems/class_termDNS.inc
plugins/admin/systems/servdnseditzone.tpl

index d95d24a54677e3cca539f81b0bda61a12dd612a3..fcfc6780c4e7d5e218915cfe138a3a79ca073477 100644 (file)
@@ -277,7 +277,7 @@ class servdnseditZone extends plugin
       if($type == $selected){
         $use = " selected ";
       }
-      $str.="\n <option value='".$type."' ".$use.">".$type."</option>";
+      $str.="\n <option value='".$type."' ".$use.">".strtoupper(preg_replace("/record/i","",$type))."</option>";
     }
     $str.="</select>";
     return($str);
index 763f0e7fa24164cbdfc9691941e073ebd7a4f26c..59facba570f96070772da4a3bf31086d9ea801d8 100644 (file)
@@ -69,7 +69,6 @@ class termDNS extends plugin
     $this->RecordTypes['rRSIGRecord']   = "rRSIGRecord";       // ok
     $this->RecordTypes['nSECRecord']    = "nSECRecord";        // ok 
 
-    echo $this->cn;
     /* Get all available zones */
     if(empty($this->cn)&&(isset($this->attrs['cn'][0]))){ 
       $this->cn = $this->attrs['cn'][0];
@@ -421,7 +420,7 @@ $ldap->modify ($this->attrs);
       if($type == $selected){
         $use = " selected ";
       }
-      $str.="\n <option value='".$type."' ".$use.">".$type."</option>";
+      $str.="\n <option value='".$type."' ".$use.">".strtoupper(preg_replace("/record/i","",$type))."</option>";
     }
     $str.="</select>";
     return($str); 
index 1157fbfbbc90c0664d0662fc18f3e2b4fdc84464..97a1cb3a058ba6063c83e03f169688a2898148cb 100644 (file)
@@ -1,7 +1,7 @@
 <h2>{t}Zone settings{/t}</h2>
 <table summary="" width="100%">
        <tr>
-               <td style="width:50%;vertical-align:top;">
+               <td style="width:50%;vertical-align:top;border-right:1px        solid   #b0b0b0;">
                        <table summary="">
                                <tr>
                                        <td>{t}Zone name{/t}
@@ -27,7 +27,7 @@
 <h2>{t}SOA record for this zone{/t}</h2>
 <table summary="" width="100%">
        <tr>
-               <td style="vertical-align:top;width:50%">
+               <td style="vertical-align:top;width:50%;border-right:1px        solid   #b0b0b0;">
                        <table summary="">
                                <tr>
                                        <td>{t}Primary dns server for this zone{/t}
@@ -84,7 +84,7 @@
 <br>
 <table summary="" width="100%">
        <tr>
-               <td style="vertical-align:top;width:50%;">
+               <td style="vertical-align:top;width:50%;border-right:1px        solid   #b0b0b0;">
                        <h2>{t}Parameter{/t}</h2>
                        <table summary="">
                                <tr>