Code

Updated envrioment template
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Nov 2007 13:50:02 +0000 (13:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Nov 2007 13:50:02 +0000 (13:50 +0000)
Allow resolutions options even if no kiosk server was found.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7876 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/environment.tpl

index bbaa863bda9dce7c4cf14021fa2a5c555bd19f35..ba6c35623c42e15c68c0a74b3db49cd397f468fd 100644 (file)
@@ -80,9 +80,8 @@
   </td>
   <td style="vertical-align:top">
 
-{if $kiosk_enabled}
-
-   <table summary="{t}Kiosk profile settings{/t}">
+  <table summary="{t}Kiosk profile settings{/t}">
+{if $kiosk_enabled }
     <tr>
      <td colwidth=2>
       <label for="kiosk_server">{t}Kiosk profile{/t}</label>
       {/if}
      </td>
     </tr>
+ {else}
+       <tr>
+               <td>
+                       <label for="dummy1">{t}Kiosk profile{/t}</label>
+               </td>
+               <td>
+                       <select name="dummy1" disabled id="dummy1"><option disabled>&nbsp;</option></select>
+                       <input type="button" disabled name="dummy2" value="{t}Manage{/t}">
+               </td>
+       </tr>
+{/if}
     <tr>
      <td colspan=2>
       <br>
     </tr>
    </table> 
 
- {else}
-       <table summary="{t}Kiosk profile settings{/t}">
-               <tr>
-                       <td>
-                               <label for="dummy1">{t}Kiosk profile{/t}</label>
-                       </td>
-                       <td>
-                               <select name="dummy1" disabled id="dummy1"><option disabled>&nbsp;</option></select>
-                               <input type="button" disabled name="dummy2" value="{t}Manage{/t}">
-                       </td>
-               </tr>
-               <tr>
-                       <td colspan=2>
-                               <br>
-                               <input type="checkbox" disabled name="dummy3" id="dummy3">
-                               <label for="dummy3">{t}Resolution changeable during session{/t}</label>
-                               </td>
-               </tr>
-               <tr>
-                       <td>
-                               <label for="dummy4">{t}Resolution{/t}</label>
-                       </td>
-                       <td>
-                               <select name="dummy4" id="dummy4" disabled>
-                               <option disabled>&nbsp;</option>
-                               </select>
-                       </td>
-               </tr>
-       </table>
-{/if}