X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fbug_report%2Fsetup.php;h=28a7aca5cc36f83d81f62b219afe92708d50289c;hp=5c8bb4590c81d2ea318a5fb9eb0bc9a058dcb5da;hb=b4d528823ec03ff0482dd244a4186e06a0bdd001;hpb=ce68b76bfdef63cbc85d7bc46f7f1d538db9b4a4 diff --git a/plugins/bug_report/setup.php b/plugins/bug_report/setup.php index 5c8bb459..28a7aca5 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']; +}