From: hickert Date: Thu, 19 Apr 2007 12:08:08 +0000 (+0000) Subject: Implemented kiosk path X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7486490ff1262f355851d52588fce996fe7f2adc;p=gosa.git Implemented kiosk path git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6125 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/contrib/gosa.conf b/contrib/gosa.conf index 98837ef31..0232dd5b2 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -7,7 +7,9 @@ diff --git a/setup/class_setupStep_Config3.inc b/setup/class_setupStep_Config3.inc index 1721d561a..7eb549101 100644 --- a/setup/class_setupStep_Config3.inc +++ b/setup/class_setupStep_Config3.inc @@ -44,6 +44,9 @@ class Step_Config3 extends setup_step "notifydir" => "", "notifydir_active" => FALSE, + "kioskpath" => "/var/spool/kiosk", + "kioskpath_active" => FALSE, + "noprimarygroup" => FALSE, "smbhash" => 'SMBHASH'); @@ -129,6 +132,15 @@ class Step_Config3 extends setup_step $this->optional['mailQueueScriptPath_active'] = FALSE; } + if(isset($_POST['kioskpath_active'])){ + $this->optional['kioskpath_active'] = TRUE; + if(isset($_POST['kioskpath'])){ + $this->optional['kioskpath'] = $_POST['kioskpath']; + } + }else{ + $this->optional['kioskpath_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 56b6e8001..c068fa987 100644 --- a/setup/setup_config3.tpl +++ b/setup/setup_config3.tpl @@ -170,6 +170,28 @@ +
+
+ {t}Kiosk path{/t} +
+
+ {if $optional.kioskpath_active == FALSE} + + + {else} + + + {/if} +
+
+ {t}Infos in FAQ{/t}  + ! +
+
+
{t}Smarty compile directory{/t}