load('template_fs'); $template->extension = 'tpl'; $template->templatedir = $bugsys->fetch_sourcepath('templates/'); // ################################################################### // cache templates $globaltemplates = array( 'doctype', 'header', 'headinclude', 'footer', 'selectoption', 'selectoptgroup', 'std_error', 'std_redirect', 'std_message', 'bugfield_input_text', 'bugfield_input_checkbox', 'bugfield_select_single_option', 'bugfield_select_single' ); $template->cache(array_merge($globaltemplates, (array)$fetchtemplates)); eval('$header = "' . $template->fetch('header') . '";'); eval('$doctype = "' . $template->fetch('doctype') . '";'); eval('$headinclude = "' . $template->fetch('headinclude') . '";'); eval('$footer = "' . $template->fetch('footer') . '";'); // ################################################################### // initialize template variables $show = array(); // ################################################################### // create error reporter require_once('./includes/class_message_reporter.php'); $message = new Message_Reporter(); $bugsys->message =& $message; /*=====================================================================*\ || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>