From: tokul Date: Sat, 5 Nov 2005 11:10:26 +0000 (+0000) Subject: search forms are moved to squirrelmail site. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2329d86dc01015028456a4e224c30f3b807f749d;p=squirrelmail.git search forms are moved to squirrelmail site. added configuration options that control availability of plugin to end users git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10252 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/bug_report/README b/plugins/bug_report/README index f81ffdaf..1804d017 100644 --- a/plugins/bug_report/README +++ b/plugins/bug_report/README @@ -35,8 +35,23 @@ Future Work Installation ============ -Go back to the main directory, run configure and add the plugin. - +You must configure plugin before you enable it in your SquirrelMail +installation. Plugin's configuration is stored in +config/bug_report_config.php or plugins/bug_report/config.php files. +Configuration options can be found in plugins/bug_report/config_default.php +file. + +If both configuration files are present, plugin uses the one in +config/ directory. + +By default plugin is visible only to users listed in +plugins/bug_report/admins or config/admins file or only to user +that owns main SquirrelMail configuration file. Other users can use +bug_report plugin, if you set administrator's email in plugin's +configuration and set $bug_report_allow_users option to true. + +Once plugin is configured, go back to the main directory, run configure +and enable the plugin. Credits ======= diff --git a/plugins/bug_report/bug_report.php b/plugins/bug_report/bug_report.php index 192a9194..6f15ca4a 100644 --- a/plugins/bug_report/bug_report.php +++ b/plugins/bug_report/bug_report.php @@ -1,5 +1,4 @@ \n"; exit(); } -// loading form functions -include_once(SM_PATH . 'functions/forms.php'); - -displayPageHeader($color, 'None'); - +/** get system specs */ include_once(SM_PATH . 'plugins/bug_report/system_specs.php'); -include_once(SM_PATH . 'plugins/bug_report/functions.php'); global $body; -$body_top = "I subscribe to the squirrelmail-users mailing list.\n" . +$body_top = "I am subscribed to the this mailing list.\n" . + " (applies when you are sending email to SquirrelMail mailing list)\n". " [ ] True - No need to CC me when replying\n" . " [ ] False - Please CC me when replying\n" . "\n" . @@ -103,7 +104,14 @@ echo "

\n";
- :