Code

Closes #292 Updated template to allow usage of checkboxes for resolution also when...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Dec 2007 09:08:04 +0000 (09:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Dec 2007 09:08:04 +0000 (09:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7991 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/environment.tpl

index fbc7c876f59cd9a302864ccf7fcdacc66f3fd84c..ee54ada144f4737f3d533b93938717a94c117cdb 100644 (file)
@@ -61,9 +61,8 @@
                </td>
                <td style="vertical-align:top">
 
-                       {if $kiosk_enabled}
-
                        <table summary="{t}Kiosk profile settings{/t}">
+                       {if $kiosk_enabled}
                                <tr>
                                        <td>
                                                <label for="gotoKioskProfile">{t}Kiosk profile{/t}</label>
                                                <input type="submit" name="KioskManagementDialog" value="{t}Manage{/t}" {$gotoKioskProfileACL}>
                                        </td>
                                </tr>
-                               <tr>
-                                       <td colspan=2>
-                                               <br>
-                                               <input type="checkbox" name="gotoProfileFlag_L" id="gotoProfileFlag_L" value="L"  {$gotoProfileFlag_LCHK}
-                                                       {if $gotoProfileFlagsACL=="disabled"}
-                                                               disabled 
-                                                       {/if}>
-                                               <label for="gotoProfileFlag_L">{t}Resolution changeable during session{/t}</label>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td>
-                                               <label for="gotoXResolution">{t}Resolution{/t}</label>
-                                       </td>
-                                       <td>
-                                               <select name="gotoXResolution" {$gotoXResolutionACL} id="gotoXResolution">
-                               {html_options values=$gotoXResolutionKeys output=$gotoXResolutions selected=$gotoXResolution}
-                            <option disabled>&nbsp;</option>
-                       </select>
-                                       </td>
-                               </tr>
-                       </table>        
                        {else}
-                       <table summary="{t}Kiosk profile settings{/t}">
                                <tr>
                                        <td>
                                                <label for="dummy1">{t}Kiosk profile{/t}</label>
                                                <input type="button" disabled name="dummy2" value="{t}Manage{/t}">
                                        </td>
                                </tr>
+                       {/if}
                                <tr>
                                        <td colspan=2>
                                                <br>
-                                               <input type="checkbox" disabled name="dummy3" id="dummy3"> 
-                                               <label for="dummy3">{t}Resolution changeable during session{/t}</label>
+                                               <input type="checkbox" name="gotoProfileFlag_L" id="gotoProfileFlag_L" value="L"  {$gotoProfileFlag_LCHK}
+                                                       {if $gotoProfileFlagsACL=="disabled"}
+                                                               disabled 
+                                                       {/if}>
+                                               <label for="gotoProfileFlag_L">{t}Resolution changeable during session{/t}</label>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
-                                               <label for="dummy4">{t}Resolution{/t}</label>
+                                               <label for="gotoXResolution">{t}Resolution{/t}</label>
                                        </td>
                                        <td>
-                                               <select name="dummy4" id="dummy4" disabled>
+                                               <select name="gotoXResolution" {$gotoXResolutionACL} id="gotoXResolution">
+                               {html_options values=$gotoXResolutionKeys output=$gotoXResolutions selected=$gotoXResolution}
                             <option disabled>&nbsp;</option>
                        </select>
                                        </td>
                                </tr>
                        </table>        
-                       {/if}
    </td>
   </tr>
 </table>