From: janw Date: Fri, 19 May 2006 13:04:22 +0000 (+0000) Subject: Some slightly modifications in dns settings. The add button is not visible yet -... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=47dbe89ba45a2c4a83d9df799cdc6292f43d6c0e;p=gosa.git Some slightly modifications in dns settings. The add button is not visible yet - have to reload. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3465 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index 9c2ef6fc8..06af668eb 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -424,7 +424,7 @@ class termDNS extends plugin $changeStateForRecords = ""; if(!$this->DNS_is_account) { - $str = ""; + $str = ""; return $str; } diff --git a/plugins/admin/systems/network.tpl b/plugins/admin/systems/network.tpl index dbe85d9bf..a2188b575 100644 --- a/plugins/admin/systems/network.tpl +++ b/plugins/admin/systems/network.tpl @@ -18,47 +18,50 @@ {if $DNS_is_account==true} + "/> + {else} + onclick="toggle('test2'); + changeState('zoneName'); + changeState('dNSTTL'); + changeState('AddNewRecord'); + "/> + {/if} {t}Enable DNS for this device{/t} - -
- + + {if $DNSAccount == true} +
+ {else} +
-
- {html_options values=$ZoneKeys output=$Zones selected=$zoneName}
{t}TTL{/t} +
{t}Dns records{/t} - {$records} + {if $DNSAccount == true}{$records}{/if}
- {if $DNSAccount != true} - - {/if} {/if}