From a26e30f68ebeebd69d33547806568a2efb38b84b Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 27 Sep 2007 09:57:26 +0000 Subject: [PATCH] Added option to setup, to enable compressed output of html stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7423 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/gosa.conf | 5 +++++ setup/class_setupStep_Config1.inc | 3 ++- setup/setup_config1.tpl | 12 ++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/contrib/gosa.conf b/contrib/gosa.conf index 58eac7530..a609faee2 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -424,6 +424,11 @@ save_filter="true" {else} save_filter="false" +{/if} +{if $cv.compressed} + compressed="true" +{else} + compressed="false" {/if} lang="{$cv.lang_selected}" theme="{$cv.theme}" diff --git a/setup/class_setupStep_Config1.inc b/setup/class_setupStep_Config1.inc index 712897954..1087b6a2b 100644 --- a/setup/class_setupStep_Config1.inc +++ b/setup/class_setupStep_Config1.inc @@ -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() diff --git a/setup/setup_config1.tpl b/setup/setup_config1.tpl index c6072ccfb..d041ae35f 100644 --- a/setup/setup_config1.tpl +++ b/setup/setup_config1.tpl @@ -12,6 +12,18 @@ +

{t}Apache{/t}

+ +
+
+ {t}Compress output send to browser{/t} +
+
+ +
+

{t}People and group storage{/t}

-- 2.30.2