r644: Adding help window page
[bugdar.git] / help.php
1 <?php
2 /*=====================================================================*\
3 || ################################################################### ||
4 || # BugStrike [#]version[#]
5 || # --------------------------------------------------------------- # ||
6 || # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
7 || # This file may not be reproduced in any way without permission. # ||
8 || # --------------------------------------------------------------- # ||
9 || # User License Agreement at http://www.iris-studios.com/license/ # ||
10 || ################################################################### ||
11 \*=====================================================================*/
12
13 $fetchtemplates = array(
14 'help_window'
15 );
16
17 define('SVN', '$Id$');
18
19 require_once('./global.php');
20
21 if (!$bugsys->in['topic'] OR !isset($bugsys->datastore['help'][ $bugsys->in['topic'] ]))
22 {
23 $message->error($lang->getlex('error_invalid_id'));
24 }
25
26 $topic = $bugsys->datastore['help'][ $bugsys->in['topic'] ];
27
28 eval('$template->flush("' . $template->fetch('help_window') . '");');
29
30 /*=====================================================================*\
31 || ###################################################################
32 || # $HeadURL$
33 || # $Id$
34 || ###################################################################
35 \*=====================================================================*/
36 ?>