Code

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