Code

Moved folder images
[gosa.git] / gosa-plugins / goto / admin / mimetypes / generic.tpl
1 <table style="width:100%">
2         <tr>
3                 <td colspan="2">
4                         <h2><img src='images/list_mime.png' class='center' alt='[M]'>&nbsp;{t}Generic{/t}</h2>
5                 </td>
6         </tr>
7         <tr>
8                 <td style='width:50%; vertical-align:top;' >
9                         <table>
10                                 <tr>
11                                         <td>
12                                                 {t}Mime type{/t}{$must}
13                                         </td>
14                                         <td>
15 {render acl=$gotoMimeGroupACL}
16                                                 <input type="text" name='cn' value="{$cn}" title='{t}Please enter a name for the mime type here{/t}'>
17 {/render}
18                                         </td>
19                                 </tr>
20                                 <tr>
21                                         <td>
22                                                 {t}Mime group{/t}
23                                         </td>
24                                         <td>
25 {render acl=$gotoMimeGroupACL}
26                                                 <select name='gotoMimeGroup' title='{t}Categorize this mime type{/t}'>
27                                                         {html_options output=$gotoMimeGroups values=$gotoMimeGroups selected=$gotoMimeGroup}
28                                                 </select>
29 {/render}
30                                         </td>
31                                 </tr>
32                                 <tr>
33                                         <td>
34                                                 {t}Description{/t}
35                                         </td>
36                                         <td>
37 {render acl=$descriptionACL}
38                                                 <input type="text" name='description' value="{$description}" title='{t}Please specify a description{/t}'>
39 {/render}
40                                         </td>
41                                 </tr>
42 {if !$isReleaseMimeType} 
43                                 <tr>
44                                         <td><LABEL for="base">{t}Base{/t}{$must}</LABEL></td>
45                                         <td>
46         {render acl=$baseACL}
47                 <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}">
48                         {html_options options=$bases selected=$base_select}
49                 </select>
50         {/render}
51         {if !$isReleaseMimeType}
52                 {render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
53                         <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
54                 {/render}
55         {/if}
56                                         </td>
57                                  </tr>
59 {/if}
60                         </table>
61                         
62                 </td>
63                 <td style="border-left:1px solid #A0A0A0;vertical-align:top;">
64                         <table summary="">
65                                 <tr>
66                                         <td>
67                                                 <LABEL for="picture_file">{t}Icon{/t}</LABEL><br>
68                                                 <img src="{$gotoMimeIcon}" border=1 alt='{t}Mime icon{/t}' 
69                                                         style="width:48px; height:48; background-color:white; vertical-align:bottom;">
70                                         </td>
71                                         <td style="vertical-align:top">
72                                                 &nbsp;<br>
73                                                 <input type="hidden" name="MAX_FILE_SIZE" value="100000">
74 {render acl=$gotoMimeIconACL}
75                                                 <input name="picture_file" type="file" size="20" maxlength="255" 
76                                                         accept="image/*.png" id="picture_file">
77 {/render}
78 {render acl=$gotoMimeIconACL}
79                                                 <input type="submit" name="update_icon" value="{t}Update{/t}" 
80                                                         title="{t}Update mime type icon{/t}">
81 {/render}
82                                         </td>
83                                 </tr>
84                         </table>
85                 </td>
86         </tr>
87         <tr>
88                 <td colspan="2">
89                         <p class='seperator'>&nbsp;</p>
90                 </td>
91         </tr>
92         <tr>
93                 <td colspan="2">
94                         <h2><img src='images/mime_leftclick.png' class='center' alt='{t}Left click{/t}'>&nbsp;{t}Left click{/t}</h2>
95                 </td>
96         </tr>
97         <tr>
98                 <td style='width:50%; vertical-align:top;' >
99                         {t}File patterns{/t}{$must}
100 {render acl=$gotoMimeFilePatternACL}    
101                         {$gotoMimeFilePatterns} 
102 {/render}
104 {render acl=$gotoMimeFilePatternACL}    
105                         <input type='text'       name='NewFilePattern'    value='' title='{t}Please specify a new file pattern{/t}'>
106 {/render}
107 {render acl=$gotoMimeFilePatternACL}    
108                         <input type='submit' name='AddNewFilePattern' value='{msgPool type=addButton}' title='{t}Add a new file pattern{/t}'>
109 {/render}
110                 </td>
111                 <td style="border-left:1px solid #A0A0A0;vertical-align:top;">
112                         {t}Applications{/t}
113 {render acl=$gotoMimeApplicationACL}    
114                         {$gotoMimeApplications}         
115 {/render}
117 {render acl=$gotoMimeApplicationACL}    
118                         <select name="NewApplicationSelect">
119                                 <option value="">-</option>
120                                 {html_options options=$ApplicationList}
121                         </select>
122 {/render}
123 {render acl=$gotoMimeApplicationACL}    
124                         <input type='text'       name='NewApplication'    value='' title='{t}Enter an application name here{/t}'>
125 {/render}
126 {render acl=$gotoMimeApplicationACL}    
127                         <input type='submit' name='AddNewApplication' value='{msgPool type=addButton}' title='{t}Add application{/t}'>
128 {/render}
129                 </td>
130         </tr>
131         <tr>    
132                 <td colspan="2">
133                         <p class='seperator'>&nbsp;</p>
134                 </td>
135         </tr>
136         <tr>    
137                 <td colspan="2">
138                         <h2><img src='images/mime_embedding.png' class='center' alt='{t}Embedding{/t}'>&nbsp;{t}Embedding{/t}</h2>
139                 </td>
140         </tr>
141         <tr>
142                 <td style='width:50%; vertical-align:top;' >
143                                 
144                         <table>
145                                 <tr>
146                                         <td style='vertical-align:top; '>
147 {render acl=$gotoMimeLeftClickActionACL}
148                                                 <input type='radio' name='gotoMimeLeftClickAction_IE' value='I' 
149                                                         {if $gotoMimeLeftClickAction_I} checked {/if}>
150 {/render}
151                                                 {t}Show file in embedded viewer{/t}
152                                                 <br>
154 {render acl=$gotoMimeLeftClickActionACL}
155                                                 <input type='radio' name='gotoMimeLeftClickAction_IE' value='E' 
156                                                         {if $gotoMimeLeftClickAction_E} checked {/if}>
157 {/render}
158                                                 {t}Show file in external viewer{/t}
159                                                 <br>
161 {render acl=$gotoMimeLeftClickActionACL}
162                                                 <input type='checkbox' name='gotoMimeLeftClickAction_Q' value='1' 
163                                                         {if $gotoMimeLeftClickAction_Q} checked {/if}>
164 {/render}
165                                                 {t}Ask whether to save to local disk{/t}
166                                         </td>
167                                 </tr>
168                         </table>
169                         
170                 </td>
171                 <td style="border-left:1px solid #A0A0A0;vertical-align:top;">
172                         {t}Applications{/t}
173 {render acl=$gotoMimeEmbeddedApplicationACL}
174                         {$gotoMimeEmbeddedApplications}         
175 {/render}
176 {render acl=$gotoMimeEmbeddedApplicationACL}
177                         <select name="NewEmbeddedApplicationSelect">
178                                 <option value="">-</option>
179                                 {html_options options=$ApplicationList}
180                         </select>
181 {/render}
182 {render acl=$gotoMimeEmbeddedApplicationACL}
183                         <input type='text'       name='NewEmbeddedApplication'    value='' 
184                                 title='{t}Enter an application name here{/t}'>
185 {/render}
186 {render acl=$gotoMimeEmbeddedApplicationACL}
187                         <input type='submit' name='AddNewEmbeddedApplication' value='{msgPool type=addButton}' 
188                                 title='{t}Add application{/t}'>
189 {/render}
190                 </td>
191         </tr>
192 </table>
193 <input type="hidden" name="MimeGeneric" value="1">
194 <!-- Place cursor -->
195 <script language="JavaScript" type="text/javascript">
196   <!-- // First input field on page
197         focus_field('cn');
198   -->
199 </script>