6 * Implementation of RFC 2369 for SquirrelMail.
7 * When viewing a message from a mailinglist complying with this RFC,
8 * this plugin displays a menu which gives the user a choice of mailinglist
9 * commands such as (un)subscribe, help and list archives.
11 * @copyright © 1999-2006 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
15 * @subpackage listcommands
19 * Initialize the listcommands plugin
21 function squirrelmail_plugin_init_listcommands () {
22 global $squirrelmail_plugin_hooks;
24 $squirrelmail_plugin_hooks['read_body_header']['listcommands'] = 'plugin_listcommands_menu';
28 * Main function added to read_body_header
30 function plugin_listcommands_menu() {
31 include_once(SM_PATH
. 'plugins/listcommands/functions.php');
32 plugin_listcommands_menu_do();