index b376815420dbe708016f4058d9f974e6c0e674e1..e035beb5bd2b91d46d6bb6eb7620611898f5c806 100644 (file)
<table style="width:100%">
<tr>
<td colspan="2">
- <h2><img src='images/head.png' class='center'> {t}Generic{/t}</h2>
+ <h2><img src='images/list_mime.png' class='center'> {t}Generic{/t}</h2>
</td>
</tr>
<tr>
<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}'>
<input type="text" name='description' value="{$description}" {$descriptionACL} title='{t}Please sepecify a description{/t}'>
</td>
</tr>
+ <tr>
+ <td><LABEL for="base">{t}Base{/t}{$must}</LABEL></td>
+ <td>
+ <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}"
+ {if $isReleaseMimeType} disabled {/if} {$baseACL}>
+ {html_options options=$bases selected=$base_select}
+ </select>
+ {if $baseACL == "" && !$isReleaseMimeType}
+ <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+ {else}
+ <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
+ {/if}
+ </td>
+ </tr>
+
</table>
</td>
</tr>
<tr>
<td style='width:50%; vertical-align:top;' >
- {t}File patterns{/t}
+ {t}File patterns{/t}{$must}
{$gotoMimeFilePatterns}
- <br>
<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}>
</td>
<td style="border-left:1px solid #A0A0A0;vertical-align:top;">
{t}Applications{/t}
{$gotoMimeApplications}
- <br>
<input type='text' name='NewApplication' value='' title='{t}Enter an application name here{/t}' {$gotoMimeApplicationACL}>
<input type='submit' name='AddNewApplication' value='{t}Add{/t}' title='{t}Add application{/t}' {$gotoMimeApplicationACL}>
</td>
<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>
<td style="border-left:1px solid #A0A0A0;vertical-align:top;">
{t}Applications{/t}
{$gotoMimeEmbeddedApplications}
- <br>
<input type='text' name='NewEmbeddedApplication' value='' title='{t}Enter an application name here{/t}' {$gotoMimeEmbeddedApplicationACL}>
<input type='submit' name='AddNewEmbeddedApplication' value='{t}Add{/t}' title='{t}Add application{/t}' {$gotoMimeEmbeddedApplicationACL}>
</td>
</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>