Code

Updated check for boolean config values
[gosa.git] / gosa-plugins / goto / admin / applications / generic.tpl
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>
42     <td><br><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
43     <td>
44      <br>
45 {render acl=$baseACL}
46            {$base}
47 {/render}
48      </td>
49     </tr>
50 {/if}
51    </table>
52   </td>
53   <td class='left-border'>
55    &nbsp;
56   </td>
57   <td>
59    <table summary="{t}Picture settings{/t}">
60     <tr>
61     <td>
62     <LABEL for="picture_file">{t}Icon{/t}</LABEL>
63     <br>
64 {if $IconReadable}
65     <img alt="" src="getbin.php?rand={$rand}" border=1 style="width:48px; height:48; background-color:white; vertical-align:bottom;">
66 {else}
67         {image path="images/empty.png"}
69 {/if}
70     </td>
71     <td>
73     &nbsp;<br>
75     <input type="hidden" name="MAX_FILE_SIZE" value="100000">
76 {render acl=$gosaApplicationIconACL}
77     <input name="picture_file" type="file" size="20" maxlength="255" accept="image/*.png" id="picture_file">
78 {/render}
79 {render acl=$gosaApplicationIconACL}
80 <button type='submit' name='update' title="{t}Reload picture from LDAP{/t}">{t}Update{/t}</button>
82 {/render}
83 {render acl=$gosaApplicationIconACL}
84 <button type='submit' name='remove_picture' title="{t}Remove picture from LDAP{/t}">{t}Remove picture{/t}</button>
86 {/render}
87     </td>
88     </tr>
89    </table>
90   </td>
91  </tr>
92 </table>
94 <hr>
96 <h3>{t}Options{/t}</h3>
97 <table summary="{t}Application options{/t}" style="width:100%;">
98   <tr>
99     <td style='width:50%;' class='right-border'>
101 {render acl=$execForGroupmembersACL}
102       <input type=checkbox name="execForGroupmembers" value="1" {$execForGroupmembers}>
103 {/render}
104         {t}Only executable for members{/t}
105       <br>
106 {render acl=$overwriteConfigACL}
107       <input type=checkbox name="overwriteConfig" value="1" {$overwriteConfig}>
108 {/render}
109         {t}Replace user configuration on startup{/t}
110     </td>
111     <td>
112 {render acl=$placeOnDesktopACL}
113       <input type=checkbox name="placeOnDesktop" value="1" {$placeOnDesktop}>
114 {/render}
115       {t}Place icon on members desktop{/t}
116       <br>
117 {render acl=$placeInStartmenuACL}
118       <input type=checkbox name="placeInStartmenu" value="1" {$placeInStartmenu}>
119 {/render}
120       {t}Place entry in members startmenu{/t}
121       <br>
122 {render acl=$placeOnKickerACL}
123       <input type=checkbox name="placeOnKicker" value="1" {$placeOnKicker}>
124 {/render}
125       {t}Place entry in members launch bar{/t}
126     </td>
127   </tr>
128 </table>
130 <hr>
132 <table width="99%" summary="{t}Logon script{/t}">
133         <tr>
134                 <td>
135                         <h3>{t}Script{/t}</h3>
136 {render acl=$gotoLogonScriptACL}
137                         <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
138 {/render}
139 {render acl=$gotoLogonScriptACL}
140                         <input type="file" name="ScriptFile" value="{t}Import{/t}">
141 {/render}
142 {render acl=$gotoLogonScriptACL}
143                         <button type='submit' name='upLoad'>{t}Upload{/t}</button>
145 {/render}
146                         {image path="images/save.png" action="downloadScript" title="{t}Download{/t}"}
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>