本文整理汇总了PHP中Installer::getFooter方法的典型用法代码示例。如果您正苦于以下问题:PHP Installer::getFooter方法的具体用法?PHP Installer::getFooter怎么用?PHP Installer::getFooter使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Installer
的用法示例。
在下文中一共展示了Installer::getFooter方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: urlencode
} else {
if ($delayPerSession != 0) {
echo '<p><b>' . $LANG_BIGDUMP[24] . $delayPerSession . $LANG_BIGDUMP[25] . PHP_EOL;
}
// Go to the next step
echo '<script language="JavaScript" type="text/javascript">window.setTimeout(\'location.href="' . $_SERVER['PHP_SELF'] . '?start=' . $lineNumber . '&fn=' . urlencode($currentFileName) . '&foffset=' . $fOffset . '&totalqueries=' . $totalQueries . '&db_connection_charset=' . $db_connection_charset . '&language=' . $installer->getLanguage() . '&site_url=' . $site_url . '&site_admin_url=' . $site_admin_url . '";\',500+' . $delayPerSession . ');</script>' . PHP_EOL . '<noscript>' . PHP_EOL . ' <p><a href="' . $_SERVER['PHP_SELF'] . '?start=' . $lineNumber . '&fn=' . urlencode($currentFileName) . '&foffset=' . $fOffset . '&totalqueries=' . $totalQueries . '&db_connection_charset=' . $db_connection_charset . '&language=' . $installer->getLanguage() . '&site_url=' . $site_url . '&site_admin_url=' . $site_admin_url . '">Continue from the line ' . $lineNumber . '</a></p>' . PHP_EOL . '</noscript>' . PHP_EOL . '<p><b><a href="' . $_SERVER['PHP_SELF'] . '">' . $LANG_BIGDUMP[26] . '</a></b> ' . $LANG_BIGDUMP[27] . ' <b>' . $LANG_BIGDUMP[28] . '</b></p>' . PHP_EOL;
}
} else {
echo $installer->getAlertMsg($LANG_BIGDUMP[29]);
}
}
}
if ($error) {
$backUrl = 'index.php?mode=migrate';
$language = $installer->getLanguage();
if (!empty($language)) {
$backUrl .= '&language=' . $language;
}
echo '<p><a href="' . $backUrl . '">' . $LANG_BIGDUMP[30] . '</a> ' . $LANG_BIGDUMP[31] . '</p>' . PHP_EOL;
}
if ($dbConnection) {
Geeklog\Db::disconnect();
$dbConnection = null;
}
if ($file && !$gzipMode) {
fclose($file);
} elseif ($file && $gzipMode) {
gzclose($file);
}
echo Installer::getFooter();
示例2: header
if (file_exists($plugin_inst)) {
require_once $plugin_inst;
$check_compatible = 'plugin_compatible_with_this_version_' . $pi_name;
if (function_exists($check_compatible)) {
if (!$check_compatible($pi_name)) {
continue;
// with next plugin
}
}
$auto_install = 'plugin_autoinstall_' . $pi_name;
if (!function_exists($auto_install)) {
continue;
// with next plugin
}
$inst_params = $auto_install($pi_name);
if ($inst_params === false || empty($inst_params)) {
continue;
// with next plugin
}
$installer->pluginAutoInstall($pi_name, $inst_params);
}
}
}
// Done!
header('Location: success.php?language=' . $language);
break;
}
// End switch ($step)
$display .= Installer::getFooter();
header('Content-Type: text/html; charset=' . COM_getCharset());
COM_output($display);