X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fbug_report%2Fsetup.php;h=5e77776e9bb2dc304cacb9238ae9c91f5de1ec09;hp=3aed195895e1851aec619a595c659ae8f92e4cfa;hb=3c621ba1116356a3a8e2616ef6d267f5edb3ea06;hpb=3c66c567ff1ec35d730b15368cf9563f1979496e diff --git a/plugins/bug_report/setup.php b/plugins/bug_report/setup.php index 3aed1958..5e77776e 100644 --- a/plugins/bug_report/setup.php +++ b/plugins/bug_report/setup.php @@ -3,19 +3,25 @@ /** * setup.php * - * Copyright (c) 1999-2003 The SquirrelMail development team + * Copyright (c) 1999-2004 The SquirrelMail development team * Licensed under the GNU GPL. For full terms see the file COPYING. * * This is a standard Squirrelmail-1.2 API for plugins. * - * $Id$ + * @version $Id$ + * @package plugins + * @subpackage bug_report */ /* This button fills out a form with your setup information already gathered -- all you have to do is type. */ -/* Initialize the bug report plugin */ +/** + * Initialize the bug report plugin + * @return void + * @access private + */ function squirrelmail_plugin_init_bug_report() { global $squirrelmail_plugin_hooks; @@ -26,7 +32,10 @@ function squirrelmail_plugin_init_bug_report() { } -/* Show the button in the main bar */ +/** + * Show the button in the main bar + * @access private + */ function bug_report_button() { global $color, $bug_report_visible; @@ -34,11 +43,14 @@ function bug_report_button() { return; } - displayInternalLink('plugins/bug_report/bug_report.php', 'Bug', ''); + displayInternalLink('plugins/bug_report/bug_report.php', _("Bug"), ''); echo "  \n"; } - +/** + * Saves bug report options + * @access private + */ function bug_report_save() { global $username,$data_dir; @@ -49,7 +61,10 @@ function bug_report_save() { } } - +/** + * Loads bug report options + * @access private + */ function bug_report_load() { global $username, $data_dir; global $bug_report_visible; @@ -57,16 +72,22 @@ function bug_report_load() { $bug_report_visible = getPref($data_dir, $username, 'bug_report_visible'); } - +/** + * Adds bug report options to display page + * @access private + */ function bug_report_options() { global $bug_report_visible; - echo '' . _("Bug Reports:") . "\n" . - '' . html_tag('td',_("Bug Reports:"),'right','','nowrap') . "\n" . + ' ' . _("Show button in toolbar") . "\n"; + echo ' /> ' . _("Show button in toolbar") . "\n"; + + echo '' . + '' . _("Show system specs") . ''; } ?>