Code

Added Categorie selection
[gosa.git] / plugins / admin / applications / generic.tpl
1 <table summary="" style="width:100%;">
2  <tr>
3   <td style="width:50%;">
5    <table summary="">
6      <tr>
7       <td><LABEL for="cn">{t}Application name{/t}{$must}</LABEL></td>
8       <td><input id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Application name{/t}"></td>
9     </tr>
10     <tr>
11      <td><LABEL for="gosaApplicationName">{t}Display name{/t}</LABEL></td>
12      <td>
13         <input id="gosaApplicationName" name="gosaApplicationName" size=35 maxlength=60 {$gosaApplicationNameACL} value="{$gosaApplicationName}" title="{t}Application name to be displayed (i.e. below icons){/t}">
14      </td>
15     </tr>
16     <tr>
17      <td><LABEL for="gosaApplicationExecute">{t}Execute{/t}{$must}</LABEL></td>
18      <td>
19         <input id="gosaApplicationExecute" name="gosaApplicationExecute" size=35 maxlength=60 {$gosaApplicationExecuteACL} value="{$gosaApplicationExecute}" title="{t}Path and/or binary name of application{/t}">
20      </td>
21     </tr>
22     <tr>
23      <td><LABEL for="description">{t}Description{/t}</LABEL></td>
24      <td>
25       <input id="description" name="description" size=35 maxlength=60 {$descriptionACL} value="{$description}">
26      </td>
27     </tr>
29     <tr><td colspan=2><div style="height:15px;"></div></td></tr>
30  
31     <tr>
32       <td><LABEL for="base">{t}Base{/t}{$must}</LABEL></td>
33       <td>
34        <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}">
35         {html_options options=$bases selected=$base_select}
36        </select>
37       </td>
38      </tr>
39    </table>
40   </td>
41   <td style="border-left:1px solid #A0A0A0">
42    &nbsp;
43   </td>
44   <td style="vertical-align:top;">
45    <table>
46     <tr>
47      <td><LABEL for="gosaApplicationCategory">{t}Category{/t}</LABEL></td>
48      <td>
49        <select size="1" id="base" name="gosaApplicationCategory" title="">
50         {html_options options=$categories selected=$gosaApplicationCategory}
51        </select>
52      </td>
53     </tr>
54     <tr><td colspan=2><div style="height:15px;"></div></td></tr>
55     <tr>
56     <td>
57     <LABEL for="picture_file">{t}Icon{/t}</LABEL>
58     <br>
59     <img alt="" src="getbin.php?rand={$rand}" border=1 style="width:48px; height:48; background-color:white; vertical-align:bottom;">
60     </td>
61     <td style="vertical-align:top">
62     &nbsp;<br>
63     <input type="hidden" name="MAX_FILE_SIZE" value="100000">
64     <input name="picture_file" type="file" size="20" maxlength="255" accept="image/*.png" id="picture_file">
65     <input type="submit" name="update" value="{t}Update{/t}" title="{t}Reload picture from LDAP{/t}">
66     </td>
67     </tr>
68    </table>
69   </td>
70  </tr>
71 </table>
73 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
75 <h2><img src="images/lamp.png" alt="{t}Options{/t}" align="center">&nbsp;{t}Options{/t}</h2>
76 <table summary="" style="width:100%;">
77   <tr>
78     <td style="width:50%;border-right:1px solid #B0B0B0">
79       <input type=checkbox name="exec_for_groupmembers" value="1" {$gosaApplicationFlagsACL} {$exec_for_groupmembers}>{t}Only executable for members{/t}
80       <br>
81       <input type=checkbox name="overwrite_config" value="1" {$gosaApplicationFlagsACL} {$overwrite_config}>{t}Replace user configuration on startup{/t}
82     </td>
83     <td>
84       <input type=checkbox name="place_on_desktop" value="1" {$gosaApplicationFlagsACL} {$place_on_desktop}>
85       {t}Place icon on members desktop{/t}
86       <br>
87       <input type=checkbox name="place_in_startmenu" value="1" {$gosaApplicationFlagsACL} {$place_in_startmenu}>
88       {t}Place entry in members startmenu{/t}
89     </td>
90   </tr>
91 </table>
93 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
95 <table width="99%">
96         <tr>
97                 <td>
98                         <h2><img src="images/fai_script.png" alt="{t}Script{/t}" align="center">&nbsp;{t}Script{/t}</h2>
99                         <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
100                         <input type="file" name="ScriptFile" value="{t}Import{/t}">
101                         <input type="submit" name="upLoad" value="{t}Upload{/t}">
102                 </td>
103         </tr>
104 </table>
106 <div style="height:20px;"></div>
108 <!-- Place cursor -->
109 <script language="JavaScript" type="text/javascript">
110   <!-- // First input field on page
111   document.mainform.cn.focus();
112   -->
113 </script>