Ejemplo n.º 1
0
?>
</b>
					</div>
				</div>
				<div class="install_bd">
					<div class="install_shoulder">
						<img class="logo" src="../templates/standard/images/company_logo.png" alt="Forma e-learning logo" />
						<img class="flux" src="templates/standard/images/left_shoulder.jpg" alt="Flux" />
					</div>
					<div class="install_content">
						<div class="ibd">
						<?php 
echo getZoneContent('main');
?>
						<?php 
StepManager::loadCurrentStep();
?>
						</div>
					</div>
				</div>
				<div class="install_ft" style="position: relative;">
					<div id="loading_box" style="visibility: hidden; position: absolute; left: 240px; top: 6px; text-align: left; padding: 0.3em;">
					<img src="templates/standard/images/loading.gif" alt="loading" style="vertical-align: middle;" />
					<?php 
echo Lang::t('_CHECKING');
?>
...
					</div>
					<div id="warn_msg_box" style="visibility: hidden; position: absolute; right: 160px; top: 6px; min-width: 400px; text-align: left; padding: 0.3em; background:#ffc;border:1px solid #fc3;">
					<img src="templates/standard/images/warning.png" alt="warning" style="vertical-align: middle;" />
					<span id="warn_txt"></span>
Ejemplo n.º 2
0
 public static function setLanguage()
 {
     $lang = Get::gReq('set_lang', DOTY_STRING, '');
     if (!empty($lang)) {
         $_SESSION['sel_lang'] = $lang;
         self::init();
         StepManager::loadCurrentStep();
         ob_clean();
         $res = array();
         $res['intro'] = Lang::t('_INSTALLER_INTRO_TEXT');
         $res['title'] = Lang::t('_INTRODUCTION');
         $res['btn'] = Lang::t('_NEXT') . ' &raquo;';
         require_once _base_ . '/lib/lib.json.php';
         $json = new Services_JSON();
         echo $json->encode($res);
         session_write_close();
         die;
     }
     if (!isset($_SESSION['sel_lang'])) {
         $_SESSION['sel_lang'] = 'english';
     }
 }