6 * Copyright (c) 1999-2005 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
9 * Implementation of RFC 2369 for SquirrelMail.
10 * When viewing a message from a mailinglist complying with this RFC,
11 * this plugin displays a menu which gives the user a choice of mailinglist
12 * commands such as (un)subscribe, help and list archives.
16 * @subpackage listcommands
20 * Initialize the listcommands plugin
22 function squirrelmail_plugin_init_listcommands () {
23 global $squirrelmail_plugin_hooks;
25 $squirrelmail_plugin_hooks['read_body_header']['listcommands'] = 'plugin_listcommands_menu';
29 * Main function added to read_body_header
31 function plugin_listcommands_menu() {
32 include_once(SM_PATH
. 'plugins/listcommands/functions.php');
33 plugin_listcommands_menu_do();