Code

Changed ACL handling
[gosa.git] / plugins / personal / environment / environment.tpl
index ce678dc12b0b2b03bdda533b62d0e4709ad9cc1b..05786327bab3fee0ad63bdfe6987ffeb8b26723a 100644 (file)
        {t}The environment extension is currently disabled.{/t}
 {else}
 <input type="hidden" name="iamposted" value="1">
-<table summary="" width="100%">
-       <tr>
-               <td valign="top" width="50%">
-                       <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Profiles{/t}</h2>
-                       <table summary="">
+
+<h2><img alt="" src="images/fai_profile.png" align="middle">&nbsp;{t}Profiles{/t}</h2>
+<table summary="{t}Environment managment settings{/t}" width="100%">
+  <tr>
+   <td style="width:50%;border-right:1px solid #B0B0B0;vertical-align:top;">
+                       <table summary="{t}Profile managment{/t}">
                                <tr>
-                                       <td>
-                                               <input type="checkbox" value="1" {$useProfileCHK} name="useProfile" {$useProfileACL} 
+                                       <td style="vertical-align:top">
+                                               <input type="checkbox" value="1" {$useProfileCHK} name="useProfile" {$useProfileACL} id="useProfile"
                                                                        onclick="changeState('gotoProfileServer');changeState('gotoProfileFlag_C');">
                                        </td>
                                        <td valign="top">
-                                               {t}Use profile managment{/t}
+                                               <LABEL for="useProfile">{t}Use profile managment{/t}</LABEL>
                                        </td>
                                </tr>
                                <tr>
                                        <td>&nbsp;
                                        </td>
                                        <td>
-                                               <table summary="">
+                                               <table summary="{t}Profile server managment{/t}">
                                                        <tr>
                                                                <td>    
-                                                                       {t}Profil server{/t}
+                                                                       <LABEL for="gotoProfileServer">{t}Profil path{/t}</LABEL>
                                                                </td>
                                                                <td>
-                                                                       <select style="width:350px;" name="gotoProfileServer" {$gotoProfileServerACL} id="gotoProfileServer">
-                                                                               {html_options values=$gotoProfileServers output=$gotoProfileServers selected=$gotoProfileServer}
+                                                                       <select id="gotoProfileServer" 
+                                                                                       name="gotoProfileServer" {$gotoProfileServerACL} id="gotoProfileServer">
+                                                                               {html_options values=$gotoProfileServerKeys output=$gotoProfileServers selected=$gotoProfileServer}
                                                                                <option disabled>&nbsp;</option>
                                                                        </select>
                                                                </td>
                                                        </tr>
                                                        <tr>
-                                                               <td>    
-                                                                       {t}Use local caching{/t}
-                                                               </td>
-                                                               <td>
-                                                                       <input type="checkbox" name="gotoProfileFlag_C" value="C" id="gotoProfileFlag_C" {$gotoProfileFlagsACL} {$gotoProfileFlag_CCHK}>
+                                                               <td colspan=2>  
+                                                                       <input type="checkbox" name="gotoProfileFlag_C" value="C" 
+                                                                               id="gotoProfileFlag_C" {$gotoProfileACL} {$gotoProfileFlag_CCHK}>&nbsp;
+                                                                       <LABEL for="gotoProfileFlag_C">{t}Cache profile localy{/t}</LABEL>
                                                                </td>
                                                        </tr>
                                                </table>
                                        </td>
                                </tr>
                                </table>
-                               <table>
-                               <tr>
-                                       <td>{t}Quota{/t} 
-                                       </td>
-                                       <td>
-                                               <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" {$gotoProfileQuotaACL}>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td>
-                                               {t}Resolution{/t}
-                                       </td>
-                                       <td>
-                                               <select name="gotoXResolution" {$gotoXResolutionACL}>
-                               {html_options values=$gotoXResolutions output=$gotoXResolutions selected=$gotoXResolution}
-                            <option disabled>&nbsp;</option>
-                       </select>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td>
-                                               <input type="checkbox" name="gotoProfileFlag_L" value="L" {$gotoProfileFlagsACL} {$gotoProfileFlag_LCHK}>
-                                       </td>
-                                       <td>
-                                               {t}Resolution changeable on runtime {/t}
-                                       </td>
-                               </tr>
-                       </table>
-
-                       <p class="seperator">&nbsp;</p>
-            <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Kiosk profile{/t}</h2>     
-                       <table summary="">
+               </td>
+               <td style="vertical-align:top">
+                       <table summary="{t}Kiosk profile settings{/t}">
                                <tr>
                                        <td>
-                                               {t}Kiosk profile{/t}    
+                                               <LABEL for="gotoKioskProfile">{t}Kiosk profile{/t}</LABEL>
                                        </td>
                                        <td>
