removed local directory name used for testing.
[squirrelmail.git] / plugins / listcommands / setup.php
CommitLineData
73ee43b1 1<?php
519f07d7 2
3/**
4 * setup.php
5 *
6c84ba1e 6 * Copyright (c) 1999-2005 The SquirrelMail Project Team
519f07d7 7 * Licensed under the GNU GPL. For full terms see the file COPYING.
73ee43b1 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 *
793566f0 14 * @version $Id$
ea5f4b8e 15 * @package plugins
16 * @subpackage listcommands
73ee43b1 17 */
519f07d7 18
ea5f4b8e 19/**
20 * Initialize the listcommands plugin
21 */
519f07d7 22function squirrelmail_plugin_init_listcommands () {
73ee43b1 23 global $squirrelmail_plugin_hooks;
24
25 $squirrelmail_plugin_hooks['read_body_header']['listcommands'] = 'plugin_listcommands_menu';
26}
27
f4f2d73f 28/**
29 * Main function added to read_body_header
30 */
d54c9a9c 31function plugin_listcommands_menu() {
793566f0 32 include_once(SM_PATH . 'plugins/listcommands/functions.php');
33 plugin_listcommands_menu_do();
050722c4 34}
d54c9a9c 35
e50f5ac2 36?>