X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fbug_report%2Fsetup.php;h=87ab86de4e36c72a8ac474a09c029c782317626a;hp=1c66c675939e3d51abb47e62f08fbe6257383e54;hb=c4faef335b2362c81b8ebf026d4066c12d70536c;hpb=feec0d68606f40d4abaa72cbc796bdd235b38140 diff --git a/plugins/bug_report/setup.php b/plugins/bug_report/setup.php index 1c66c675..87ab86de 100644 --- a/plugins/bug_report/setup.php +++ b/plugins/bug_report/setup.php @@ -1,93 +1,82 @@ 'Bug Report', + 'authors' => array( + 'SquirrelMail Team' => array(), + ), + 'version' => 'CORE', + 'required_sm_version' => 'CORE', + 'requires_configuration' => 0, + 'summary' => 'Helps with sending bug reports to the SquirrelMail Developers. Collects a lot of useful information about your system.', + 'details' => 'When people stumble across a bug, which may happen in a work-in-progress, often times they would like to help out the software and get rid of the bug. Sometimes, these people don\'t know much about the system and how it is set up -- they know enough to make the bug happen for them. This bug report plugin is designed to gather all of the non-private information for the user automatically, so that the user doesn\'t need to know more than how to trigger the bug.', + ); +} + - $bug_report_visible = getPref($data_dir, $username, 'bug_report_visible'); -} /** - * Adds bug report options to display page - * @access private + * Returns version info about this plugin + * */ -function bug_report_options() { - global $bug_report_visible; - - echo '' . html_tag('td',_("Bug Reports:"),'right','','nowrap') . "\n" . - ' ' . _("Show button in toolbar") . "\n"; - - echo '' . - '' . _("Show system specs") . ''; -} - -?> +function bug_report_version() { + $info = bug_report_info(); + return $info['version']; +}