Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cSetupAdminPassword
  • cSetupClientAdjust
  • cSetupClientMode
  • cSetupConfigMode
  • cSetupInstaller
  • cSetupPath
  • cSetupResults
  • cSetupSetupSummary
  • cSetupSystemData
  • cSetupSystemtest
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: /**
 3:  * This file contains the setup summary setup mask.
 4:  *
 5:  * @package    Setup
 6:  * @subpackage Form
 7:  * @version    SVN Revision $Rev:$
 8:  *
 9:  * @author     Unknown
10:  * @copyright  four for business AG <www.4fb.de>
11:  * @license    http://www.contenido.org/license/LIZENZ.txt
12:  * @link       http://www.4fb.de
13:  * @link       http://www.contenido.org
14:  */
15: 
16: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
17: 
18: /**
19:  * Setup summary setup mask.
20:  *
21:  * @package Setup
22:  * @subpackage Form
23:  */
24: class cSetupSetupSummary extends cSetupMask
25: {
26:     function cSetupSetupSummary($step, $previous, $next)
27:     {
28:         cSetupMask::cSetupMask("templates/setup/forms/setupsummary.tpl", $step);
29:         $this->setHeader(i18n("Summary", "setup"));
30:         $this->_oStepTemplate->set("s", "TITLE", i18n("Summary", "setup"));
31:         $this->_oStepTemplate->set("s", "DESCRIPTION", i18n("Please check your settings and click on the next button to start the installation", "setup"));
32: 
33:         $cHTMLErrorMessageList = new cHTMLErrorMessageList();
34: 
35:         switch ($_SESSION["setuptype"]) {
36:             case "setup":
37:                 $sType = i18n("Setup", "setup");
38:                 break;
39:             case "upgrade":
40:                 $sType = i18n("Upgrade", "setup");
41:                 break;
42:         }
43: 
44:         $messages = array(
45:             i18n("Installation type", "setup") . ":" => $sType,
46:             i18n("Database parameters", "setup") . ":" => i18n("Database host", "setup") . ": " . $_SESSION["dbhost"] . "<br>" .
47:                                                  i18n("Database name", "setup") . ": " . $_SESSION["dbname"] . "<br>" .
48:                                                  i18n("Database username", "setup") . ": " . $_SESSION["dbuser"] . "<br>" .
49:                                                  i18n("Table prefix", "setup") . ": " . $_SESSION["dbprefix"] . "<br>" .
50:                                                  i18n("Database character set", "setup") . ": " . $_SESSION["dbcharset"]
51:         );
52: 
53:         if ($_SESSION["setuptype"] == "setup") {
54:             $aChoices = array(
55:                 "CLIENTEXAMPLES" => i18n("Client with example modules and example content", "setup"),
56:                 "CLIENTMODULES"  => i18n("Client with example modules but without example content", "setup"),
57:                 "NOCLIENT"       => i18n("Don't create a client", "setup")
58:             );
59:             $messages[i18n("Client installation", "setup").":"] = $aChoices[$_SESSION["clientmode"]];
60:         }
61: 
62:         $cHTMLFoldableErrorMessages = array();
63: 
64:         foreach ($messages as $key => $message) {
65:             $cHTMLFoldableErrorMessages[] = new cHTMLInfoMessage($key, $message);
66:         }
67: 
68:         $cHTMLErrorMessageList->setContent($cHTMLFoldableErrorMessages);
69: 
70:         $this->_oStepTemplate->set("s", "CONTROL_SETUPSUMMARY", $cHTMLErrorMessageList->render());
71: 
72:         $this->setNavigation($previous, $next);
73:     }
74: }
75: 
76: ?>
CMS CONTENIDO 4.9.3 API documentation generated by ApiGen 2.8.0