Code

Fixed undefined index
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Mar 2006 08:54:27 +0000 (08:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Mar 2006 08:54:27 +0000 (08:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2791 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_termDNS.inc
plugins/admin/systems/network.tpl

index f0c8d3295382edcfa6973a1bfc66832835450e06..7f35024a6d08ead2c6e830618484b0b4e736e7d8 100644 (file)
@@ -152,7 +152,9 @@ class termDNS extends plugin
          /* Call parent execute */
     $smarty= get_smarty();
     $display= "";
-  
+
+    $smarty->assign("staticAddress", ""); 
     /* There is no dns available 
      */
     if($this->found == false){
@@ -164,7 +166,7 @@ class termDNS extends plugin
       foreach($this->attributes as $attr){
         $smarty->assign($attr,$this->$attr);
       }
-
+      $smarty->assign("staticAddress", "");
       $display.= $smarty->fetch(get_template_path('network.tpl', TRUE));
       return($display);
     }else{
index dcb51b17f27b26dc8a4b665e5a6f3c0a457d078f..832935d8ada2b196a139770549c627ca08b01e6f 100644 (file)
@@ -1,5 +1,6 @@
 <h2><img       class="center"  alt=""  align="middle"  src="images/network.png">       {t}Network      settings{/t}</h2>
 
+
 <table summary=""      width="100%" cellspacing=0 cellpadding=0>
        <tr>
                <td     style="border-right:1px solid   #b0b0b0;        width:50%; vertical-align: top;">