Code

Set focus to cn for terminals.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Apr 2006 04:11:11 +0000 (04:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Apr 2006 04:11:11 +0000 (04:11 +0000)
Added must string for dns stuff.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3128 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index a90f65c2b5d75b172b6fb256732399d3da50327f..f7957f0259eede707d40d07fea5886ac701fd86b 100644 (file)
@@ -127,7 +127,7 @@ class termDNS extends plugin
       foreach($this->attributes as $attr){
         $smarty->assign($attr,$this->$attr);
       }
-      $smarty->assign("staticAddress", "");
+      $smarty->assign("staticAddress","<font class=\"must\">*</font>");
       $display.= $smarty->fetch(get_template_path('network.tpl', TRUE));
       return($display);
     }else{
index c88177655672d9ae69eba6f10fb742f154bca3b2..3b4229454e4da2b85ebaf51d21cc0a0f70ce4730 100644 (file)
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.gotoTerminalName.focus();
+  document.mainform.cn.focus();
   -->
 </script>