X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fbug_report%2Fsetup.php;h=751e6e2693eb2b06ddb2a7473b19618897bab3f6;hp=05ef6e7f5663f318f4823e5c9c19832f3685897c;hb=b1fbb25f561e6b151f7cf72744b03253f8d395fb;hpb=9eb3fcb302b8e0363760bee586f1c43e7050b365 diff --git a/plugins/bug_report/setup.php b/plugins/bug_report/setup.php index 05ef6e7f..751e6e26 100644 --- a/plugins/bug_report/setup.php +++ b/plugins/bug_report/setup.php @@ -1,90 +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"; -} - -?> +function bug_report_version() { + $info = bug_report_info(); + return $info['version']; +}