Code

Fixed layout
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 May 2006 10:54:53 +0000 (10:54 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 May 2006 10:54:53 +0000 (10:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3460 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servDNSeditZoneEntries.inc
plugins/admin/systems/servDNSeditZoneEntries.tpl
plugins/admin/systems/servdnseditzone.tpl

index fc4d86ff83faa52fd81813ac7d8fd6face368420..e6dfc96dd19dfa9d894f8782b5e0b594436c4a89 100644 (file)
@@ -350,7 +350,7 @@ class servDNSeditZoneEntries extends plugin
 
     /* Set title 
      */
-    $str = "<h3>".sprintf(_("Settings for '%s'"),$objKey)." : </h3>";
+    $str= "<br>";
 
     $hostNameOnce = true;
 
@@ -363,22 +363,20 @@ class servDNSeditZoneEntries extends plugin
        */
       $name = base64_encode($objKey)."|".$id;
 
-      $str .= "<tr><td style='width:80px;'>\n";
+      $str .= "<tr><td style='width:170px;'>\n";
 
       /* Only first host entry name should be editable
        */
       if($hostNameOnce){
         $hostNameOnce = false;  
         $str .="<input type='text' name='RenameHost_".$name."' value='".$objectName."'>\n";
-      }else{
-        $str .=$objectName;
-      }  
+      }
 
       /* Create rest. Selectbox, icons ...
        */
       $str .="
         </td>
-        <td style='width:80px;'>
+        <td style='width:90px;'>
           ".$this->createRecordTypeSelection($record['type'],$name)."
         </td>
         <td>
index 7211fb32abc5df5e99c9c2b2ba66276df570b484..0efdd7bd40651301af12b89444790a26f83da5b3 100644 (file)
@@ -8,10 +8,10 @@
        {t}This dialog can't be used until the currently edited zone was saved or the zone entry exists in the ldap database.{/t}
        </b>
 {else}
-       {t}To add a new host entry just click here{/t}
-       <input type='image' name='UserRecord' src='images/select_default.png' alt='{t}New{/t}' title='{t}New{/t}'>
        <br>
-       {$table}        
+       {$table}
+       <br>
+       <input type='submit' name='UserRecord' value='{t}New entry{/t}' title='{t}Create a new DNS zone entry{/t}'>
 {/if}
 
 <p class="seperator">&nbsp;</p>
index 44d5ef556c24f1ea9c49fda6c0e6a2f8895ab990..a5ba9dc66a10abfc10bbb265a366af3d6a4872c5 100644 (file)
@@ -21,7 +21,7 @@
                        <table summary="">
                                <tr>
                                        <td>
-                                               {t}Zone entries{/t}
+                                               {t}Zone records{/t}
                                                <br>
                                                {if $AllowZoneEdit == false}
                                                        <i>{t}Can't be edited because the zone wasn't saved right now.{/t}</i>
                        </table>
                </td>
                <td style="vertical-align:top;">
-                       <h2>{t}Zone records{/t}</h2>
+                       <h2>{t}Global zone records{/t}</h2>
                        <table summary="">
                          {$records}
                        </table>