From: hickert Date: Wed, 22 Aug 2007 10:25:55 +0000 (+0000) Subject: Added gotomasses option to setup step3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=52907cd692f648b50b95dcd8155664509588823f;p=gosa.git Added gotomasses option to setup step3 git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7106 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/contrib/gosa.conf b/contrib/gosa.conf index 82abc69a1..c40c1f427 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -93,10 +93,15 @@ --> +{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} +
+
+