equal
deleted
inserted
replaced
56 header('Pragma: no-cache'); // For HTTP/1.0 compability |
56 header('Pragma: no-cache'); // For HTTP/1.0 compability |
57 |
57 |
58 // Load the template |
58 // Load the template |
59 if (defined('PUN_ADMIN_CONSOLE')) |
59 if (defined('PUN_ADMIN_CONSOLE')) |
60 { |
60 { |
61 $tpl_main = file_get_contents(PUN_ROOT.'include/template/admin.tpl'); |
61 $inner = '<div id="punwrap"> |
|
62 <div id="punadmin" class="pun"> |
|
63 |
|
64 <div id="brdheader" class="block"> |
|
65 <div class="box"> |
|
66 <div id="brdtitle" class="inbox"> |
|
67 <pun_title> |
|
68 <pun_desc> |
|
69 </div> |
|
70 <pun_navlinks> |
|
71 <pun_status> |
|
72 </div> |
|
73 </div> |
|
74 |
|
75 <pun_announcement> |
|
76 |
|
77 <pun_main> |
|
78 |
|
79 <pun_footer> |
|
80 |
|
81 </div> |
|
82 </div>'; |
|
83 |
|
84 $tpl_main = $template->getHeader() . $inner . $template->getFooter(); |
62 } |
85 } |
63 else if (defined('PUN_HELP')) |
86 else if (defined('PUN_HELP')) |
64 { |
87 { |
65 $tpl_main = file_get_contents(PUN_ROOT.'include/template/help.tpl'); |
88 $tpl_main = file_get_contents(PUN_ROOT.'include/template/help.tpl'); |
66 } |
89 } |