Code

Changed ACL handling
[gosa.git] / plugins / personal / environment / environment.tpl
index 3802b2442851bc52cfc55e0b199eabd8466336fc..05786327bab3fee0ad63bdfe6987ffeb8b26723a 100644 (file)
@@ -38,7 +38,7 @@
                                                        <tr>
                                                                <td colspan=2>  
                                                                        <input type="checkbox" name="gotoProfileFlag_C" value="C" 
-                                                                               id="gotoProfileFlag_C" {$gotoProfileFlag_CACL} {$gotoProfileFlag_CCHK}>&nbsp;
+                                                                               id="gotoProfileFlag_C" {$gotoProfileACL} {$gotoProfileFlag_CCHK}>&nbsp;
                                                                        <LABEL for="gotoProfileFlag_C">{t}Cache profile localy{/t}</LABEL>
                                                                </td>
                                                        </tr>
@@ -55,7 +55,7 @@
                                        </td>
                                        <td>
                                                <select name="gotoKioskProfile" {$gotoKioskProfileACL} id="gotoKioskProfile">
-                        {html_options values=$gotoKioskProfiles output=$gotoKioskProfiles selected=$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>
@@ -67,7 +67,7 @@
                                                <br>
                                        </td>
                                        <td>
-                                               <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" style="width:100px;" 
+                                               <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" size="6"
                                                        {$gotoProfileQuotaACL} id="gotoProfileQuota">{t}MB{/t}
                                                <br>
                                                <br>
@@ -75,7 +75,7 @@
                                </tr>
                                <tr>
                                        <td colspan=2>
-                                               <input type="checkbox" name="gotoProfileFlag_L" id="gotoProfileFlag_L" value="L" {$gotoProfileFlagsACL} {$gotoProfileFlag_LCHK}>
+                                               <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>
   <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="">
+       <table summary="" style="width:100%">
                <tr>
                        <td>
-                       <select style="width:350px;" name="gotoShare" multiple size=4 {$gotoShareACL} id="gotoShare">
+                       <select style="width:100%;" name="gotoShare" multiple size=5 {$gotoShareACL} id="gotoShare">
        {html_options values=$gotoShareKeys output=$gotoShares}
        <option disabled>&nbsp;</option>
                                </select>
    </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}">
+       <table summary="{t}Logon script management{/t}" style="width:100%">
                <tr>
                        <td>
-                       <select style="width:350px;" name="gotoLogonScript" multiple size=4 {$gotoLogonScriptACL} id="gotoLogonScript">
+                       <select style="width:100%;" name="gotoLogonScript" multiple size=5 {$gotoLogonScriptACL} id="gotoLogonScript">
        {html_options values=$gotoLogonScriptKeys output=$gotoLogonScripts }
        <option disabled>&nbsp;</option>
                                </select>
 
 <table summary="{t}Environment managment settings{/t}" width="100%">
   <tr>
-   <td style="border-right:1px solid #B0B0B0">
+   <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 summary="{t}Hotplug device settings{/t}">
+       <table style="width:100%" summary="{t}Hotplug device settings{/t}">
                <tr>
                        <td>
-                               <select name="gotoHotplugDevice" {$gotoHotplugDeviceACL} size=4  style="width:350px;" id="gotoHotplugDevice">
+                               <select name="gotoHotplugDevice" {$gotoHotplugDeviceACL} size=5  style="width:100%;" id="gotoHotplugDevice">
        {html_options values=$gotoHotplugDeviceKeys output=$gotoHotplugDevices}
        <option disabled>&nbsp;</option>
                        </td>
    </td>
    <td>
     <h2><img alt="" src="images/select_printer.png" align="middle">&nbsp;<LABEL for="gotoPrinter">{t}Printer{/t}</LABEL></h2>
-    <table summary="{t}Printer settings{/t}">
+    <table style="width:100%" summary="{t}Printer settings{/t}">
        <tr>
            <td>
-               <select style="width:350px;" name="gotoPrinter" multiple size=4 {$gotoPrinterACL} id="gotoPrinter">
-               {html_options values=$gotoPrinterKeys output=$gotoPrinters}
+               <select style="width:100%;" name="gotoPrinterSel" multiple size=5 {$gotoPrinterACL} id="gotoPrinter">
+               {html_options values=$gotoPrinterKeys output=$gotoPrinter}
                <option disabled>&nbsp;</option>
                </select>
                <br>
    </td>
   </tr>
 </table>
-
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  document.mainform.useProfile.focus();
+  -->
+</script>
 {/if}
+