Code

4f63c1a8641957dddf16388905a5cd77eb9992a9
[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                                                 <br>
78                                                 <input type="checkbox" name="gotoProfileFlag_L" id="gotoProfileFlag_L" value="L"  {$gotoProfileFlag_LCHK}
79                                                         {if $gotoProfileFlagsACL=="disabled"}
80                                                                 disabled 
81                                                         {/if}>
82                                                 <label for="gotoProfileFlag_L">{t}Resolution changeable during session{/t}</label>
83                                         </td>
84                                 </tr>
85                                 <tr>
86                                         <td>
87                                                 <label for="gotoXResolution">{t}Resolution{/t}</label>
88                                         </td>
89                                         <td>
90                                                 <select name="gotoXResolution" {$gotoXResolutionACL} id="gotoXResolution">
91                                 {html_options values=$gotoXResolutionKeys output=$gotoXResolutions selected=$gotoXResolution}
92                             <option disabled>&nbsp;</option>
93                         </select>
94                                         </td>
95                                 </tr>
96                         </table>        
97    </td>
98   </tr>
99 </table>
101 <p class="seperator">&nbsp;</p>
103 <table summary="{t}Environment managment settings{/t}" width="100%">
104   <tr>
105    <td style="width:50%;border-right:1px solid #B0B0B0">
106         <h2><img class="center" alt="" src="images/fai_partitionTable.png" align="middle" />&nbsp;<label for="gotoShare">{t}Shares{/t}</label></h2>
107         <table summary="" style="width:100%">
108                 <tr>
109                         <td>
110                                 {$divlistShares}
111                                 <input type="text" size=15 {$gotoShareACL} name="ShareUser" value="%u" title="{t}User used to connect to the share{/t}">@
112                                 <select name="gotoShareSelection" {$gotoShareACL} title="{t}Select a share{/t}">
113                                         {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
114                                         <option disabled>&nbsp;</option>
115                                 </select>
116                                 :
117                                 <input type="text" size=15 {$gotoShareACL} name="gotoShareMountPoint" value="%H/Netzlaufwerke/%L/%S"
118                   title="{t}Mount path{/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 style="vertical-align:top">
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%; vertical-align:top">
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" multiple>
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" {$gotoPrinterToggleACL} name="gotoPrinterEdit"    value="{t}Toggle admin{/t}">
183 {if $is_group }
184                 <input type="submit" {$gotoPrinterToggleACL} name="gotoPrinterDefault"    value="{t}Toggle default{/t}" disabled>
185 {else}
186                 <input type="submit" {$gotoPrinterToggleACL} name="gotoPrinterDefault"    value="{t}Toggle default{/t}">
187 {/if}
188             </td>
189         </tr>
190     </table>
191    </td>
192   </tr>
193 </table>
194 <script language="JavaScript" type="text/javascript">
195   <!-- // First input field on page
196   document.mainform.useProfile.focus();
197   -->
198 </script>
199 {/if}