Code

Updated preg_matches
[gosa.git] / plugins / admin / systems / glpi_edit_printer_type.tpl
index 3e3bf2d3ac920553e7dedfeb3e5135462ebc8c78..90dd9c054f72e158526276bc1acfe87e7b16ce75 100644 (file)
                        <input name="close_edit_type" value="{t}Close{/t}" type="submit">
                </p>
        </div>
+       <script language="JavaScript" type="text/javascript">
+         <!-- // First input field on page
+         document.mainform.type_string.focus();
+         -->
+       </script>
+
 {else}
 
        {t}Please enter a new name{/t}&nbsp;<input name="string" value="{$string}">
             <input type="submit" name="Rename_Cancel"   value="{t}Cancel{/t}" >
         </div>
     </p>
-{/if}
+       <script language="JavaScript" type="text/javascript">
+         <!-- // First input field on page
+         document.mainform.string.focus();
+         -->
+       </script>
 
-<script language="JavaScript" type="text/javascript">
-  <!-- // First input field on page
-  document.mainform.type_string.focus();
-  -->
-</script>
+{/if}