-                                               <select name="gotoKioskProfile" {$gotoKioskProfileACL}>
-                        {html_options values=$gotoKioskProfiles output=$gotoKioskProfiles selected=$gotoKioskProfile}
-                        <option disabled>&nbsp;</option>
+                                               <select name="gotoKioskProfile" {$gotoKioskProfileACL} id="gotoKioskProfile">
+                        {html_options values=$gotoKioskProfileKeys output=$gotoKioskProfiles selected=$gotoKioskProfile}
+                        <option disabled>&nbsp;</option></select>&nbsp;
+                                               <input type="submit" name="KioskManagementDialog" value="{t}Manage{/t}" {$gotoKioskProfileACL}>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
-                                               &nbsp;
-                                       </td>
-                                       <td>
-                                               <input type="submit" name="KioskManagementDialog" value="{t}Profile management{/t}" {$gotoKioskProfileACL}>
+                                               <LABEL for="gotoProfileQuota">{t}Quota{/t}</LABEL> 
+                                               <br>
+                                               <br>
                                        </td>
-                               </tr>
-                       </table>        
-                       <p class="seperator">&nbsp;</p>
-                       <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Logon scripts{/t}</h2>
-                       <table summary="">
-                               <tr>
                                        <td>
-                                       <select style="width:350px;" name="gotoLogonScript" multiple size=4 {$gotoLogonScriptACL}>
-                        {html_options values=$gotoLogonScriptKeys output=$gotoLogonScripts }
-                        <option disabled>&nbsp;</option>
-                                               </select>
-                       
+                                               <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" size="6"
+                                                       {$gotoProfileQuotaACL} id="gotoProfileQuota">{t}MB{/t}
+                                               <br>
                                                <br>
-                                               <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptNew"            value="{t}Add{/t}">
-                                               <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptDel"    value="{t}Delete{/t}"> 
-                                               <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptEdit"   value="{t}Edit{/t}"> 
                                        </td>
                                </tr>
-                       </table>        
-               </td>
-               <td style="border-left: 1px solid rgb(160, 160, 160);"  valign="top">
-                       <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Attach share{/t}</h2>
-                       <table summary="">
                                <tr>
