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>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" <a class="navbar-brand" href="<?php echo $settings->name_link; ?>">
href="<?php echo $settings->name_link; ?>"><?php echo $settings->name; ?></a> <?php echo $settings->name; ?>
</a>
</div> </div>
<nav id="litebans-navbar" class="collapse navbar-collapse"> <nav id="litebans-navbar" class="collapse navbar-collapse">
<?php <?php

View File

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