display('footer.tpl'); exit(); } // get system specs // require_once(SM_PATH . 'plugins/bug_report/system_specs.php'); list($body, $warnings, $corrections) = get_system_specs(); $body_top = "I am subscribed to the this mailing list.\n" . " (applies when you are sending email to SquirrelMail mailing list)\n". " [ ] True - No need to CC me when replying\n" . " [ ] False - Please CC me when replying\n" . "\n" . "This bug occurs when I ...\n" . " ... view a particular message\n" . " ... use a specific plugin/function\n" . " ... try to do/view/use ....\n" . "\n\n\n" . "The description of the bug:\n\n\n" . "I can reproduce the bug by:\n\n\n" . "(Optional) I got bored and found the bug occurs in:\n\n\n" . "(Optional) I got really bored and here's a fix:\n\n\n" . "----------------------------------------------\n\n"; $body = $body_top . $body; global $oTemplate, $bug_report_admin_email; if (!empty($bug_report_admin_email)) { $oTemplate->assign('admin_email', $bug_report_admin_email); } $oTemplate->assign('message_body', $body); $oTemplate->assign('title_bg_color', $color[0]); $oTemplate->assign('warning_messages', $warnings); $oTemplate->assign('correction_messages', $corrections); $oTemplate->assign('warning_count', sizeof($warnings)); $oTemplate->assign('version', SM_VERSION); $oTemplate->display('plugins/bug_report/usage.tpl'); $oTemplate->display('footer.tpl');