<?php
 /**
 * Project: 
 * Contenido Content Management System
 * 
 * Description: 
 * 
 * Requirements: 
 * @con_php_req 5
 *
 * @package    Contenido Backend <Area>
 * @version    0.2
 * @author     unknown
 * @copyright  four for business AG <www.4fb.de>
 * @license    http://www.contenido.org/license/LIZENZ.txt
 * @link       http://www.4fb.de
 * @link       http://www.contenido.org
 * @since      file available since contenido release <Contenido Version>
 * @deprecated file deprecated in contenido release <Contenido Version>
 * 
 * {@internal 
 *   created  unknown
 *   modified 2008-07-07, bilal arslan, added security fix
 *
 *   $Id: languagechooser.php 740 2008-08-27 10:45:04Z timo.trautmann $:
 * }}
 * 
 */
 if(!defined('CON_FRAMEWORK')) {
                die('Illegal call');
}



session_unset();

class cSetupLanguageChooser extends cSetupMask
{
	function cSetupLanguageChooser ()
	{
		cSetupMask::cSetupMask("templates/languagechooser.tpl");
		$this->setHeader('Version '.C_SETUP_VERSION);
		$this->_oStepTemplate->set("s", "DE_HINT", "Diese Anwendung hilft Ihnen bei der Installation von Contenido.");
		$this->_oStepTemplate->set("s", "EN_HINT", "This application will guide you trough the setup process.");
		$this->_oStepTemplate->set("s", "DE_HINT_LANG", "W&auml;hlen Sie bitte die gew&uuml;nschte Sprache f&uuml;r das Setup aus.");
		$this->_oStepTemplate->set("s", "EN_HINT_LANG", "Please choose your language to continue.");
		
		$langs = array("de_DE" => "Deutsch", "C" => "English");
		
		$m = "";
		
		foreach ($langs as $entity => $lang)
		{
			$test = new cHTMLLanguageLink($entity, $lang, "setuptype");
			$m .= $test->render();
		}
		
		$this->_oStepTemplate->set("s", "LANGUAGECHOOSER", $m);
	}
}

$cSetupStep1 = new cSetupLanguageChooser;
$cSetupStep1->render();


?>