Fixed bad admin-nav function, which was rendered useless if aggressive_optimize_html is on
--- a/plugins/Newsboy.php Mon Jan 21 10:43:01 2008 -0500
+++ b/plugins/Newsboy.php Mon Jan 21 11:52:07 2008 -0500
@@ -91,6 +91,7 @@
// Add admin opener Javascript function
$template->add_header('<!-- NewsBoy: admin panel nav function -->
+ <enano:no-opt>
<script type="text/javascript">
function newsboy_open_admin()
{
@@ -110,7 +111,8 @@
var loc = makeUrlNS(\'Special\', \'Administration\', \'module=\' + namespace_list[\'Admin\'] + \'NewsboyItemManager\');
window.location = loc;
}
- </script>');
+ </script>
+ </enano:no-opt>');
$x = getConfig('nb_portal_title');