-                                       <td>
-                                       <select style="width:350px;" name="gotoShare" multiple size=4 {$gotoShareACL}>
-                        {html_options values=$gotoShareKeys output=$gotoShares}
-                        <option disabled>&nbsp;</option>
-                                               </select>
-                       
-                                               <br>
-                                                       
-                                       <select name="gotoShareSelection" {$gotoShareACL}>
-                        {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
-                        <option disabled>&nbsp;</option>
-                                               </select>
-                                               <input type="text"       {$gotoShareACL} name="gotoShareMountPoint"     value="">
-                                               <input type="submit" {$gotoShareACL} name="gotoShareAdd"                value="+"> 
-                                               <input type="submit" {$gotoShareACL} name="gotoShareDel"                value="-"> 
+                                       <td colspan=2>
+                                               <input type="checkbox" name="gotoProfileFlag_L" id="gotoProfileFlag_L" value="L" {$gotoProfileACL} {$gotoProfileFlag_LCHK}>
+                                               <LABEL for="gotoProfileFlag_L">{t}Resolution changeable on runtime{/t}</LABEL>
                                        </td>
                                </tr>
-                       </table>
-                       <p class="seperator">&nbsp;</p>
-            <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Hotplug devices{/t}</h2>   
-                       <table summary="">
                                <tr>
                                        <td>
-                                               <select name="gotoHotplugDevice" {$gotoHotplugDeviceACL} size=4  style="width:350px;">
-                        {html_options values=$gotoHotplugDeviceKeys output=$gotoHotplugDevices}
-                        <option disabled>&nbsp;</option>
+                                               <LABEL for="gotoXResolution">{t}Resolution{/t}</LABEL>
                                        </td>
-                               </tr>
-                               <tr>
                                        <td>
-                                               <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceNew" value="{t}New{/t}">
-                                               <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceUse" value="{t}Existing{/t}">
-                                               <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceDel" value="{t}Delete{/t}">
+                                               <select name="gotoXResolution" {$gotoXResolutionACL} id="gotoXResolution">
+                               {html_options values=$gotoXResolutions output=$gotoXResolutions selected=$gotoXResolution}
+                            <option disabled>&nbsp;</option>
+                       </select>
                                        </td>
                                </tr>
-                       </table>
-                       <p class="seperator">&nbsp;</p>
-            <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Printer{/t}</h2>
-            <table summary="">
-                <tr>
-                    <td>
-                        <select style="width:350px;" name="gotoPrinter" multiple size=4 {$gotoPrinterACL}>
-                        {html_options values=$gotoPrinterKeys output=$gotoPrinters}
-                        <option disabled>&nbsp;</option>
-                        </select>
-
-                        <br>
-                        <input type="submit" {$gotoPrinterACL} name="gotoPrinterAdd"     value="{t}Add{/t}">
-                        <input type="submit" {$gotoPrinterACL} name="gotoPrinterDel"     value="{t}Delete{/t}">
-                        <input type="submit" {$gotoPrinterACL} name="gotoPrinterEdit"   value="{t}Admin Toggle{/t}">
-                    </td>
-                </tr>
-            </table>
-               </td>
-       </tr>
-</table>       
-       
-               
+                       </table>        
+   </td>
+  </tr>
+</table>
 
+<p class="seperator">&nbsp;</p>
 
+<table summary="{t}Environment managment settings{/t}" width="100%">
+  <tr>
+   <td style="width:50%;border-right:1px solid #B0B0B0">
+       <h2><img alt="" src="images/fai_partitionTable.png" align="middle">&nbsp;<LABEL for="gotoShare">{t}Shares{/t}</LABEL></h2>
+       <table summary="" style="width:100%">
+               <tr>
+                       <td>
+                       <select style="width:100%;" name="gotoShare" multiple size=5 {$gotoShareACL} id="gotoShare">
+       {html_options values=$gotoShareKeys output=$gotoShares}
+       <option disabled>&nbsp;</option>
+                               </select>
+                               <br>
+                       <select name="gotoShareSelection" {$gotoShareACL}>
+       {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
+       <option disabled>&nbsp;</option>
+                               </select>
+                               <input type="text" size=15 {$gotoShareACL} name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
+                               <input type="submit" {$gotoShareACL} name="gotoShareAdd" value="{t}Add{/t}"> 
+                               <input type="submit" {$gotoShareACL} name="gotoShareDel" value="{t}Remove{/t}"> 
+                       </td>
+               </tr>
+       </table>
+   </td>
+   <td>
+       <h2><img alt="" src="images/fai_script.png" align="middle">&nbsp;<LABEL for="gotoLogonScript">{t}Logon scripts{/t}</LABEL></h2>
+       <table summary="{t}Logon script management{/t}" style="width:100%">
+               <tr>
+                       <td>
+                       <select style="width:100%;" name="gotoLogonScript" multiple size=5 {$gotoLogonScriptACL} id="gotoLogonScript">
+       {html_options values=$gotoLogonScriptKeys output=$gotoLogonScripts }
+       <option disabled>&nbsp;</option>
+                               </select>
        
+                               <br>
+                               <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptNew"            value="{t}Add{/t}">
+                               <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptDel"    value="{t}Delete{/t}"> 
+                               <input type="submit" {$gotoLogonScriptACL} name="gotoLogonScriptEdit"   value="{t}Edit{/t}"> 
+                       </td>
+               </tr>
+       </table>        
+   </td>
+  </tr>
+</table>
+
+<p class="seperator">&nbsp;</p>
 
+<table summary="{t}Environment managment settings{/t}" width="100%">
+  <tr>
+   <td style="border-right:1px solid #B0B0B0; width:50%">
+       <h2><img alt="" src="images/hotplug.png" align="middle">&nbsp;<LABEL for="gotoHotplugDevice">{t}Hotplug devices{/t}</LABEL></h2>        
+       <table style="width:100%" summary="{t}Hotplug device settings{/t}">
+               <tr>
+                       <td>
+                               <select name="gotoHotplugDevice" {$gotoHotplugDeviceACL} size=5  style="width:100%;" id="gotoHotplugDevice">
+       {html_options values=$gotoHotplugDeviceKeys output=$gotoHotplugDevices}
+       <option disabled>&nbsp;</option>
+                       </td>
+               </tr>
+               <tr>
+                       <td>
+                               <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceNew" value="{t}New{/t}">
+                               <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceUse" value="{t}Existing{/t}">
+                               <input type="submit" {$gotoHotplugDeviceACL} name="gotoHotplugDeviceDel" value="{t}Delete{/t}">
+                       </td>
+               </tr>
+       </table>
+   </td>
+   <td>
+    <h2><img alt="" src="images/select_printer.png" align="middle">&nbsp;<LABEL for="gotoPrinter">{t}Printer{/t}</LABEL></h2>
+    <table style="width:100%" summary="{t}Printer settings{/t}">
+       <tr>
+           <td>
+               <select style="width:100%;" name="gotoPrinterSel" multiple size=5 {$gotoPrinterACL} id="gotoPrinter">
+               {html_options values=$gotoPrinterKeys output=$gotoPrinter}
+               <option disabled>&nbsp;</option>
+               </select>
+               <br>
+               <input type="submit" {$gotoPrinterACL} name="gotoPrinterAdd"     value="{t}Add{/t}">
+               <input type="submit" {$gotoPrinterACL} name="gotoPrinterDel"     value="{t}Delete{/t}">
+               <input type="submit" {$gotoPrinterACL} name="gotoPrinterEdit"    value="{t}Admin Toggle{/t}">
+           </td>
+       </tr>
+    </table>
+   </td>
+  </tr>
+</table>
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  document.mainform.useProfile.focus();
+  -->
+</script>
 {/if}
+