Code

commit
[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');">
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 colspan=2>  
40                                                                         <input class="center" type="checkbox" name="gotoProfileFlag_C" value="C" 
41                                                                                 id="gotoProfileFlag_C" {$gotoProfileFlagsACL}>&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" 
79                                                         {if $gotoProfileFlagsACL=="disabled" || $gotoProfileFlag_LCHK=="disabled"}
80                                                                 disabled 
81                                                         {/if}>
82                                                 <label for="gotoProfileFlag_L">{t}Resolution changeable on runtime{/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=$gotoXResolutions 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                         <select style="width:100%;" name="gotoShare" multiple size=5 {$gotoShareACL} id="gotoShare">
111         {html_options values=$gotoShareKeys output=$gotoShares}
112         <option disabled>&nbsp;</option>
113                                 </select>
114                                 <br>
115                         <select name="gotoShareSelection" {$gotoShareACL}>
116         {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
117         <option disabled>&nbsp;</option>
118                                 </select>
119                                 <input type="text" size=15 {$gotoShareACL} name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
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>
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}