From 65d8680e8c4daee4ce2cb13b0bcf4313bde004db Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 19 Apr 2007 11:17:02 +0000 Subject: [PATCH] Moved copy & paste option git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6122 594d385d-05f5-0310-b6e9-bd551577e9d8 --- setup/class_setupStep_Config2.inc | 7 ++++++- setup/class_setupStep_Config3.inc | 3 +-- setup/setup_config2.tpl | 12 ++++++++++++ setup/setup_config3.tpl | 16 ---------------- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/setup/class_setupStep_Config2.inc b/setup/class_setupStep_Config2.inc index 5023cec51..4f4a9065d 100644 --- a/setup/class_setupStep_Config2.inc +++ b/setup/class_setupStep_Config2.inc @@ -33,7 +33,8 @@ class Step_Config2 extends setup_step var $mail_settings = array("vacationdir" => "/etc/gosa/vacation", "vacationdir_active" => FALSE); - var $generic_settings = array( "wws_ou" => "ou=winstations", + var $generic_settings = array( "enableCopyPaste" => false, + "wws_ou" => "ou=winstations", "wws_ou_active" => FALSE, "snapshot_active" => FALSE, "snapshot_base" => "ou=snapshots,%base%", @@ -113,6 +114,10 @@ class Step_Config2 extends setup_step $this->mail_settings['vacationdir_active'] = FALSE; } + if(isset($_POST['enableCopyPaste'])){ + $this->generic_settings['enableCopyPaste'] = $_POST['enableCopyPaste']; + } + if(isset($_POST['wws_ou_active'])){ $this->generic_settings['wws_ou_active'] = TRUE; if(isset($_POST['wws_ou'])){ diff --git a/setup/class_setupStep_Config3.inc b/setup/class_setupStep_Config3.inc index a71b13c51..1721d561a 100644 --- a/setup/class_setupStep_Config3.inc +++ b/setup/class_setupStep_Config3.inc @@ -23,7 +23,6 @@ class Step_Config3 extends setup_step { var $optional = array( - "enableCopyPaste" => false, "strict_units" => false, "forceglobals" => true, "forcessl" => false, @@ -97,7 +96,7 @@ class Step_Config3 extends setup_step } } - foreach(array("strict_units","noprimarygroup","enableCopyPaste","forceglobals","forcessl","warnssl","compile","debuglevel","session_lifetime","smbhash") as $name){ + foreach(array("strict_units","noprimarygroup","forceglobals","forcessl","warnssl","compile","debuglevel","session_lifetime","smbhash") as $name){ if(isset($_POST[$name])){ $this->optional[$name] = stripslashes($_POST[$name]); } diff --git a/setup/setup_config2.tpl b/setup/setup_config2.tpl index 7e0079264..2e07a049c 100644 --- a/setup/setup_config2.tpl +++ b/setup/setup_config2.tpl @@ -58,6 +58,18 @@

{t}Additional GOsa settings{/t}

+ +
+
+ {t}Enable Copy & Paste{/t} +
+
+ + +
+
diff --git a/setup/setup_config3.tpl b/setup/setup_config3.tpl index 45424af87..56b6e8001 100644 --- a/setup/setup_config3.tpl +++ b/setup/setup_config3.tpl @@ -4,22 +4,6 @@ {t}Optional settings{/t}
-
-
- {t}Enable Copy & Paste{/t} -
-
- - -
-
- {t}Infos in FAQ{/t}  - ! -
-
-
{t}Disable primary group filter{/t} -- 2.30.2