Fixed a redirection problem and a missing file.

master
penguinc 2005-01-23 05:41:56 +00:00
parent 8e1ff15e5b
commit f6e796fe24
4 changed files with 5 additions and 5 deletions

View File

@ -12,5 +12,5 @@ if (!$nwnadmin_configured) {
Horde_Test::configFilesMissing('NWNAdmin', NWNADMIN_BASE, Horde_Test::configFilesMissing('NWNAdmin', NWNADMIN_BASE,
array('conf.php')); array('conf.php'));
} else { } else {
header('Location: ./start.php'); require NWNADMIN_BASE . '/start.php';
} }

View File

@ -12,7 +12,7 @@ $wait = false;
// no regular users allowed on this page // no regular users allowed on this page
if (!Auth::isAdmin('nwnadmin:admin')) { if (!Auth::isAdmin('nwnadmin:admin')) {
header('Location: ' . Horde::applicationUrl('server.php')); header('Location: ./server.php');
} }
// hack the page if the server is not configured // hack the page if the server is not configured

View File

@ -1,5 +1,5 @@
<table id="menu" width="100%" cellpadding="0" cellspacing="0" border="0"> <table id="menu" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="center"><?php echo Horde::img('banner.png', _("Banner"), '', $GLOBALS['registry']->getImageDir('penguincoder')) ?></td></tr> <tr><td align="center"><?php echo Horde::img('banner.png', _("Banner")) ?></td></tr>
<tr><td><?php echo NWNAdmin::getMenu('string') ?></td></tr></table> <tr><td><?php echo NWNAdmin::getMenu('string') ?></td></tr></table>
<br class="spacer"/> <br class="spacer"/>
<?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?> <?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>

BIN
themes/graphics/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB