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

  • cCLISetup
  • cSetupLanguageChooser
  • cSetupNotInstallable
  • cSetupTypeChooser

Functions

  • checkAndInclude
  • checkExistingPlugin
  • checkInstallationSettings
  • findSimilarText
  • getArgs
  • getContenidoVersion
  • getSystemDirectories
  • initializeVariables
  • listClients
  • passwordPrompt
  • printHelpText
  • prnt
  • prntln
  • prntst
  • progressBar
  • stripLastSlash
  • updateClientPath
  • updateContenidoVersion
  • updateSysadminPassword
  • updateSystemProperties
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: /**
 3:  * This file contains the setup language chooser class.
 4:  *
 5:  * @package    Setup
 6:  * @subpackage Setup
 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: session_unset();
19: 
20: /**
21:  * Setup language chooser class
22:  *
23:  * @package Setup
24:  * @subpackage Setup
25:  */
26: class cSetupLanguageChooser extends cSetupMask
27: {
28:     function cSetupLanguageChooser()
29:     {
30:         cSetupMask::cSetupMask("templates/languagechooser.tpl");
31:         $this->setHeader('Version ' . CON_SETUP_VERSION);
32:         $this->_oStepTemplate->set("s", "DE_HINT", "Diese Anwendung hilft Ihnen bei der Installation von CONTENIDO.");
33:         $this->_oStepTemplate->set("s", "EN_HINT", "This application will guide you trough the setup process.");
34:         $this->_oStepTemplate->set("s", "DE_HINT_LANG", "W&auml;hlen Sie bitte die gew&uuml;nschte Sprache f&uuml;r das Setup aus.");
35:         $this->_oStepTemplate->set("s", "EN_HINT_LANG", "Please choose your language to continue.");
36: 
37:         $langs = array("de_DE" => "Deutsch", "C" => "English");
38: 
39:         $m = "";
40: 
41:         foreach ($langs as $entity => $lang) {
42:             $test = new cHTMLLanguageLink($entity, $lang, "setuptype");
43:             $m .= $test->render();
44:         }
45: 
46:         $this->_oStepTemplate->set("s", "LANGUAGECHOOSER", $m);
47:     }
48: }
49: 
50: $cSetupStep1 = new cSetupLanguageChooser();
51: $cSetupStep1->render();
52: 
CMS CONTENIDO 4.9.1 API documentation generated by ApiGen 2.8.0