Code

Disable fields with javascript, implemented in environmenttab
[gosa.git] / plugins / personal / environment / environment.tpl
1 {if $is_account ne 'true'}
2         <img alt="" src="images/stop.png" align="middle">
3         {t}The environment extension is currently disabled.{/t}
4 {else}
5 <input type="hidden" name="iamposted" value="1">
6 <table summary="" width="100%">
7         <tr>
8                 <td valign="top" width="50%">
9                         <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Profiles{/t}</h2>
10                         <table summary="">
11                                 <tr>
12                                         <td>
13                                                 <input type="checkbox" value="1" {$useProfileCHK} name="useProfile" {$useProfileACL} 
14                                                                         onclick="changeState('gotoProfileServer');changeState('gotoProfileFlag_C');">
15                                         </td>
16                                         <td valign="top">
17                                                 {t}Use profile managment{/t}
18                                         </td>
19                                 </tr>
20                                 <tr>
21                                         <td>&nbsp;
22                                         </td>
23                                         <td>
24                                                 <table summary="">
25                                                         <tr>
26                                                                 <td>    
27                                                                         {t}Profil server{/t}
28                                                                 </td>
29                                                                 <td>
30                                                                         <select style="width:350px;" name="gotoProfileServer" {$gotoProfileServerACL} id="gotoProfileServer">
31                                                                                 {html_options values=$gotoProfileServers output=$gotoProfileServers selected=$gotoProfileServer}
32                                                                                 <option disabled>&nbsp;</option>
33                                                                         </select>
34                                                                 </td>
35                                                         </tr>
36                                                         <tr>
37                                                                 <td>    
38                                                                         {t}Use local caching{/t}
39                                                                 </td>
40                                                                 <td>
41                                                                         <input type="checkbox" name="gotoProfileFlag_C" value="C" id="gotoProfileFlag_C" {$gotoProfileFlagsACL} {$gotoProfileFlag_CCHK}>
42                                                                 </td>
43                                                         </tr>
44                                                 </table>
45                                         </td>
46                                 </tr>
47                                 </table>
48                                 <table>
49                                 <tr>
50                                         <td>{t}Quota{/t} 
51                                         </td>
52                                         <td>
53                                                 <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" {$gotoProfileQuotaACL}>
54                                         </td>
55                                 </tr>
56                                 <tr>
57                                         <td>
58                                                 {t}Resolution{/t}
59                                         </td>
60                                         <td>
61                                                 <select name="gotoXResolution" {$gotoXResolutionACL}>
62                                 {html_options values=$gotoXResolutions output=$gotoXResolutions selected=$gotoXResolution}
63                             <option disabled>&nbsp;</option>
64                         </select>
65                                         </td>
66                                 </tr>
67                                 <tr>
68                                         <td>
69                                                 <input type="checkbox" name="gotoProfileFlag_L" value="L" {$gotoProfileFlagsACL} {$gotoProfileFlag_LCHK}>
70                                         </td>
71                                         <td>
72                                                 {t}Resolution changeable on runtime {/t}
73                                         </td>
74                                 </tr>
75                         </table>
77                         <p class="seperator">&nbsp;</p>
78             <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Kiosk profile{/t}</h2>      
79                         <table summary="">
80                                 <tr>
81                                         <td>
82                                                 {t}Kiosk profile{/t}    
83                                         </td>
84                                         <td>
85                                                 <select name="gotoKioskProfile" {$gotoKioskProfileACL}>
86                         {html_options values=$gotoKioskProfiles output=$gotoKioskProfiles selected=$gotoKioskProfile}
87                         <option disabled>&nbsp;</option>
88                                         </td>
89                                 </tr>
90                                 <tr>
91                                         <td>
92                                                 &nbsp;
93                                         </td>
94                                         <td>
95                                                 <input type="submit" name="KioskManagementDialog" value="{t}Profile management{/t}" {$gotoKioskProfileACL}>
96                                         </td>
97                                 </tr>
98                         </table>        
99                         <p class="seperator">&nbsp;</p>
100                         <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Logon scripts{/t}</h2>
101                         <table summary="">
102                                 <tr>
103                                         <td>
104                                         <select style="width:350px;" name="gotoLogonScript" multiple size=4 {$gotoLogonScriptACL}>
105                         {html_options values=$gotoLogonScriptKeys output=$gotoLogonScripts }
106                         <option disabled>&nbsp;</option>
107                                                 </select>
108                         
109                                                 <br>
110                                                 <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptNew"            value="{t}Add{/t}">
111                                                 <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptDel"    value="{t}Delete{/t}"> 
112                                                 <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptEdit"   value="{t}Edit{/t}"> 
113                                         </td>
114                                 </tr>
115                         </table>        
116                 </td>
117                 <td style="border-left: 1px solid rgb(160, 160, 160);"  valign="top">
118                         <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Attach share{/t}</h2>
119                         <table summary="">
120                                 <tr>
121                                         <td>
122                                         <select style="width:350px;" name="gotoShare" multiple size=4 {$gotoShareACL}>
123                         {html_options values=$gotoShareKeys output=$gotoShares}
124                         <option disabled>&nbsp;</option>
125                                                 </select>
126                         
127                                                 <br>
128                                                         
129                                         <select name="gotoShareSelection" {$gotoShareACL}>
130                         {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
131                         <option disabled>&nbsp;</option>
132                                                 </select>
133                                                 <input type="text"       {$gotoShareACL} name="gotoShareMountPoint"     value="">
134                                                 <input type="submit" {$gotoShareACL} name="gotoShareAdd"                value="+"> 
135                                                 <input type="submit" {$gotoShareACL} name="gotoShareDel"                value="-"> 
136                                         </td>
137                                 </tr>
138                         </table>
139                         <p class="seperator">&nbsp;</p>
140             <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Hotplug devices{/t}</h2>    
141                         <table summary="">
142                                 <tr>
143                                         <td>
144                                                 <select name="gotoHotplugDevice" {$gotoHotplugDeviceACL} size=4  style="width:350px;">
145                         {html_options values=$gotoHotplugDeviceKeys output=$gotoHotplugDevices}
146                         <option disabled>&nbsp;</option>
147                                         </td>
148                                 </tr>
149                                 <tr>
150                                         <td>
151                                                 <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceNew" value="{t}New{/t}">
152                                                 <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceUse" value="{t}Existing{/t}">
153                                                 <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceDel" value="{t}Delete{/t}">
154                                         </td>
155                                 </tr>
156                         </table>
157                         <p class="seperator">&nbsp;</p>
158             <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Printer{/t}</h2>
159             <table summary="">
160                 <tr>
161                     <td>
162                         <select style="width:350px;" name="gotoPrinter" multiple size=4 {$gotoPrinterACL}>
163                         {html_options values=$gotoPrinterKeys output=$gotoPrinters}
164                         <option disabled>&nbsp;</option>
165                         </select>
167                         <br>
168                         <input type="submit" {$gotoPrinterACL} name="gotoPrinterAdd"     value="{t}Add{/t}">
169                         <input type="submit" {$gotoPrinterACL} name="gotoPrinterDel"     value="{t}Delete{/t}">
170                         <input type="submit" {$gotoPrinterACL} name="gotoPrinterEdit"   value="{t}Admin Toggle{/t}">
171                     </td>
172                 </tr>
173             </table>
174                 </td>
175         </tr>
176 </table>        
177         
178                 
181         
183 {/if}