From 8f195c609002cdcfa0bc430903db33a3c164b4aa Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 22 Dec 2005 00:09:50 +0000 Subject: [PATCH] r644: Adding help window page --- help.php | 36 ++++++++++++++++++++++++++++++++++++ templates/help_window.tpl | 23 +++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 help.php create mode 100644 templates/help_window.tpl diff --git a/help.php b/help.php new file mode 100644 index 0000000..6b1133d --- /dev/null +++ b/help.php @@ -0,0 +1,36 @@ +in['topic'] OR !isset($bugsys->datastore['help'][ $bugsys->in['topic'] ])) +{ + $message->error($lang->getlex('error_invalid_id')); +} + +$topic = $bugsys->datastore['help'][ $bugsys->in['topic'] ]; + +eval('$template->flush("' . $template->fetch('help_window') . '");'); + +/*=====================================================================*\ +|| ################################################################### +|| # $HeadURL$ +|| # $Id$ +|| ################################################################### +\*=====================================================================*/ +?> \ No newline at end of file diff --git a/templates/help_window.tpl b/templates/help_window.tpl new file mode 100644 index 0000000..ec51e05 --- /dev/null +++ b/templates/help_window.tpl @@ -0,0 +1,23 @@ +$doctype + + +$headinclude + + {@"Help"} - $topic[title] + + + + +
+
+
{@"Help"} : $topic[title]
+ +
+ $topic[body] +
+
+
+ + + + \ No newline at end of file -- 2.43.5