function form_end($keep_context = true) { global $form_name; if ($keep_context) { hidden_vars(); } echo '</form>' . N; }
if (ini_get('register_globals')) { // check if register globals is Off $tool_content .= "<div class='caution'>$langWarningInstall1</div>"; } if (ini_get('short_open_tag')) { // check if short_open_tag is Off $tool_content .= "<div class='caution'>$langWarningInstall2</div>"; } $tool_content .= " <p class='sub_title1'>$langOtherReq</p> <ul class='installBullet'> <li>$langInstallBullet1</li> <li>$langInstallBullet3</li> </ul> <div class='info'>$langBeforeInstall1<a href='$install_info_file' target=_blank>$langInstallInstr</a>. <div class='smaller'>$langBeforeInstall2<a href='../README.txt' target=_blank>$langHere</a>.</div></div><br /> <div class='right'><input type='submit' class='btn btn-primary' name='install2' value='$langNextStep »' /></div>" . hidden_vars($all_vars) . "</form>\n"; draw($tool_content); } else { $langLanguages = array( 'el' => 'Ελληνικά (el)', 'en' => 'English (en)'); // <title>$langWelcomeWizard</title> $tool_content .= " <div class='row'> <div class='col-sm-12 text-center'> <img src='welcome.png' alt=''> <h1>$langWelcomeWizard</h1> <div class='panel panel-info text-left'> <div class='panel-heading'>$langThisWizard</div> <div class='panel-body'>
warnIfExtNotLoaded('standard'); warnIfExtNotLoaded('session'); warnIfExtNotLoaded('pdo'); warnIfExtNotLoaded('pdo_mysql'); warnIfExtNotLoaded('gd'); warnIfExtNotLoaded('mbstring'); warnIfExtNotLoaded('xml'); warnIfExtNotLoaded('dom'); warnIfExtNotLoaded('zlib'); warnIfExtNotLoaded('pcre'); warnIfExtNotLoaded("curl"); $tool_content .= "</ul><h3>{$langOptionalPHP}</h3>"; $tool_content .= "<ul class='list-unstyled'>"; warnIfExtNotLoaded('ldap'); $tool_content .= "</ul>"; if (ini_get('register_globals')) { // check if register globals is Off $tool_content .= "<div class='caution'>{$langWarningInstall1}</div>"; } if (ini_get('short_open_tag')) { // check if short_open_tag is Off $tool_content .= "<div class='caution'>{$langWarningInstall2}</div>"; } $tool_content .= "\n\t<p class='sub_title1'>{$langOtherReq}</p>\n\t<ul class='installBullet'>\n\t<li>{$langInstallBullet1}</li>\n\t<li>{$langInstallBullet3}</li>\n\t</ul>\t\n\t<div class='info'>{$langBeforeInstall1}<a href='{$install_info_file}' target=_blank>{$langInstallInstr}</a>.\n\t<div class='smaller'>{$langBeforeInstall2}<a href='../README.txt' target=_blank>{$langHere}</a>.</div></div><br />\n\t<div class='right'><input type='submit' class='btn btn-primary' name='install2' value='{$langNextStep} »' /></div>" . hidden_vars($all_vars) . "</form>\n"; draw($tool_content); } else { $langLanguages = array('el' => 'Ελληνικά (el)', 'en' => 'English (en)'); // <title>$langWelcomeWizard</title> $tool_content .= "\n <div class='row'>\n <div class='col-sm-12 text-center'>\n <img src='welcome.png' alt=''>\n <h1>{$langWelcomeWizard}</h1>\n <div class='panel panel-info text-left'>\n <div class='panel-heading'>{$langThisWizard}</div>\n <div class='panel-body'>\n <ul>\n <li>{$langWizardHelp1}</li>\n <li>{$langWizardHelp2}</li>\n <li>{$langWizardHelp3}</li>\n </ul>\n </div>\n </div>\n <form class='form-horizontal' role='form' method='post' action='{$_SERVER['SCRIPT_NAME']}'>\n <fieldset>\n <div class='form-group'>\n <label for='lang' class='col-sm-2 control-label'>{$langChooseLang}:</label>\n <div class='col-sm-10'>" . selection($langLanguages, 'lang', $lang, 'class="form-control" onChange=\\"document.langform.submit();\\"') . "</div>\n </div>\n <div class='form-group'>\n <div class='col-sm-offset-2 col-sm-10 text-left'>\n <input type='submit' class='btn btn-primary' name='install1' value='{$langNextStep} »'>\n <input type='hidden' name='welcomeScreen' value='true'>\n </div>\n </div>\n <fieldset>\n </form>\n </div>\n </div>"; draw($tool_content, array('no-menu' => true)); }