Code

Fixed Label tags and removed Undefined Index in wingeneric.tpl
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Jul 2005 06:24:07 +0000 (06:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Jul 2005 06:24:07 +0000 (06:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@994 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_winGeneric.inc
plugins/admin/systems/network.tpl
plugins/admin/systems/terminal.tpl

index b1b2f42148949dc1a2618a20d70a2fcd4cdb3324..2294fb02a035ce0b66542c32d5337b943b2295fc 100644 (file)
@@ -73,6 +73,11 @@ class wingeneric extends plugin
 
     /* Fill templating stuff */
     $smarty= get_smarty();
+
+    // Undefined index in wingeneric.tpl ... 
+    $smarty->assign("macAddress","");
+    $smarty->assign("ipHostNumber","");
+
     $smarty->assign("bases", $this->config->idepartments);
 
     /* Assign attributes */
index 0167794c14fbe90dd1e8b0a592d090b63458b6e1..ec0b219ec5bfff842ad95b6bbb13d50751d9affb 100644 (file)
@@ -13,7 +13,7 @@
   <td>
    <table summary="">
     <tr>
-     <td><LABEL for="macAddress">{t}MAC-address{/t}</LABLE>{$staticAddress}</td>
+     <td><LABEL for="macAddress">{t}MAC-address{/t}</LABEL>{$staticAddress}</td>
      <td><input name="macAddress" id="macAddress" size=25 maxlength=80 value="{$macAddress}"></td>
     </tr>
    </table>
index 4e4ec532b4a294133cf9ba3625f88803cf615969..cf457831ebb6e7c4b0fbfcdd8c8deb71e23a7e36 100644 (file)
@@ -49,7 +49,7 @@
    <table summary="">
     <tr><td colspan=2><div style="height:15px;"></div></td></tr>
     <tr>
-     <td><LABEL for="gotoTerminalPath">{t}Root server{/t}<LABEL></td>
+     <td><LABEL for="gotoTerminalPath">{t}Root server{/t}</LABEL></td>
      <td>
       <select name="gotoTerminalPath" id="gotoTerminalPath" title="{t}Select NFS root filesystem to use{/t}" {$gotoTerminalPathACL}>
        {html_options values=$nfsservers output=$nfsservers selected=$gotoTerminalPath_select}