1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
15:
16: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
17:
18: 19: 20: 21: 22: 23:
24: class cSetupInstaller extends cSetupMask
25: {
26: function cSetupInstaller($step) {
27: cSetupMask::cSetupMask("templates/setup/forms/installer.tpl", $step);
28:
29: $this->_oStepTemplate->set("s", "IFRAMEVISIBILITY", (CON_SETUP_DEBUG) ? 'visible' : 'hidden');
30: $this->_oStepTemplate->set("s", "DBUPDATESCRIPT", "index.php?c=db");
31:
32: switch ($_SESSION["setuptype"]) {
33: case "setup":
34: $this->setHeader(i18n("System Installation", "setup"));
35: $this->_oStepTemplate->set("s", "TITLE", i18n("System Installation", "setup"));
36: $this->_oStepTemplate->set("s", "DESCRIPTION", i18n("CONTENIDO will be installed, please wait. This porcess may take several moments!", "setup"));
37: $this->_oStepTemplate->set("s", "DONEINSTALLATION", i18n("Setup completed installing. Click on next to continue.", "setup"));
38: $this->_oStepTemplate->set("s", "DESCRIPTION", i18n("Setup is installing, please wait...", "setup"));
39: $_SESSION["upgrade_nextstep"] = "setup8";
40: $this->setNavigation("", "setup8");
41: break;
42: case "upgrade":
43: $this->setHeader(i18n("System Upgrade", "setup"));
44: $this->_oStepTemplate->set("s", "TITLE", i18n("System Upgrade", "setup"));
45: $this->_oStepTemplate->set("s", "DESCRIPTION", i18n("CONTENIDO will be upgraded, please wait. This porcess may take several moments!", "setup"));
46: $this->_oStepTemplate->set("s", "DONEINSTALLATION", i18n("Setup completed upgrading. Click on next to continue.", "setup"));
47: $this->_oStepTemplate->set("s", "DESCRIPTION", i18n("Setup is upgrading, please wait...", "setup"));
48: $_SESSION["upgrade_nextstep"] = "ugprade6";
49: $this->setNavigation("", "upgrade6");
50: break;
51: }
52: }
53: }
54:
55: ?>