lowercase package tag. fix phpdoc block.
[squirrelmail.git] / plugins / listcommands / setup.php
... / ...
CommitLineData
1<?php
2
3/**
4 * setup.php
5 *
6 * Copyright (c) 1999-2005 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
8 *
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.
13 *
14 * @version $Id$
15 * @package plugins
16 * @subpackage listcommands
17 */
18
19/**
20 * Initialize the listcommands plugin
21 */
22function squirrelmail_plugin_init_listcommands () {
23 global $squirrelmail_plugin_hooks;
24
25 $squirrelmail_plugin_hooks['read_body_header']['listcommands'] = 'plugin_listcommands_menu';
26}
27
28function plugin_listcommands_menu() {
29 include_once(SM_PATH . 'plugins/listcommands/functions.php');
30 plugin_listcommands_menu_do();
31}
32
33?>