Code

Increase path length
[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>
9 {render acl=$cnACL}
10         <input id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Application name{/t}">
11 {/render}
12       </td>
13     </tr>
14     <tr>
15      <td><LABEL for="gosaApplicationName">{t}Display name{/t}</LABEL></td>
16      <td>
17 {render acl=$gosaApplicationNameACL}
18         <input id="gosaApplicationName" name="gosaApplicationName" size=35 maxlength=60 
19           value="{$gosaApplicationName}" title="{t}Application name to be displayed (i.e. below icons){/t}">
20 {/render}
21      </td>
22     </tr>
23     <tr>
24      <td><LABEL for="gosaApplicationExecute">{t}Execute{/t}{$must}</LABEL></td>
25      <td>
26 {render acl=$gosaApplicationExecuteACL}
27         <input id="gosaApplicationExecute" name="gosaApplicationExecute" size=35 maxlength=120 
28           value="{$gosaApplicationExecute}" title="{t}Path and/or binary name of application{/t}">
29 {/render}
30      </td>
31     </tr>
32     <tr>
33      <td><LABEL for="description">{t}Description{/t}</LABEL></td>
34      <td>
35 {render acl=$descriptionACL}
36       <input id="description" name="description" size=35 maxlength=80 value="{$description}">
37 {/render}
38      </td>
39     </tr>
40     <tr><td colspan=2><div style="height:15px;"></div></td></tr>
41     <tr>
42       <td><LABEL for="base">{t}Base{/t}{$must}</LABEL></td>
43       <td>
44 {render acl=$baseACL}
45        <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}" 
46         {if $isReleaseApplikation} disabled {/if}>
47         {html_options options=$bases selected=$base_select}
48        </select>
49 {/render}
50 {if !$isReleaseApplikation}
51 {render acl=$baseACL disable_picture='images/folder_gray.png'}
52       <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
53 {/render}
54 {/if}
55       </td>
56      </tr>
57    </table>
58   </td>
59   <td style="border-left:1px solid #A0A0A0">
60    &nbsp;
61   </td>
62   <td style="vertical-align:top;">
63    <table summary="">
64     <tr>
65     <td>
66     <LABEL for="picture_file">{t}Icon{/t}</LABEL>
67     <br>
68     <img alt="" src="getbin.php?rand={$rand}" border=1 style="width:48px; height:48; background-color:white; vertical-align:bottom;">
69     </td>
70     <td style="vertical-align:top">
71     &nbsp;<br>
73     <input type="hidden" name="MAX_FILE_SIZE" value="100000">
74 {render acl=$gosaApplicationIconACL}
75     <input name="picture_file" type="file" size="20" maxlength="255" accept="image/*.png" id="picture_file">
76 {/render}
77 {render acl=$gosaApplicationIconACL}
78     <input type="submit" name="update" value="{t}Update{/t}" title="{t}Reload picture from LDAP{/t}">
79 {/render}
80     </td>
81     </tr>
82    </table>
83   </td>
84  </tr>
85 </table>
87 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
89 <h2><img src="images/lamp.png" alt="{t}Options{/t}" align="middle">&nbsp;{t}Options{/t}</h2>
90 <table summary="" style="width:100%;">
91   <tr>
92     <td style="width:50%;border-right:1px solid #B0B0B0; vertical-align:top">
93 {render acl=$gosaApplicationFlagsACL}
94       <input type=checkbox name="exec_for_groupmembers" value="1" {$exec_for_groupmembers}>
95 {/render}
96         {t}Only executable for members{/t}
97       <br>
98 {render acl=$gosaApplicationFlagsACL}
99       <input type=checkbox name="overwrite_config" value="1" {$overwrite_config}>
100 {/render}
101         {t}Replace user configuration on startup{/t}
102     </td>
103     <td>
104 {render acl=$gosaApplicationFlagsACL}
105       <input type=checkbox name="place_on_desktop" value="1" {$place_on_desktop}>
106 {/render}
107       {t}Place icon on members desktop{/t}
108       <br>
109 {render acl=$gosaApplicationFlagsACL}
110       <input type=checkbox name="place_in_startmenu" value="1" {$place_in_startmenu}>
111 {/render}
112       {t}Place entry in members startmenu{/t}
113       <br>
114 {render acl=$gosaApplicationFlagsACL}
115       <input type=checkbox name="place_on_kicker" value="1" {$place_on_kicker}>
116 {/render}
117       {t}Place entry in members launch bar{/t}
118     </td>
119   </tr>
120 </table>
122 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
124 <table width="99%" summary="">
125         <tr>
126                 <td>
127                         <h2><img src="images/fai_script.png" alt="{t}Script{/t}" align="middle">&nbsp;{t}Script{/t}</h2>
128 {render acl=$gotoLogonScriptACL}
129                         <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
130 {/render}
131 {render acl=$gotoLogonScriptACL}
132                         <input type="file" name="ScriptFile" value="{t}Import{/t}">
133 {/render}
134 {render acl=$gotoLogonScriptACL}
135                         <input type="submit" name="upLoad" value="{t}Upload{/t}">
136 {/render}
137                         <input type='image' name='downloadScript'  src='images/save.png' title='{t}Download{/t}' class='center'>
138                 </td>
139         </tr>
140 </table>
142 <div style="height:20px;"></div>
144 <!-- Place cursor -->
145 <script language="JavaScript" type="text/javascript">
146   <!-- // First input field on page
147   document.mainform.cn.focus();
148   -->
149 </script>