Code

Updated grayout settings
[gosa.git] / plugins / personal / environment / environment.tpl
1 {if $is_account ne 'true'}
2         <img alt="" class="center" 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">
7 <h2><img class="center" alt="" src="images/fai_profile.png" align="middle" /> {t}Profiles{/t}</h2>
8 <table summary="{t}Environment managment settings{/t}" width="100%">
9   <tr>
10    <td style="width:50%;border-right:1px solid #B0B0B0;vertical-align:top;">
11                         <table summary="{t}Profile managment{/t}">
12                                 <tr>
13                                         <td style="vertical-align:top">
14                                                 <input class="center" type="checkbox" value="1" {$useProfileCHK} name="useProfile" {$useProfileACL} id="useProfile"
15                                                                         onclick="changeState('gotoProfileServer');changeState('gotoProfileFlag_C');changeState('gotoProfileQuota');">
16                                         </td>
17                                         <td style="vertical-align:middle;">
18                                                 <label for="useProfile">{t}Use profile managment{/t}</label>
19                                         </td>
20                                 </tr>
21                                 <tr>
22                                         <td>&nbsp;
23                                         </td>
24                                         <td>
25                                                 <table summary="{t}Profile server managment{/t}">
26                                                         <tr>
27                                                                 <td>    
28                                                                         <label for="gotoProfileServer">{t}Profil path{/t}</label>
29                                                                 </td>
30                                                                 <td>
31                                                                         <select id="gotoProfileServer" 
32                                                                                         name="gotoProfileServer" {$gotoProfileServerACL}>
33                                                                                 {html_options values=$gotoProfileServerKeys output=$gotoProfileServers selected=$gotoProfileServer}
34                                                                                 <option disabled>&nbsp;</option>
35                                                                         </select>
36                                                                 </td>
37                                                         </tr>
38                                                         <tr>
39                                                                 <td>
40                                                                         <label for="gotoProfileQuota">{t}Profil quota{/t}</label> 
41                                                                         <br>
42                                                                         <br>
43                                                                 </td>
44                                                                 <td>
45                                                                         <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" size="6" {$gotoProfileQuotaACL} id="gotoProfileQuota">{t}MB{/t}
46                                                                         <br>
47                                                                         <br>
48                                                                 </td>
49                                                         </tr>
50                                                         <tr>
51                                                                 <td colspan=2>  
52                                                                         <input class="center" type="checkbox" name="gotoProfileFlag_C" value="C" {$gotoProfileFlag_CCHK}
53                                                                                 id="gotoProfileFlag_C" {$gotoProfileFlag_CACL}>&nbsp;
54                                                                         <label for="gotoProfileFlag_C">{t}Cache profile localy{/t}</label>
55                                                                 </td>
56                                                         </tr>
57                                                 </table>
58                                         </td>
59                                 </tr>
60                                 </table>
61                 </td>
62                 <td style="vertical-align:top">
63                         <table summary="{t}Kiosk profile settings{/t}">
64                                 <tr>
65                                         <td>
66                                                 <label for="gotoKioskProfile">{t}Kiosk profile{/t}</label>
67                                         </td>
68                                         <td>
69                                                 <select name="gotoKioskProfile" {$gotoKioskProfileACL} id="gotoKioskProfile">
70                         {html_options values=$gotoKioskProfileKeys output=$gotoKioskProfiles selected=$gotoKioskProfile}
71                         <option disabled>&nbsp;</option></select>&nbsp;
72                                                 <input type="submit" name="KioskManagementDialog" value="{t}Manage{/t}" {$gotoKioskProfileACL}>
73                                         </td>
74                                 </tr>
75                                 <tr>
76                                         <td colspan=2>
77                                                 <input type="checkbox" name="gotoProfileFlag_L" id="gotoProfileFlag_L" value="L" 
78                                                         {if $gotoProfileFlagsACL=="disabled" || $gotoProfileFlag_LCHK=="disabled"}
79                                                                 disabled 
80                                                         {/if}>
81                                                 <label for="gotoProfileFlag_L">{t}Resolution changeable on runtime{/t}</label>
82                                         </td>
83                                 </tr>
84                                 <tr>
85                                         <td>
86                                                 <label for="gotoXResolution">{t}Resolution{/t}</label>
87                                         </td>
88                                         <td>
89                                                 <select name="gotoXResolution" {$gotoXResolutionACL} id="gotoXResolution">
90                                 {html_options values=$gotoXResolutions output=$gotoXResolutions selected=$gotoXResolution}
91                             <option disabled>&nbsp;</option>
92                         </select>
93                                         </td>
94                                 </tr>
95                         </table>        
96    </td>
97   </tr>
98 </table>
100 <p class="seperator">&nbsp;</p>
102 <table summary="{t}Environment managment settings{/t}" width="100%">
103   <tr>
104    <td style="width:50%;border-right:1px solid #B0B0B0">
105         <h2><img class="center" alt="" src="images/fai_partitionTable.png" align="middle" />&nbsp;<label for="gotoShare">{t}Shares{/t}</label></h2>
106         <table summary="" style="width:100%">
107                 <tr>
108                         <td>
109                         <select style="width:100%;" name="gotoShare" multiple size=5 {$gotoShareACL} id="gotoShare">
110         {html_options values=$gotoShareKeys output=$gotoShares}
111         <option disabled>&nbsp;</option>
112                                 </select>
113                                 <br>
114                         <select name="gotoShareSelection" {$gotoShareACL}>
115         {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
116         <option disabled>&nbsp;</option>
117                                 </select>
118                                 <input type="text" size=15 {$gotoShareACL} name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
119                                 <input type="submit" {$gotoShareACL} name="gotoShareAdd" value="{t}Add{/t}"> 
120                                 <input type="submit" {$gotoShareACL} name="gotoShareDel" value="{t}Remove{/t}"> 
121                         </td>
122                 </tr>
123         </table>
124    </td>
125    <td>
126         <h2><img class="center" alt="" src="images/fai_script.png" align="middle" />&nbsp;<label for="gotoLogonScript">{t}Logon scripts{/t}</label></h2>
127         <table summary="{t}Logon script management{/t}" style="width:100%">
128                 <tr>
129                         <td>
130                         <select style="width:100%;" name="gotoLogonScript" multiple size=5 {$gotoLogonScriptACL} id="gotoLogonScript">
131         {html_options values=$gotoLogonScriptKeys output=$gotoLogonScripts }
132         <option disabled>&nbsp;</option>
133                                 </select>
134         
135                                 <br>
136                                 <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptNew"    value="{t}Add{/t}">
137                                 <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptDel"    value="{t}Delete{/t}"> 
138                                 <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptEdit"   value="{t}Edit{/t}"> 
139                         </td>
140                 </tr>
141         </table>        
142    </td>
143   </tr>
144 </table>
146 <p class="seperator">&nbsp;</p>
148 <table summary="{t}Environment managment settings{/t}" width="100%">
149   <tr>
150    <td style="border-right:1px solid #B0B0B0; width:50%">
151         <h2><img alt="" src="images/hotplug.png" align="middle" class="center" />&nbsp;<label for="gotoHotplugDevice">{t}Hotplug devices{/t}</label></h2>       
152         <table style="width:100%" summary="{t}Hotplug device settings{/t}">
153                 <tr>
154                         <td>
155                                 <select name="gotoHotplugDevice" {$gotoHotplugDeviceACL} size=5  style="width:100%;" id="gotoHotplugDevice">
156         {html_options values=$gotoHotplugDeviceKeys output=$gotoHotplugDevices}
157         <option disabled>&nbsp;</option>
158                                 </select>
159                         </td>
160                 </tr>
161                 <tr>
162                         <td>
163                                 <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceNew" value="{t}New{/t}">
164                                 <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceUse" value="{t}Existing{/t}">
165                                 <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceDel" value="{t}Delete{/t}">
166                         </td>
167                 </tr>
168         </table>
169    </td>
170    <td>
171     <h2><img alt="" src="images/select_printer.png" align="middle" class="center" />&nbsp;<label for="gotoPrinter">{t}Printer{/t}</label></h2>
172     <table style="width:100%" summary="{t}Printer settings{/t}">
173         <tr>
174             <td>
175                 <select style="width:100%;" name="gotoPrinterSel" multiple size=5 {$gotoPrinterACL} id="gotoPrinter">
176                 {html_options values=$gotoPrinterKeys output=$gotoPrinter}
177                 <option disabled>&nbsp;</option>
178                 </select>
179                 <br>
180                 <input type="submit" {$gotoPrinterACL} name="gotoPrinterAdd"     value="{t}Add{/t}">
181                 <input type="submit" {$gotoPrinterACL} name="gotoPrinterDel"     value="{t}Delete{/t}">
182                 <input type="submit" {$gotoPrinterACL} name="gotoPrinterEdit"    value="{t}Admin Toggle{/t}">
183             </td>
184         </tr>
185     </table>
186    </td>
187   </tr>
188 </table>
189 <script language="JavaScript" type="text/javascript">
190   <!-- // First input field on page
191   document.mainform.useProfile.focus();
192   -->
193 </script>
194 {/if}