From: hickert Date: Wed, 22 Aug 2007 10:28:18 +0000 (+0000) Subject: Added gotomasses to gosa.conf X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=28fbf482ba804dcca7362ae73370d0a3ce7b0e80;p=gosa.git Added gotomasses to gosa.conf git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7107 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/contrib/gosa.conf b/contrib/gosa.conf index 3bbcdd2e0..5da552ad4 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -95,11 +95,17 @@ + path="plugins/addons/notifications" /> +{if $cv.optional.gotomasses_active} + +{else} +{/if} + diff --git a/setup/class_setupStep_Config3.inc b/setup/class_setupStep_Config3.inc index 8ed1d6df4..9148868ef 100644 --- a/setup/class_setupStep_Config3.inc +++ b/setup/class_setupStep_Config3.inc @@ -53,6 +53,9 @@ class Step_Config3 extends setup_step "kioskpath" => "/var/spool/kiosk", "kioskpath_active" => FALSE, + "gotomasses_file" => "/etc/gosa/gotomasses", + "gotomasses_active" => FALSE, + "noprimarygroup" => FALSE); var $attributes = array("errorlvl"); @@ -136,6 +139,15 @@ class Step_Config3 extends setup_step $this->optional['kioskpath_active'] = FALSE; } + if(isset($_POST['gotomasses_active'])){ + $this->optional['gotomasses_active'] = TRUE; + if(isset($_POST['gotomasses_file'])){ + $this->optional['gotomasses_file'] = get_post('gotomasses_file'); + } + }else{ + $this->optional['gotomasses_active'] = FALSE; + } + if(isset($_POST['auto_network_hook_active'])){ $this->optional['auto_network_hook_active'] = TRUE; if(isset($_POST['auto_network_hook'])){ diff --git a/setup/setup_config3.tpl b/setup/setup_config3.tpl index 4f71c8937..47c2a4230 100644 --- a/setup/setup_config3.tpl +++ b/setup/setup_config3.tpl @@ -80,6 +80,24 @@ +
+
+ {t}Enable system deployment{/t} +
+
+ {if $optional.gotomasses_active == FALSE} + + + {else} + + + {/if} +
+
+