Code

Updated templates for application
[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       {image path="images/lists/folder.png" action="chooseBase" title="{t}Select a base{/t}"}
54 {/render}
55 {/if}
56       </td>
57      </tr>
58    </table>
59   </td>
60   <td class='left-border'>
62    &nbsp;
63   </td>
64   <td>
66    <table summary="">
67     <tr>
68     <td>
69     <LABEL for="picture_file">{t}Icon{/t}</LABEL>
70     <br>
71 {if $IconReadable}
72     <img alt="" src="getbin.php?rand={$rand}" border=1 style="width:48px; height:48; background-color:white; vertical-align:bottom;">
73 {else}
74         {image path="images/empty.png"}
76 {/if}
77     </td>
78     <td>
80     &nbsp;<br>
82     <input type="hidden" name="MAX_FILE_SIZE" value="100000">
83 {render acl=$gosaApplicationIconACL}
84     <input name="picture_file" type="file" size="20" maxlength="255" accept="image/*.png" id="picture_file">
85 {/render}
86 {render acl=$gosaApplicationIconACL}
87 <button type='submit' name='update' title="{t}Reload picture from LDAP{/t}">{t}Update{/t}</button>
89 {/render}
90 {render acl=$gosaApplicationIconACL}
91 <button type='submit' name='remove_picture' title="{t}Remove picture from LDAP{/t}">{t}Remove picture{/t}</button>
93 {/render}
94     </td>
95     </tr>
96    </table>
97   </td>
98  </tr>
99 </table>
101 <hr>
103 <h3>{t}Options{/t}</h3>
104 <table summary="" style="width:100%;">
105   <tr>
106     <td style='width:50%;' class='right-border'>
108 {render acl=$execForGroupmembersACL}
109       <input type=checkbox name="execForGroupmembers" value="1" {$execForGroupmembers}>
110 {/render}
111         {t}Only executable for members{/t}
112       <br>
113 {render acl=$overwriteConfigACL}
114       <input type=checkbox name="overwriteConfig" value="1" {$overwriteConfig}>
115 {/render}
116         {t}Replace user configuration on startup{/t}
117     </td>
118     <td>
119 {render acl=$placeOnDesktopACL}
120       <input type=checkbox name="placeOnDesktop" value="1" {$placeOnDesktop}>
121 {/render}
122       {t}Place icon on members desktop{/t}
123       <br>
124 {render acl=$placeInStartmenuACL}
125       <input type=checkbox name="placeInStartmenu" value="1" {$placeInStartmenu}>
126 {/render}
127       {t}Place entry in members startmenu{/t}
128       <br>
129 {render acl=$placeOnKickerACL}
130       <input type=checkbox name="placeOnKicker" value="1" {$placeOnKicker}>
131 {/render}
132       {t}Place entry in members launch bar{/t}
133     </td>
134   </tr>
135 </table>
137 <hr>
139 <table width="99%" summary="">
140         <tr>
141                 <td>
142                         <h3>{t}Script{/t}</h3>
143 {render acl=$gotoLogonScriptACL}
144                         <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
145 {/render}
146 {render acl=$gotoLogonScriptACL}
147                         <input type="file" name="ScriptFile" value="{t}Import{/t}">
148 {/render}
149 {render acl=$gotoLogonScriptACL}
150                         <button type='submit' name='upLoad'>{t}Upload{/t}</button>
152 {/render}
153                         {image path="images/save.png" action="downloadScript" title="{t}Download{/t}"}
155                 </td>
156         </tr>
157 </table>
159 <div style="height:20px;"></div>
161 <!-- Place cursor -->
162 <script language="JavaScript" type="text/javascript">
163   <!-- // First input field on page
164         focus_field('cn');
165   -->
166 </script>