Code

Added phone acls
[gosa.git] / plugins / admin / mimetypes / generic.tpl
index 10fc17003084c0bea04efeb0d4435e7cbfded338..e035beb5bd2b91d46d6bb6eb7620611898f5c806 100644 (file)
@@ -10,7 +10,7 @@
                        <table>
                                <tr>
                                        <td>
-                                               {t}Mime type{/t}
+                                               {t}Mime type{/t}{$must}
                                        </td>
                                        <td>
                                                <input type="text" name='cn' value="{$cn}" {$cnACL} title='{t}Please enter a name for the mime type here{/t}'>
@@ -81,7 +81,7 @@
        </tr>
        <tr>
                <td style='width:50%; vertical-align:top;' >
-                       {t}File patterns{/t}
+                       {t}File patterns{/t}{$must}
                        {$gotoMimeFilePatterns}         
                        <input type='text'       name='NewFilePattern'    value='' title='{t}Please specify a new file pattern{/t}' {$gotoMimeFilePatternACL}>
                        <input type='submit' name='AddNewFilePattern' value='{t}Add{/t}' title='{t}Add a new file pattern{/t}' {$gotoMimeFilePatternACL}>
 
                                                <input type='checkbox' name='gotoMimeLeftClickAction_Q' value='1' 
                                                        {if $gotoMimeLeftClickAction_Q} checked {/if} {$gotoMimeLeftClickActionACL}>
-                                               {t}Ask wheter to save to local disk{/t}
+                                               {t}Ask whether to save to local disk{/t}
                                        </td>
                                </tr>
                        </table>
        </tr>
 </table>
 <input type="hidden" name="MimeGeneric" value="1">
-
-
-
-
-
+<!-- Place cursor -->
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  document.mainform.cn.focus();
+  -->
+</script>