Updating help.php
authorRobert Sesek <rsesek@bluestatic.org>
Fri, 22 Aug 2008 02:05:23 +0000 (22:05 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Fri, 22 Aug 2008 02:05:23 +0000 (22:05 -0400)
help.php

index edad78975918f9f5a4865b0e0cf6f234d378aa5e..f198342f514ab224fb1ed5ec4834ec4e0af57948 100644 (file)
--- a/help.php
+++ b/help.php
@@ -38,7 +38,9 @@ else
        $topic['body'] = nl2br($topic['body']);
 }
 
-eval('$template->flush("' . $template->fetch('help_window') . '");');
+$tpl = new BSTemplate('help_window');
+$tpl->vars = array('topic' => $topic);
+$tpl->evaluate()->flush();
 
 /*=====================================================================*\
 || ###################################################################