Code

Removed a couple of normalize_preg calls
[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 {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 <input type="submit" name="update" value="{t}Update{/t}" title="{t}Reload picture from LDAP{/t}">
83 {/render}
84 {render acl=$gosaApplicationIconACL}
85 <input type="submit" name="remove_picture" value="{t}Remove picture{/t}" title="{t}Remove picture from LDAP{/t}">
86 {/render}
87     </td>
88     </tr>
89    </table>
90   </td>
91  </tr>
92 </table>
94 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
96 <h2><img src="images/lists/on.png" alt="{t}Options{/t}" align="middle">&nbsp;{t}Options{/t}</h2>
97 <table summary="" style="width:100%;">
98   <tr>
99     <td style="width:50%;border-right:1px solid #B0B0B0; vertical-align:top">
100 {render acl=$execForGroupmembersACL}
101       <input type=checkbox name="execForGroupmembers" value="1" {$execForGroupmembers}>
102 {/render}
103         {t}Only executable for members{/t}
104       <br>
105 {render acl=$overwriteConfigACL}
106       <input type=checkbox name="overwriteConfig" value="1" {$overwriteConfig}>
107 {/render}
108         {t}Replace user configuration on startup{/t}
109     </td>
110     <td>
111 {render acl=$placeOnDesktopACL}
112       <input type=checkbox name="placeOnDesktop" value="1" {$placeOnDesktop}>
113 {/render}
114       {t}Place icon on members desktop{/t}
115       <br>
116 {render acl=$placeInStartmenuACL}
117       <input type=checkbox name="placeInStartmenu" value="1" {$placeInStartmenu}>
118 {/render}
119       {t}Place entry in members startmenu{/t}
120       <br>
121 {render acl=$placeOnKickerACL}
122       <input type=checkbox name="placeOnKicker" value="1" {$placeOnKicker}>
123 {/render}
124       {t}Place entry in members launch bar{/t}
125     </td>
126   </tr>
127 </table>
129 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
131 <table width="99%" summary="">
132         <tr>
133                 <td>
134                         <h2><img src="plugins/goto/images/logon_script.png" alt="{t}Script{/t}" align="middle">&nbsp;{t}Script{/t}</h2>
135 {render acl=$gotoLogonScriptACL}
136                         <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
137 {/render}
138 {render acl=$gotoLogonScriptACL}
139                         <input type="file" name="ScriptFile" value="{t}Import{/t}">
140 {/render}
141 {render acl=$gotoLogonScriptACL}
142                         <input type="submit" name="upLoad" value="{t}Upload{/t}">
143 {/render}
144                         <input type='image' name='downloadScript'  src='images/save.png' title='{t}Download{/t}' class='center'>
145                 </td>
146         </tr>
147 </table>
149 <div style="height:20px;"></div>
151 <!-- Place cursor -->
152 <script language="JavaScript" type="text/javascript">
153   <!-- // First input field on page
154         focus_field('cn');
155   -->
156 </script>