From 05a3af63cc04b552aba9953fcd5f4959d970ff6e Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 10 Feb 2006 06:52:46 +0000 Subject: [PATCH] Some dns template changes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2652 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_termDNS.inc | 6 ++-- plugins/admin/systems/network.tpl | 47 ++++++++----------------- 2 files changed, 17 insertions(+), 36 deletions(-) diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index 1a3b8b506..d7d254fbd 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -185,7 +185,7 @@ class termDNS extends plugin $changeStateForRecords =""; $smarty->assign("records",$this->generateRecordsList(&$changeStateForRecords)); $smarty->assign("changeStateForRecords",$changeStateForRecords); - $smarty->assign("dNSClasses",array("IN"=>"IN")); +// $smarty->assign("dNSClasses",array("IN"=>"IN")); $smarty->assign("staticAddress","*"); $display.= $smarty->fetch(get_template_path('network.tpl', TRUE)); return($display); @@ -384,7 +384,7 @@ class termDNS extends plugin return $str; } - $str = ""; + $str = "
"; foreach($this->types as $key => $entry){ if($entry['status'] == "deleted") continue; @@ -400,7 +400,7 @@ class termDNS extends plugin } $str.= " ". - " ". " ". diff --git a/plugins/admin/systems/network.tpl b/plugins/admin/systems/network.tpl index 467a07488..d21860cf8 100644 --- a/plugins/admin/systems/network.tpl +++ b/plugins/admin/systems/network.tpl @@ -1,6 +1,6 @@

{t}Network settings{/t}

-
". + " ". " ". "
+
- - -
@@ -8,38 +8,26 @@ -
-
- -
{$staticAddress}
-
-

 

-
- - -
-

{t}Domain name service{/t}

+
+ + {t}Enable DNS for this device.{/t} - +
- + - - + + - + + {$records} + -
{t}DNS-TTL{/t} - {t}TTL{/t} +
{t}DNS Class{/t} - {t}Dns records{/t} - -
- - -

{t}Records{/t}

- {$records} - + + -- 2.30.2