Code

Added option to setup, to enable compressed output of html stuff
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Sep 2007 09:57:26 +0000 (09:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Sep 2007 09:57:26 +0000 (09:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7423 594d385d-05f5-0310-b6e9-bd551577e9d8

contrib/gosa.conf
setup/class_setupStep_Config1.inc
setup/setup_config1.tpl

index 58eac7530c29ad09ab57e18e4448378ecb81ea7a..a609faee2a7fbdba1bd4c30d28a47990ca77c660 100644 (file)
                save_filter="true"
 {else}
                save_filter="false"
+{/if}
+{if $cv.compressed}
+               compressed="true"
+{else}
+               compressed="false"
 {/if}
                lang="{$cv.lang_selected}"
                theme="{$cv.theme}"
index 71289795430413cee6843706178893f32040ed15..1087b6a2b18af2da7ebc52cb32659aba184de84c 100644 (file)
@@ -29,6 +29,7 @@ class Step_Config1 extends setup_step
   var $uidbase    = 1000;
   var $krbsasl    = FALSE;
   var $strict     = TRUE;
+  var $compressed = TRUE;
 
   var $header_image = "images/ldapserver.png";
   var $account_expiration  =FALSE;
@@ -54,7 +55,7 @@ class Step_Config1 extends setup_step
 
   var $crypt_methods  = array();
 
-  var $attributes = array("peopleou","groupou","peopledn","uidbase","encryption","theme","krbsasl",
+  var $attributes = array("compressed","peopleou","groupou","peopledn","uidbase","encryption","theme","krbsasl",
                           "base_hook","base_hook_active","account_expiration","strict","include_personal_title");
 
   function Step_Config1()
index c6072ccfb82a1336810cc6d9e7d6f63432143c82..d041ae35f9923bb66a3c66af35e36af6db844cf6 100644 (file)
         </div>
     </div>
 
+    <p><b>{t}Apache{/t}</b></p>
+
+    <div class='step4_container'>
+        <div class='step4_name'>
+            {t}Compress output send to browser{/t}
+        </div>
+        <div class='step4_value'>
+            <select name="compressed">
+                {html_options options=$bool selected=$compressed}
+            </select>
+        </div>
+    </div>
     <p><b>{t}People and group storage{/t}</b></p>
     <div class='step4_container'>
         <div class='step4_name'>