summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6c12317)
raw | patch | inline | side by side (parent: 6c12317)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Oct 2008 14:20:50 +0000 (14:20 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Oct 2008 14:20:50 +0000 (14:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12613 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc
index 6c05101828d9bd938b27f566d3516fcb0f3d33ef..d2ccc9cbe8d4cd50b96c5d9c0fa95f336cc42493 100644 (file)
var $ghSoundAdapter= "-";
var $gotoLastUser= "-";
var $netConfigDNS;
+ var $auto_activate= FALSE;
/* Needed values and lists */
var $base= "";
/* Detect mode changes */
$activate= (isset($this->saved_attributes['gotoMode']) &&
$this->gotoMode != $this->saved_attributes['gotoMode'] &&
- $this->gotoMode == "enabled" &&
- tests::is_ip($this->netConfigDNS->ipHostNumber));
-
+ $this->gotoMode == "active" &&
+ tests::is_ip($this->netConfigDNS->ipHostNumber)) || $this->auto_activate;
plugin::save();
/* Strip out 'default' values */