Merge pull request #70 from harkx/configlogo

This commit is contained in:
Tuxis Internet Engineering V.O.F 2016-01-07 22:39:51 +01:00
commit 76e3ebc113
3 changed files with 7 additions and 1 deletions

View file

@ -57,3 +57,4 @@ $defaults['ttl'] = 3600; # Default TTL for record
## UI Options ## UI Options
$menutype = 'horizontal'; # horizontal|vertical - use a horizontal or vertical menu $menutype = 'horizontal'; # horizontal|vertical - use a horizontal or vertical menu
$logo = 'https://www.tuxis.nl/uploads/images/nsedit.png';

View file

@ -44,6 +44,11 @@ if (isset($defaults['primaryns'])) {
} }
} }
if (!isset($logo) or empty($logo)) {
$logo = 'http://www.tuxis.nl/uploads/images/nsedit.png';
}
/* No need to change stuf below */ /* No need to change stuf below */
if ($apivers == 0) { if ($apivers == 0) {

View file

@ -48,7 +48,7 @@ if (!is_logged_in()) {
<body onload="document.getElementById('username').focus()"> <body onload="document.getElementById('username').focus()">
<div class="loginblock"> <div class="loginblock">
<div class="logo"> <div class="logo">
<img src="https://www.tuxis.nl/uploads/images/nsedit.png" alt="Logo"/> <img src="<?php echo $logo ?>" alt="Logo"/>
</div> </div>
<div class="login"> <div class="login">
<?php if (isset($errormsg)) { <?php if (isset($errormsg)) {