punbb/header.php
changeset 3 c0c445d4a13e
parent 2 a8a21e1c7afa
--- a/punbb/header.php	Thu Jul 12 01:04:01 2007 -0400
+++ b/punbb/header.php	Thu Jul 12 15:00:35 2007 -0400
@@ -58,7 +58,30 @@
 // Load the template
 if (defined('PUN_ADMIN_CONSOLE'))
 {
-	$tpl_main = file_get_contents(PUN_ROOT.'include/template/admin.tpl');
+	$inner = '<div id="punwrap">
+<div id="punadmin" class="pun">
+
+<div id="brdheader" class="block">
+	<div class="box">
+		<div id="brdtitle" class="inbox">
+			<pun_title>
+			<pun_desc>
+		</div>
+		<pun_navlinks>
+		<pun_status>
+	</div>
+</div>
+
+<pun_announcement>
+
+<pun_main>
+
+<pun_footer>
+
+</div>
+</div>';
+
+  $tpl_main = $template->getHeader() . $inner . $template->getFooter();
 }
 else if (defined('PUN_HELP'))
 {