Source for file setup.php

Documentation is available at setup.php

  1. <?php
  2.  
  3. /**
  4.  * setup.php
  5.  *
  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.
  10.  *
  11.  * @copyright 1999-2020 The SquirrelMail Project Team
  12.  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  13.  * @version $Id: setup.php 14845 2020-01-07 08:09:34Z pdontthink $
  14.  * @package plugins
  15.  * @subpackage listcommands
  16.  */
  17.  
  18. /**
  19.  * Initialize the listcommands plugin
  20.  */
  21.     global $squirrelmail_plugin_hooks;
  22.  
  23.     $squirrelmail_plugin_hooks['template_construct_read_headers.tpl']['listcommands''plugin_listcommands_menu';
  24.     $squirrelmail_plugin_hooks['optpage_register_block']['listcommands''plugin_listcommands_optpage_register_block';
  25.  
  26. }
  27.  
  28. /**
  29.  * Main function added to read_body_header
  30.  */
  31.     include_once(SM_PATH 'plugins/listcommands/functions.php');
  32.     return plugin_listcommands_menu_do();
  33. }
  34.  
  35.  
  36. /**
  37.   * Show mailing list management option section on options page
  38.   */
  39.     include_once(SM_PATH 'plugins/listcommands/functions.php');
  40. }

Documentation generated on Mon, 13 Jan 2020 04:23:32 +0100 by phpDocumentor 1.4.3