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 path information 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:  * Path information setup mask.
20:  *
21:  * @package Setup
22:  * @subpackage Form
23:  */
24: class cSetupPath extends cSetupMask
25: {
26:     function cSetupPath($step, $previous, $next)
27:     {
28:         cSetupMask::cSetupMask("templates/setup/forms/pathinfo.tpl", $step);
29:         $this->setHeader(i18n("System Directories", "setup"));
30:         $this->_oStepTemplate->set("s", "TITLE", i18n("System Directories", "setup"));
31:         $this->_oStepTemplate->set("s", "DESCRIPTION", i18n("Please check the directories identified by the system. If you need to change a path, click on the name and enter the new path in the available input box.", "setup"));
32: 
33:         list($rootPath, $rootHttpPath) = getSystemDirectories(true);
34: 
35:         $cHTMLErrorMessageList = new cHTMLErrorMessageList();
36:         $cHTMLFoldableErrorMessages = array();
37: 
38:         list($rootPath2, $rootHttpPath2) = getSystemDirectories();
39:         $oRootPath = new cHTMLTextbox("override_root_path", $rootPath2);
40:         $oRootPath->setWidth(100);
41:         $oRootPath->setClass("small");
42:         $oWebPath = new cHTMLTextbox("override_root_http_path", $rootHttpPath2);
43:         $oWebPath->setWidth(100);
44:         $oWebPath->setClass("small");
45: 
46:         $cHTMLFoldableErrorMessages[0] = new cHTMLFoldableErrorMessage(i18n("CONTENIDO Root Path", "setup").":<br>".$rootPath, $oRootPath);
47:         $cHTMLFoldableErrorMessages[0]->_oContent->setStyle("padding-bottom: 8px;");
48:         $cHTMLFoldableErrorMessages[1] = new cHTMLFoldableErrorMessage(i18n("CONTENIDO Web Path", "setup").":<br>".$rootHttpPath, $oWebPath);
49:         $cHTMLFoldableErrorMessages[1]->_oContent->setStyle("padding-bottom: 8px;");
50: 
51:         $cHTMLErrorMessageList->setContent($cHTMLFoldableErrorMessages);
52: 
53:         $this->_oStepTemplate->set("s", "CONTROL_PATHINFO", $cHTMLErrorMessageList->render());
54: 
55:         $this->setNavigation($previous, $next);
56:     }
57: }
58: ?>
CMS CONTENIDO 4.9.3 API documentation generated by ApiGen 2.8.0