Code

b79fd83130fd17b51bbd31fb01a4eb6d806de1e7
[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"  {$gotoProfileFlag_LCHK}
78                                                         {if $gotoProfileFlagsACL=="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=$gotoXResolutionKeys 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="text" size=15 {$gotoShareACL} name="ShareUser" value="ShareUser">
120                                 <input type="submit" {$gotoShareACL} name="gotoShareAdd" value="{t}Add{/t}"> 
121                                 <input type="submit" {$gotoShareACL} name="gotoShareDel" value="{t}Remove{/t}"> 
122                         </td>
123                 </tr>
124         </table>
125    </td>
126    <td style="vertical-align:top">
127         <h2><img class="center" alt="" src="images/fai_script.png" align="middle" />&nbsp;<label for="gotoLogonScript">{t}Logon scripts{/t}</label></h2>
128         <table summary="{t}Logon script management{/t}" style="width:100%">
129                 <tr>
130                         <td>
131                         <select style="width:100%;" name="gotoLogonScript" multiple size=5 {$gotoLogonScriptACL} id="gotoLogonScript">
132         {html_options values=$gotoLogonScriptKeys output=$gotoLogonScripts }
133         <option disabled>&nbsp;</option>
134                                 </select>
135         
136                                 <br>
137                                 <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptNew"    value="{t}Add{/t}">
138                                 <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptDel"    value="{t}Delete{/t}"> 
139                                 <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptEdit"   value="{t}Edit{/t}"> 
140                         </td>
141                 </tr>
142         </table>        
143    </td>
144   </tr>
145 </table>
147 <p class="seperator">&nbsp;</p>
149 <table summary="{t}Environment managment settings{/t}" width="100%">
150   <tr>
151    <td style="border-right:1px solid #B0B0B0; width:50%">
152         <h2><img alt="" src="images/hotplug.png" align="middle" class="center" />&nbsp;<label for="gotoHotplugDevice">{t}Hotplug devices{/t}</label></h2>       
153         <table style="width:100%" summary="{t}Hotplug device settings{/t}">
154                 <tr>
155                         <td>
156                                 <select name="gotoHotplugDevice" {$gotoHotplugDeviceACL} size=5  style="width:100%;" id="gotoHotplugDevice">
157         {html_options values=$gotoHotplugDeviceKeys output=$gotoHotplugDevices}
158         <option disabled>&nbsp;</option>
159                                 </select>
160                         </td>
161                 </tr>
162                 <tr>
163                         <td>
164                                 <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceNew" value="{t}New{/t}">
165                                 <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceUse" value="{t}Existing{/t}">
166                                 <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceDel" value="{t}Delete{/t}">
167                         </td>
168                 </tr>
169         </table>
170    </td>
171    <td>
172     <h2><img alt="" src="images/select_printer.png" align="middle" class="center" />&nbsp;<label for="gotoPrinter">{t}Printer{/t}</label></h2>
173     <table style="width:100%" summary="{t}Printer settings{/t}">
174         <tr>
175             <td>
176                 <select style="width:100%;" name="gotoPrinterSel" multiple size=5 {$gotoPrinterACL} id="gotoPrinter">
177                 {html_options values=$gotoPrinterKeys output=$gotoPrinter}
178                 <option disabled>&nbsp;</option>
179                 </select>
180                 <br>
181                 <input type="submit" {$gotoPrinterACL} name="gotoPrinterAdd"     value="{t}Add{/t}">
182                 <input type="submit" {$gotoPrinterACL} name="gotoPrinterDel"     value="{t}Delete{/t}">
183                 <input type="submit" {$gotoPrinterACL} name="gotoPrinterEdit"    value="{t}Admin Toggle{/t}">
184             </td>
185         </tr>
186     </table>
187    </td>
188   </tr>
189 </table>
190 <script language="JavaScript" type="text/javascript">
191   <!-- // First input field on page
192   document.mainform.useProfile.focus();
193   -->
194 </script>
195 {/if}