Zeile 10 | Zeile 10 |
---|
class installerOutput {
|
class installerOutput {
|
| /** * @var bool */
|
public $doneheader;
|
public $doneheader;
|
| /** * @var bool */
|
public $openedform;
|
public $openedform;
|
| /** * @var string */
|
public $script = "index.php";
|
public $script = "index.php";
|
| /** * @var array */
|
public $steps = array();
|
public $steps = array();
|
| /** * @var string */
|
public $title = "MyBB Installation Wizard";
|
public $title = "MyBB Installation Wizard";
|
function print_header($title="Welcome", $image="welcome", $form=1, $error=0)
| /** * @param string $title * @param string $image * @param int $form * @param int $error */ function print_header($title="", $image="welcome", $form=1, $error=0)
|
{ global $mybb, $lang;
|
{ global $mybb, $lang;
|
| if($title == "") { $title = $lang->welcome; }
|
if($lang->title) {
| if($lang->title) {
|
Zeile 39 | Zeile 65 |
---|
<head> <title>{$this->title} > {$title}</title> <link rel="stylesheet" href="stylesheet.css" type="text/css" />
|
<head> <title>{$this->title} > {$title}</title> <link rel="stylesheet" href="stylesheet.css" type="text/css" />
|
<script type="text/javascript" src="../jscripts/jquery.js"></script> <script type="text/javascript" src="../jscripts/general.js"></script>
| <script type="text/javascript" src="../jscripts/jquery.js?ver=1821"></script> <script type="text/javascript" src="../jscripts/general.js?ver=1821"></script>
|
{$dbconfig_add} </head> <body>
| {$dbconfig_add} </head> <body>
|
Zeile 99 | Zeile 125 |
---|
} }
|
} }
|
| /** * @param string $contents */
|
function print_contents($contents) { echo $contents; }
|
function print_contents($contents) { echo $contents; }
|
| /** * @param string $message */
|
function print_error($message) { global $lang;
| function print_error($message) { global $lang;
|
Zeile 118 | Zeile 150 |
---|
$this->print_footer(); }
|
$this->print_footer(); }
|
| /** * @param string $nextact */
|
function print_footer($nextact="") { global $lang, $footer_extra;
| function print_footer($nextact="") { global $lang, $footer_extra;
|