1 <table summary="{t}Application{/t}" style="width:100%;">
2 <tr>
3 <td style="width:50%;">
5 <table summary="{t}Generic settings{/t}">
6 <tr>
7 <td><LABEL for="cn">{t}Application name{/t}{$must}</LABEL></td>
8 <td>
9 {render acl=$cnACL}
10 <input type='text' 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 type='text' id="description" name="description" size=35 maxlength=80 value="{$description}">
37 {/render}
38 </td>
39 </tr>
40 {if !$isReleaseApplikation}
41 <tr><td colspan=2><div style="height:15px;"></div></td></tr>
42 <tr>
43 <td><LABEL for="base">{t}Base{/t}{$must}</LABEL></td>
44 <td>
45 {render acl=$baseACL}
46 <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}"
47 {if $isReleaseApplikation} disabled {/if}>
48 {html_options options=$bases selected=$base_select}
49 </select>
50 {/render}
51 {if !$isReleaseApplikation}
52 {render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
53 {image path="images/lists/folder.png" action="chooseBase" title="{t}Select a base{/t}"}
55 {/render}
56 {/if}
57 </td>
58 </tr>
59 {/if}
60 </table>
61 </td>
62 <td class='left-border'>
64
65 </td>
66 <td>
68 <table summary="{t}Picture settings{/t}">
69 <tr>
70 <td>
71 <LABEL for="picture_file">{t}Icon{/t}</LABEL>
72 <br>
73 {if $IconReadable}
74 <img alt="" src="getbin.php?rand={$rand}" border=1 style="width:48px; height:48; background-color:white; vertical-align:bottom;">
75 {else}
76 {image path="images/empty.png"}
78 {/if}
79 </td>
80 <td>
82 <br>
84 <input type="hidden" name="MAX_FILE_SIZE" value="100000">
85 {render acl=$gosaApplicationIconACL}
86 <input name="picture_file" type="file" size="20" maxlength="255" accept="image/*.png" id="picture_file">
87 {/render}
88 {render acl=$gosaApplicationIconACL}
89 <button type='submit' name='update' title="{t}Reload picture from LDAP{/t}">{t}Update{/t}</button>
91 {/render}
92 {render acl=$gosaApplicationIconACL}
93 <button type='submit' name='remove_picture' title="{t}Remove picture from LDAP{/t}">{t}Remove picture{/t}</button>
95 {/render}
96 </td>
97 </tr>
98 </table>
99 </td>
100 </tr>
101 </table>
103 <hr>
105 <h3>{t}Options{/t}</h3>
106 <table summary="{t}Application options{/t}" style="width:100%;">
107 <tr>
108 <td style='width:50%;' class='right-border'>
110 {render acl=$execForGroupmembersACL}
111 <input type=checkbox name="execForGroupmembers" value="1" {$execForGroupmembers}>
112 {/render}
113 {t}Only executable for members{/t}
114 <br>
115 {render acl=$overwriteConfigACL}
116 <input type=checkbox name="overwriteConfig" value="1" {$overwriteConfig}>
117 {/render}
118 {t}Replace user configuration on startup{/t}
119 </td>
120 <td>
121 {render acl=$placeOnDesktopACL}
122 <input type=checkbox name="placeOnDesktop" value="1" {$placeOnDesktop}>
123 {/render}
124 {t}Place icon on members desktop{/t}
125 <br>
126 {render acl=$placeInStartmenuACL}
127 <input type=checkbox name="placeInStartmenu" value="1" {$placeInStartmenu}>
128 {/render}
129 {t}Place entry in members startmenu{/t}
130 <br>
131 {render acl=$placeOnKickerACL}
132 <input type=checkbox name="placeOnKicker" value="1" {$placeOnKicker}>
133 {/render}
134 {t}Place entry in members launch bar{/t}
135 </td>
136 </tr>
137 </table>
139 <hr>
141 <table width="99%" summary="{t}Logon script{/t}">
142 <tr>
143 <td>
144 <h3>{t}Script{/t}</h3>
145 {render acl=$gotoLogonScriptACL}
146 <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
147 {/render}
148 {render acl=$gotoLogonScriptACL}
149 <input type="file" name="ScriptFile" value="{t}Import{/t}">
150 {/render}
151 {render acl=$gotoLogonScriptACL}
152 <button type='submit' name='upLoad'>{t}Upload{/t}</button>
154 {/render}
155 {image path="images/save.png" action="downloadScript" title="{t}Download{/t}"}
157 </td>
158 </tr>
159 </table>
161 <div style="height:20px;"></div>
163 <!-- Place cursor -->
164 <script language="JavaScript" type="text/javascript">
165 <!-- // First input field on page
166 focus_field('cn');
167 -->
168 </script>