Code

Updated buttons
[gosa.git] / gosa-plugins / goto / 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 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     <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/lists/folder_grey.png'}
52       <input type="image" name="chooseBase" src="images/lists/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 {if $IconReadable}
69     <img alt="" src="getbin.php?rand={$rand}" border=1 style="width:48px; height:48; background-color:white; vertical-align:bottom;">
70 {else}
71         <img src='images/empty.png' style="width:48px; height:48; background-color:white; vertical-align:bottom;" border=1 >
72 {/if}
73     </td>
74     <td style="vertical-align:top">
75     &nbsp;<br>
77     <input type="hidden" name="MAX_FILE_SIZE" value="100000">
78 {render acl=$gosaApplicationIconACL}
79     <input name="picture_file" type="file" size="20" maxlength="255" accept="image/*.png" id="picture_file">
80 {/render}
81 {render acl=$gosaApplicationIconACL}
82 <button type='submit' name='update' title="{t}Reload picture from LDAP{/t}">{t}Update{/t}</button>
84 {/render}
85 {render acl=$gosaApplicationIconACL}
86 <button type='submit' name='remove_picture' title="{t}Remove picture from LDAP{/t}">{t}Remove picture{/t}</button>
88 {/render}
89     </td>
90     </tr>
91    </table>
92   </td>
93  </tr>
94 </table>
96 <hr>
98 <h3>{t}Options{/t}</h3>
99 <table summary="" style="width:100%;">
100   <tr>
101     <td style="width:50%;border-right:1px solid #B0B0B0; vertical-align:top">
102 {render acl=$execForGroupmembersACL}
103       <input type=checkbox name="execForGroupmembers" value="1" {$execForGroupmembers}>
104 {/render}
105         {t}Only executable for members{/t}
106       <br>
107 {render acl=$overwriteConfigACL}
108       <input type=checkbox name="overwriteConfig" value="1" {$overwriteConfig}>
109 {/render}
110         {t}Replace user configuration on startup{/t}
111     </td>
112     <td>
113 {render acl=$placeOnDesktopACL}
114       <input type=checkbox name="placeOnDesktop" value="1" {$placeOnDesktop}>
115 {/render}
116       {t}Place icon on members desktop{/t}
117       <br>
118 {render acl=$placeInStartmenuACL}
119       <input type=checkbox name="placeInStartmenu" value="1" {$placeInStartmenu}>
120 {/render}
121       {t}Place entry in members startmenu{/t}
122       <br>
123 {render acl=$placeOnKickerACL}
124       <input type=checkbox name="placeOnKicker" value="1" {$placeOnKicker}>
125 {/render}
126       {t}Place entry in members launch bar{/t}
127     </td>
128   </tr>
129 </table>
131 <hr>
133 <table width="99%" summary="">
134         <tr>
135                 <td>
136                         <h3>{t}Script{/t}</h3>
137 {render acl=$gotoLogonScriptACL}
138                         <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
139 {/render}
140 {render acl=$gotoLogonScriptACL}
141                         <input type="file" name="ScriptFile" value="{t}Import{/t}">
142 {/render}
143 {render acl=$gotoLogonScriptACL}
144                         <button type='submit' name='upLoad'>{t}Upload{/t}</button>
146 {/render}
147                         <input type='image' name='downloadScript'  src='images/save.png' title='{t}Download{/t}' class='center'>
148                 </td>
149         </tr>
150 </table>
152 <div style="height:20px;"></div>
154 <!-- Place cursor -->
155 <script language="JavaScript" type="text/javascript">
156   <!-- // First input field on page
157         focus_field('cn');
158   -->
159 </script>