Source for file bug_report.php
Documentation is available at bug_report.php
* This generates the bug report data, gives information about where
* it will be sent to and what people will do with it, and provides
* a button to show the bug report mail message in order to actually
* @copyright 1999-2020 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: bug_report.php 14845 2020-01-07 08:09:34Z pdontthink $
// This is the bug_report options page
define('PAGE_NAME', 'bug_report_options');
// Include the SquirrelMail initialization file.
require
('../../include/init.php');
require_once(SM_PATH .
'plugins/bug_report/functions.php');
// error out when bug_report plugin is disabled
// or is called by the wrong user
$oTemplate->display('footer.tpl');
require_once(SM_PATH .
'plugins/bug_report/system_specs.php');
$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" .
"This bug occurs when I ...\n" .
" ... view a particular message\n" .
" ... use a specific plugin/function\n" .
" ... try to do/view/use ....\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->display('plugins/bug_report/usage.tpl');
$oTemplate->display('footer.tpl');
Documentation generated on Mon, 13 Jan 2020 04:22:02 +0100 by phpDocumentor 1.4.3