1 <table style="width:100%">
2 <tr>
3 <td colspan="2">
4 <h2><img src='images/list_mime.png' class='center'> {t}Generic{/t}</h2>
5 </td>
6 </tr>
7 <tr>
8 <td style='width:50%; vertical-align:top;' >
10 <table>
11 <tr>
12 <td>
13 {t}Mime type{/t}
14 </td>
15 <td>
16 <input type="text" name='cn' value="{$cn}" {$cnACL} title='{t}Please enter a name for the mime type here{/t}'>
17 </td>
18 </tr>
19 <tr>
20 <td>
21 {t}Mime group{/t}
22 </td>
23 <td>
24 <select name='gotoMimeGroup' {$gotoMimeGroupACL} title='{t}Categorize this mime type{/t}'>
25 {html_options output=$gotoMimeGroups values=$gotoMimeGroups selected=$gotoMimeGroup}
26 </select>
27 </td>
28 </tr>
29 <tr>
30 <td>
31 {t}Description{/t}
32 </td>
33 <td>
34 <input type="text" name='description' value="{$description}" {$descriptionACL} title='{t}Please sepecify a description{/t}'>
35 </td>
36 </tr>
37 </table>
39 </td>
40 <td style="border-left:1px solid #A0A0A0;vertical-align:top;">
41 <table summary="">
42 <tr>
43 <td>
44 <LABEL for="picture_file">{t}Icon{/t}</LABEL><br>
45 <img src="{$gotoMimeIcon}" border=1 style="width:48px; height:48; background-color:white; vertical-align:bottom;">
46 </td>
47 <td style="vertical-align:top">
48 <br>
49 <input type="hidden" name="MAX_FILE_SIZE" value="100000">
50 <input name="picture_file" type="file" size="20" maxlength="255" accept="image/*.png" id="picture_file" {$gotoMimeIconACL}>
51 <input type="submit" name="update_icon" value="{t}Update{/t}" title="{t}Update mime type icon{/t}" {$gotoMimeIconACL}>
52 </td>
53 </tr>
54 </table>
55 </td>
56 </tr>
57 <tr>
58 <td colspan="2">
59 <p class='seperator'> </p>
60 </td>
61 </tr>
62 <tr>
63 <td colspan="2">
64 <h2><img src='images/mime_leftclick.png' class='center'> {t}Left click{/t}</h2>
65 </td>
66 </tr>
67 <tr>
68 <td style='width:50%; vertical-align:top;' >
69 {t}File patterns{/t}
70 {$gotoMimeFilePatterns}
71 <input type='text' name='NewFilePattern' value='' title='{t}Please specify a new file pattern{/t}' {$gotoMimeFilePatternACL}>
72 <input type='submit' name='AddNewFilePattern' value='{t}Add{/t}' title='{t}Add a new file pattern{/t}' {$gotoMimeFilePatternACL}>
73 </td>
74 <td style="border-left:1px solid #A0A0A0;vertical-align:top;">
75 {t}Applications{/t}
76 {$gotoMimeApplications}
77 <input type='text' name='NewApplication' value='' title='{t}Enter an application name here{/t}' {$gotoMimeApplicationACL}>
78 <input type='submit' name='AddNewApplication' value='{t}Add{/t}' title='{t}Add application{/t}' {$gotoMimeApplicationACL}>
79 </td>
80 </tr>
81 <tr>
82 <td colspan="2">
83 <p class='seperator'> </p>
84 </td>
85 </tr>
86 <tr>
87 <td colspan="2">
88 <h2><img src='images/mime_embedding.png' class='center'> {t}Embedding{/t}</h2>
89 </td>
90 </tr>
91 <tr>
92 <td style='width:50%; vertical-align:top;' >
94 <table>
95 <tr>
96 <td style='vertical-align:top; '>
97 <input type='radio' name='gotoMimeLeftClickAction_IE' value='I'
98 {if $gotoMimeLeftClickAction_I} checked {/if} {$gotoMimeLeftClickActionACL}>
99 {t}Show file in embedded viewer{/t}
100 <br>
102 <input type='radio' name='gotoMimeLeftClickAction_IE' value='E'
103 {if $gotoMimeLeftClickAction_E} checked {/if} {$gotoMimeLeftClickActionACL}>
104 {t}Show file in external viewer{/t}
105 <br>
107 <input type='checkbox' name='gotoMimeLeftClickAction_Q' value='1'
108 {if $gotoMimeLeftClickAction_Q} checked {/if} {$gotoMimeLeftClickActionACL}>
109 {t}Ask wheter to save to local disk{/t}
110 </td>
111 </tr>
112 </table>
114 </td>
115 <td style="border-left:1px solid #A0A0A0;vertical-align:top;">
116 {t}Applications{/t}
117 {$gotoMimeEmbeddedApplications}
118 <input type='text' name='NewEmbeddedApplication' value='' title='{t}Enter an application name here{/t}' {$gotoMimeEmbeddedApplicationACL}>
119 <input type='submit' name='AddNewEmbeddedApplication' value='{t}Add{/t}' title='{t}Add application{/t}' {$gotoMimeEmbeddedApplicationACL}>
120 </td>
121 </tr>
122 </table>
123 <input type="hidden" name="MimeGeneric" value="1">