From 47dbe89ba45a2c4a83d9df799cdc6292f43d6c0e Mon Sep 17 00:00:00 2001 From: janw Date: Fri, 19 May 2006 13:04:22 +0000 Subject: [PATCH] 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 --- plugins/admin/systems/class_termDNS.inc | 2 +- plugins/admin/systems/network.tpl | 37 +++++++++++++------------ 2 files changed, 21 insertions(+), 18 deletions(-) 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} -- 2.30.2