Fix check.php

This commit is contained in:
ruan 2015-10-09 14:10:06 +02:00
parent 7817c33088
commit a72ed2faf0
2 changed files with 8 additions and 4 deletions

View File

@ -81,8 +81,9 @@ $settings = $this->page->settings;
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand"
href="<?php echo $settings->name_link; ?>"><?php echo $settings->name; ?></a>
<a class="navbar-brand" href="<?php echo $settings->name_link; ?>">
<?php echo $settings->name; ?>
</a>
</div>
<nav id="litebans-navbar" class="collapse navbar-collapse">
<?php

View File

@ -44,8 +44,11 @@ class Page {
'kick' => null,
);
$h = new Header($this);
$h->print_header();
if ($header) {
$h = new Header($this);
$this->header = $h;
$h->print_header();
}
}
public function type_info($type) {