Code

Updated ACL && Priority
[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}
7 <input type="hidden" name="iamposted" value="1">
9 <h2> 
10  <img class="center" alt="" src="images/fai_profile.png" align="middle" /> 
11  {t}Profiles{/t}
12 </h2>
14 <table summary="{t}Environment managment settings{/t}" width="100%">
15  <tr>
16   <td style="width:50%;border-right:1px solid #B0B0B0;vertical-align:top;">
17    <table summary="{t}Profile managment{/t}">
18     <tr>
19      <td style="vertical-align:top">
20 {render acl=$gotoProfileACL}
21       <input class="center" type="checkbox" value="1" {$useProfileCHK} name="useProfile" id="useProfile" onclick="changeState('gotoProfileServer');changeState('gotoProfileFlagC');changeState('gotoProfileQuota');">
22 {/render}
23      </td>
24      <td style="vertical-align:middle;">
25       <label for="useProfile">{t}Use profile managment{/t}</label>
26      </td>
27     </tr>
28     <tr>
29      <td>&nbsp;
30      </td>
31      <td>
32       <table summary="{t}Profile server managment{/t}">
33        <tr>
34         <td> 
35          <label for="gotoProfileServer">{t}Profil path{/t}</label>
36         </td>
37         <td>
38 {render acl=$gotoProfileServerACL}
39          <select id="gotoProfileServer" name="gotoProfileServer">
40           {html_options values=$gotoProfileServerKeys output=$gotoProfileServers selected=$gotoProfileServer}
41           <option disabled>&nbsp;</option>
42          </select>
43 {/render}
44         </td>
45        </tr>
46        <tr>
47         <td>
48          <label for="gotoProfileQuota">{t}Profil quota{/t}</label> 
49          <br>
50          <br>
51         </td>
52         <td>
53 {render acl=$gotoProfileQuotaACL}
54          <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" size="6" id="gotoProfileQuota">{t}MB{/t}
55 {/render}
56          <br>
57          <br>
58         </td>
59        </tr>
60        <tr>
61         <td colspan=2> 
62 {render acl=$gotoProfileFlagCACL}
63          <input class="center" type="checkbox" name="gotoProfileFlagC" value="C" {$gotoProfileFlagCCHK} id="gotoProfileFlagC">&nbsp;
64 {/render}
65          <label for="gotoProfileFlagC">{t}Cache profile localy{/t}</label>
66         </td>
67        </tr>
68       </table>
69      </td>
70     </tr>
71    </table>
72   </td>
73   <td style="vertical-align:top">
74    <table summary="{t}Kiosk profile settings{/t}">
75     <tr>
76      <td>
77       <label for="gotoKioskProfile">{t}Kiosk profile{/t}</label>
78      </td>
79      <td>
80 {render acl=$gotoKioskProfileACL}
81       <select name="gotoKioskProfile" id="gotoKioskProfile">
82        {html_options values=$gotoKioskProfileKeys output=$gotoKioskProfiles selected=$gotoKioskProfile}
83        <option disabled>&nbsp;</option>
84       </select>&nbsp;
85 {/render}
86 {render acl=$gotoKioskProfileACL}
87       <input type="submit" name="KioskManagementDialog" value="{t}Manage{/t}">
88 {/render}
89      </td>
90     </tr>
91     <tr>
92      <td colspan=2>
93       <br>
94 {render acl=$gotoProfileFlagLACL}
95       <input type="checkbox" name="gotoProfileFlagL" id="gotoProfileFlagL" value="L"  {$gotoProfileFlagLCHK}>
96 {/render}
97       <label for="gotoProfileFlagL">{t}Resolution changeable during session{/t}</label>
98      </td>
99     </tr>
100     <tr>
101      <td>
102       <label for="gotoXResolution">{t}Resolution{/t}</label>
103      </td>
104      <td>
105 {render acl=$gotoXResolutionACL}
106       <select name="gotoXResolution" id="gotoXResolution">
107        {html_options values=$gotoXResolutionKeys output=$gotoXResolutions selected=$gotoXResolution}
108       <option disabled>&nbsp;</option>
109       </select>
110 {/render}
111      </td>
112     </tr>
113    </table> 
114   </td>
115  </tr>
116 </table>
118 <p class="seperator">&nbsp;</p>
120 <table summary="{t}Environment managment settings{/t}" width="100%">
121  <tr>
122   <td style="width:50%;border-right:1px solid #B0B0B0">
123    <h2>
124     <img class="center" alt="" src="images/fai_partitionTable.png" align="middle" />&nbsp;
125     <label for="gotoShare">{t}Shares{/t}</label>
126    </h2>
127    <table summary="" style="width:100%">
128     <tr>
129      <td>
130         
131 {render acl=$gotoShareACL}
132       {$divlistShares}
133 {/render}
134 {render acl=$gotoShareACL}
135       <input type="text" size=15 name="ShareUser" value="%u" title="{t}User used to connect to the share{/t}">@
136 {/render}
137 {render acl=$gotoShareACL}
138       <select name="gotoShareSelection" title="{t}Select a share{/t}">
139        {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
140        <option disabled>&nbsp;</option>
141       </select>
142 {/render}
143       :
144 {render acl=$gotoShareACL}
145       <input type="text" size=15 name="gotoShareMountPoint" value="%H/Netzlaufwerke/%L/%S"
146       title="{t}Mount path{/t}">
147 {/render}
148 {render acl=$gotoShareACL}
149       <input type="submit" name="gotoShareAdd" value="{t}Add{/t}"> 
150 {/render}
151       <!--   <input type="submit" name="gotoShareDel" value="{t}Remove{/t}"> -->
152      </td>
153     </tr>
154    </table>
155   </td>
156   <td style="vertical-align:top">
157    <h2>
158     <img class="center" alt="" src="images/fai_script.png" align="middle" />&nbsp;
159     <label for="gotoLogonScript">{t}Logon scripts{/t}</label>
160    </h2>
161    <table summary="{t}Logon script management{/t}" style="width:100%">
162     <tr>
163      <td>
164 {render acl=$gotoLogonScriptACL}
165       <select style="width:100%;" name="gotoLogonScript" multiple size=5 id="gotoLogonScript">
166        {html_options values=$gotoLogonScriptKeys output=$gotoLogonScripts }
167        <option disabled>&nbsp;</option>
168       </select>
169 {/render}
171       <br>
172 {render acl=$gotoLogonScriptACL}
173       <input type="submit" name="gotoLogonScriptNew" value="{t}Add{/t}">
174 {/render}
175 {render acl=$gotoLogonScriptACL}
176       <input type="submit" name="gotoLogonScriptEdit"  value="{t}Edit{/t}">
177 {/render}
178 {render acl=$gotoLogonScriptACL}
179       <input type="submit" name="gotoLogonScriptDel"  value="{t}Delete{/t}" >
180 {/render}
181      </td>
182     </tr>
183    </table> 
184   </td>
185  </tr>
186 </table>
188 <p class="seperator">&nbsp;</p>
190 <table summary="{t}Environment managment settings{/t}" width="100%">
191  <tr>
192   <td style="border-right:1px solid #B0B0B0; width:50%; vertical-align:top">
193    <h2>
194     <img alt="" src="images/hotplug.png" align="middle" class="center" />&nbsp;
195     <label for="gotoHotplugDevice">{t}Hotplug devices{/t}</label>
196    </h2> 
197    <table style="width:100%" summary="{t}Hotplug device settings{/t}">
198     <tr>
199      <td>
200 {render acl=$gotoHotplugDeviceACL}
201       <select name="gotoHotplugDevice[]" size=5  style="width:100%;" id="gotoHotplugDevice" multiple>
202        {html_options values=$gotoHotplugDeviceKeys output=$gotoHotplugDevices}
203        <option disabled>&nbsp;</option>
204       </select>
205 {/render}
206      </td>
207     </tr>
208     <tr>
209      <td>
210 {render acl=$gotoHotplugDeviceACL}
211       <input type="submit" name="gotoHotplugDeviceNew" value="{t}New{/t}">
212 {/render}
213 {render acl=$gotoHotplugDeviceACL}
214       <input type="submit" name="gotoHotplugDeviceUse" value="{t}Existing{/t}">
215 {/render}
216 {render acl=$gotoHotplugDeviceACL}
217       <input type="submit" name="gotoHotplugDeviceDel" value="{t}Delete{/t}"
218       {if !$gotoHotplugDevices} disabled {/if}>
219 {/render}
220      </td>
221     </tr>
222    </table>
223   </td>
224   <td>
225    <h2>
226     <img alt="" src="images/select_printer.png" align="middle" class="center" />&nbsp;
227     <label for="gotoPrinter">{t}Printer{/t}</label>
228    </h2>
229    <table style="width:100%" summary="{t}Printer settings{/t}">
230     <tr>
231      <td>
232 {render acl=$gotoPrinterACL}
233       <select style="width:100%;" name="gotoPrinterSel[]" multiple size=5 id="gotoPrinter">
234        {html_options values=$gotoPrinterKeys output=$gotoPrinter}
235        <option disabled>&nbsp;</option>
236       </select>
237 {/render}
238       <br>
239 {render acl=$gotoPrinterACL}
240       <input type="submit"  name="gotoPrinterAdd"     value="{t}Add{/t}">
241 {/render}
242 {render acl=$gotoPrinterACL}
243       <input type="submit" name="gotoPrinterDel"     value="{t}Delete{/t}" {if !$gotoPrinter } disabled {/if}>
244 {/render}
245 {render acl=$gotoPrinterACL}
246       <input type="submit" name="gotoPrinterEdit"    value="{t}Toggle admin{/t}" {if !$gotoPrinter } disabled {/if}>
247 {/render}
248 {render acl=$gosaDefaultPrinterACL}
249       <input type="submit" name="gotoPrinterDefault"    value="{t}Toggle default{/t}" {if !$gotoPrinter | $is_group} disabled {/if}>
250 {/render}
251      </td>
252     </tr>
253    </table>
254   </td>
255  </tr>
256 </table>
257 <script language="JavaScript" type="text/javascript">
258 <!-- // First input field on page
259 document.mainform.useProfile.focus();
260 -->
261 </script>
262 {/if}