Code

f0e3eef4a930ab074637aa6d00ea41bbbc5fbce4
[gosa.git] / plugins / 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><input id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Application name{/t}" {$cnACL}></td>
9     </tr>
10     <tr>
11      <td><LABEL for="gosaApplicationName">{t}Display name{/t}</LABEL></td>
12      <td>
13         <input id="gosaApplicationName" name="gosaApplicationName" size=35 maxlength=60 {$gosaApplicationNameACL} value="{$gosaApplicationName}" title="{t}Application name to be displayed (i.e. below icons){/t}">
14      </td>
15     </tr>
16     <tr>
17      <td><LABEL for="gosaApplicationExecute">{t}Execute{/t}{$must}</LABEL></td>
18      <td>
19         <input id="gosaApplicationExecute" name="gosaApplicationExecute" size=35 maxlength=60 {$gosaApplicationExecuteACL} value="{$gosaApplicationExecute}" title="{t}Path and/or binary name of application{/t}">
20      </td>
21     </tr>
22     <tr>
23      <td><LABEL for="description">{t}Description{/t}</LABEL></td>
24      <td>
25       <input id="description" name="description" size=35 maxlength=80 {$descriptionACL} value="{$description}">
26      </td>
27     </tr>
29     <tr><td colspan=2><div style="height:15px;"></div></td></tr>
30  
31     <tr>
32       <td><LABEL for="base">{t}Base{/t}{$must}</LABEL></td>
33       <td>
34        <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}" 
35         {if $isReleaseApplikation} disabled {/if}>
36         {html_options options=$bases selected=$base_select}
37        </select>
38       </td>
39      </tr>
40    </table>
41   </td>
42   <td style="border-left:1px solid #A0A0A0">
43    &nbsp;
44   </td>
45   <td style="vertical-align:top;">
46    <table summary="">
47     <tr>
48     <td>
49     <LABEL for="picture_file">{t}Icon{/t}</LABEL>
50     <br>
51     <img alt="" src="getbin.php?rand={$rand}" border=1 style="width:48px; height:48; background-color:white; vertical-align:bottom;">
52     </td>
53     <td style="vertical-align:top">
54     &nbsp;<br>
55     <input type="hidden" name="MAX_FILE_SIZE" value="100000">
56     <input name="picture_file" type="file" size="20" maxlength="255" accept="image/*.png" id="picture_file">
57     <input type="submit" name="update" value="{t}Update{/t}" title="{t}Reload picture from LDAP{/t}">
58     </td>
59     </tr>
60    </table>
61   </td>
62  </tr>
63 </table>
65 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
67 <h2><img src="images/lamp.png" alt="{t}Options{/t}" align="middle">&nbsp;{t}Options{/t}</h2>
68 <table summary="" style="width:100%;">
69   <tr>
70     <td style="width:50%;border-right:1px solid #B0B0B0; vertical-align:top">
71       <input type=checkbox name="exec_for_groupmembers" value="1" {$gosaApplicationFlagsACL} {$exec_for_groupmembers}>{t}Only executable for members{/t}
72       <br>
73       <input type=checkbox name="overwrite_config" value="1" {$gosaApplicationFlagsACL} {$overwrite_config}>{t}Replace user configuration on startup{/t}
74     </td>
75     <td>
76       <input type=checkbox name="place_on_desktop" value="1" {$gosaApplicationFlagsACL} {$place_on_desktop}>
77       {t}Place icon on members desktop{/t}
78       <br>
79       <input type=checkbox name="place_in_startmenu" value="1" {$gosaApplicationFlagsACL} {$place_in_startmenu}>
80       {t}Place entry in members startmenu{/t}
81       <br>
82       <input type=checkbox name="place_on_kicker" value="1" {$gosaApplicationFlagsACL} {$place_on_kicker}>
83       {t}Place entry in members launch bar{/t}
84     </td>
85   </tr>
86 </table>
88 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
90 <table width="99%" summary="">
91         <tr>
92                 <td>
93                         <h2><img src="images/fai_script.png" alt="{t}Script{/t}" align="middle">&nbsp;{t}Script{/t}</h2>
94                         <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
95                         <input type="file" name="ScriptFile" value="{t}Import{/t}">
96                         <input type="submit" name="upLoad" value="{t}Upload{/t}">
97                 </td>
98         </tr>
99 </table>
101 <div style="height:20px;"></div>
103 <!-- Place cursor -->
104 <script language="JavaScript" type="text/javascript">
105   <!-- // First input field on page
106   document.mainform.cn.focus();
107   -->
108 </script>