Code

Moved folder images
[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 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/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     <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 {render acl=$gosaApplicationIconACL}
81 <input type="submit" name="remove_picture" value="{t}Remove picture{/t}" title="{t}Remove picture from LDAP{/t}">
82 {/render}
83     </td>
84     </tr>
85    </table>
86   </td>
87  </tr>
88 </table>
90 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
92 <h2><img src="images/lamp.png" alt="{t}Options{/t}" align="middle">&nbsp;{t}Options{/t}</h2>
93 <table summary="" style="width:100%;">
94   <tr>
95     <td style="width:50%;border-right:1px solid #B0B0B0; vertical-align:top">
96 {render acl=$gosaApplicationFlagsACL}
97       <input type=checkbox name="exec_for_groupmembers" value="1" {$exec_for_groupmembers}>
98 {/render}
99         {t}Only executable for members{/t}
100       <br>
101 {render acl=$gosaApplicationFlagsACL}
102       <input type=checkbox name="overwrite_config" value="1" {$overwrite_config}>
103 {/render}
104         {t}Replace user configuration on startup{/t}
105     </td>
106     <td>
107 {render acl=$gosaApplicationFlagsACL}
108       <input type=checkbox name="place_on_desktop" value="1" {$place_on_desktop}>
109 {/render}
110       {t}Place icon on members desktop{/t}
111       <br>
112 {render acl=$gosaApplicationFlagsACL}
113       <input type=checkbox name="place_in_startmenu" value="1" {$place_in_startmenu}>
114 {/render}
115       {t}Place entry in members startmenu{/t}
116       <br>
117 {render acl=$gosaApplicationFlagsACL}
118       <input type=checkbox name="place_on_kicker" value="1" {$place_on_kicker}>
119 {/render}
120       {t}Place entry in members launch bar{/t}
121     </td>
122   </tr>
123 </table>
125 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
127 <table width="99%" summary="">
128         <tr>
129                 <td>
130                         <h2><img src="images/fai_script.png" alt="{t}Script{/t}" align="middle">&nbsp;{t}Script{/t}</h2>
131 {render acl=$gotoLogonScriptACL}
132                         <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
133 {/render}
134 {render acl=$gotoLogonScriptACL}
135                         <input type="file" name="ScriptFile" value="{t}Import{/t}">
136 {/render}
137 {render acl=$gotoLogonScriptACL}
138                         <input type="submit" name="upLoad" value="{t}Upload{/t}">
139 {/render}
140                         <input type='image' name='downloadScript'  src='images/save.png' title='{t}Download{/t}' class='center'>
141                 </td>
142         </tr>
143 </table>
145 <div style="height:20px;"></div>
147 <!-- Place cursor -->
148 <script language="JavaScript" type="text/javascript">
149   <!-- // First input field on page
150         focus_field('cn');
151   -->
152 </script>