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 \*=====================================================================*/
13 require_once('./includes/init.php');
15 // ###################################################################
16 // initialize template system
17 $bugsys->load('template_fs');
18 $template->extension
= 'tpl';
19 $template->templatedir
= $bugsys->fetch_sourcepath('templates/');
21 // ###################################################################
22 // global template variables
23 $datetime = $datef->format('l, F j, Y g:i A');
25 // ###################################################################
27 $globaltemplates = array(
37 'bugfield_input_text',
38 'bugfield_input_checkbox',
39 'bugfield_select_single_option',
40 'bugfield_select_single'
43 $template->cache(array_merge($globaltemplates, (array)$fetchtemplates));
45 eval('$header = "' . $template->fetch('header') . '";');
46 eval('$doctype = "' . $template->fetch('doctype') . '";');
47 eval('$headinclude = "' . $template->fetch('headinclude') . '";');
48 eval('$footer = "' . $template->fetch('footer') . '";');
50 // ###################################################################
51 // initialize template variables
54 // ###################################################################
55 // create error reporter
56 require_once('./includes/class_message_reporter.php');
57 $message = new Message_Reporter();
58 $bugsys->message
=& $message;
60 /*=====================================================================*\
61 || ###################################################################
64 || ###################################################################
65 \*=====================================================================*/