self::$locale['setup_0101'], '2' => self::$locale['setup_0102'], '3' => self::$locale['setup_0103'], '4' => self::$locale['setup_0104'], '5' => self::$locale['setup_0106'], '6' => self::$locale['setup_0105'] ]; $html = '
'; $html .= openform('setupform', 'post', FUSION_SELF.'?localeset='.LANGUAGE); $html .= '
'; $html .= '
'; $html .= '
'; $html .= ''; $html .= '

PHP-Fusion CMS

'; $html .= ''; $html .= '
'.self::$locale['setup_0010'].self::BUILD_VERSION.'
'; $html .= '
'; // .left-side $html .= '
'; $html .= '
'; $html .= $content; if (self::$localeset) { $html .= form_hidden('localeset', self::$localeset); } $html .= '
'; if (self::$step) { $html .= '
'; foreach (self::$step as $button_prop) { $default_class['class'] = 'btn-primary'; $button_prop += $default_class; $html .= form_button($button_prop['name'], $button_prop['label'], $button_prop['value'], ['class' => $button_prop['class']]); } $html .= '
'; } $html .= '
'; // .content $html .= '
'; // .row $html .= '
'; // .block $html .= closeform(); $html .= '
'; // .block-container return $html; } /** * Need to replace more things. * * @return string */ public function getLayout() { $html = "\n"; $html .= "\n"; $html .= "\n"; $html .= "".(isset($_GET['upgrade']) ? self::$locale['setup_0020'] : self::$locale['setup_0000'])."\n"; $html .= ""; $html .= ''; $html .= "\n"; $html .= "\n"; $html .= "\n"; $html .= "\n"; $html .= "\n"; $html .= "\n"; if (self::$locale['setup_0012a'] == 'rtl') { $html .= ""; } $html .= "\n"; $html .= "\n"; $html .= OutputHandler::$pageHeadTags; $html .= "\n\n"; $html .= "{%content%}"; $fusion_jquery_tags = OutputHandler::$jqueryTags; if (!empty($fusion_jquery_tags)) { $html .= "\n"; } $html .= OutputHandler::$pageFooterTags; $html .= "\n"; $html .= "\n"; return $html; } }