X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fbug_report%2Fsetup.php;h=751e6e2693eb2b06ddb2a7473b19618897bab3f6;hp=3e782d4816dfe8ae1185cf8c04ce0a2bcd91ae17;hb=16dd8736f68b753f06df30ff39892ef18579e2ce;hpb=598294a727a2789b7c562ee7083da703c8bb0628 diff --git a/plugins/bug_report/setup.php b/plugins/bug_report/setup.php index 3e782d48..751e6e26 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','','style="white-space: nowrap;"') . "\n" . - ' ' . _("Show button in toolbar") . "\n"; - - echo '' . - '' . _("Show system specs") . ''; -} - -?> \ No newline at end of file +function bug_report_version() { + $info = bug_report_info(); + return $info['version']; +}