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,
array('conf.php'));
} 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
if (!Auth::isAdmin('nwnadmin:admin')) {
header('Location: ' . Horde::applicationUrl('server.php'));
header('Location: ./server.php');
}
// hack the page if the server is not configured
@ -92,4 +92,4 @@ if ($rawResult) {
}
// finish up the page
require_once $registry->get('templates', 'horde') . '/common-footer.inc';
require_once $registry->get('templates', 'horde') . '/common-footer.inc';

View File

@ -1,5 +1,5 @@
<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>
<br class="spacer"/>
<?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>

BIN
themes/graphics/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB