summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/setup.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-15 12:53:32 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-11-15 12:53:32 +0000
commite5c765ac713664bdae99dac1c975f4a8b7999c32 (patch)
tree6958b6105333f9012250a1e9c14916b94530cf71 /frontends/php/include/setup.inc.php
parent600abf07f6952ce7f6a1e8417fb31e3202b55894 (diff)
downloadzabbix-e5c765ac713664bdae99dac1c975f4a8b7999c32.tar.gz
zabbix-e5c765ac713664bdae99dac1c975f4a8b7999c32.tar.xz
zabbix-e5c765ac713664bdae99dac1c975f4a8b7999c32.zip
- improved stricted PHP5 supporting (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3486 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/setup.inc.php')
-rw-r--r--frontends/php/include/setup.inc.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/frontends/php/include/setup.inc.php b/frontends/php/include/setup.inc.php
index f9e2f4cf..5e1880c6 100644
--- a/frontends/php/include/setup.inc.php
+++ b/frontends/php/include/setup.inc.php
@@ -29,7 +29,7 @@
class CSetupWizard extends CForm
{
-/* protected */
+/* protected *//*
var $ZBX_CONFIG;
var $DISABLE_NEXT_BUTTON;
var $stage = array(
@@ -42,6 +42,7 @@
6 => array('title' => '7. Install' , 'fnc' => 'Stage6' ),
7 => array('title' => '8. Finish' , 'fnc' => 'Stage7' )
);
+ */
/* public */
function CSetupWizard(&$ZBX_CONFIG)
@@ -49,6 +50,17 @@
$this->DISABLE_NEXT_BUTTON = false;
$this->ZBX_CONFIG = &$ZBX_CONFIG;
+
+ $this->stage = array(
+ 0 => array('title' => '1. Introduction' , 'fnc' => 'Stage0' ),
+ 1 => array('title' => '2. Licence Agreement' , 'fnc' => 'Stage1' ),
+ 2 => array('title' => '3. Check of pre-requisites' , 'fnc' => 'Stage2' ),
+ 3 => array('title' => '4. Configure DB connection' , 'fnc' => 'Stage3' ),
+ 4 => array('title' => '5. Distributed monitoring' , 'fnc' => 'Stage4' ),
+ 5 => array('title' => '6. Pre-Installation Summary' , 'fnc' => 'Stage5' ),
+ 6 => array('title' => '7. Install' , 'fnc' => 'Stage6' ),
+ 7 => array('title' => '8. Finish' , 'fnc' => 'Stage7' )
+ );
$this->EventHandler();