Code

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