Fixed bad admin-nav function, which was rendered useless if aggressive_optimize_html is on
authorDan
Mon, 21 Jan 2008 11:52:07 -0500
changeset 4 bf5589120afb
parent 3 8ae9acb2e919
child 5 fed61fc8895b
Fixed bad admin-nav function, which was rendered useless if aggressive_optimize_html is on
plugins/Newsboy.php
--- 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');