Source for file setup.php

Documentation is available at setup.php

  1. <?php
  2.  
  3. /**
  4.  * Calendar plugin activation script
  5.  *
  6.  * @copyright 2002-2020 The SquirrelMail Project Team
  7.  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  8.  * @version $Id: setup.php 14845 2020-01-07 08:09:34Z pdontthink $
  9.  * @package plugins
  10.  * @subpackage calendar
  11.  */
  12.  
  13. /**
  14.   * Register this plugin with SquirrelMail
  15.   * 
  16.   * @return void 
  17.   *
  18.   */
  19.  
  20.     global $squirrelmail_plugin_hooks;
  21.  
  22.     $squirrelmail_plugin_hooks['template_construct_page_header.tpl']['calendar'
  23.         = 'calendar';
  24.  
  25. }
  26.  
  27.  
  28. /**
  29.   * Add link to menu at top of content pane
  30.   *
  31.   * @return void 
  32.   *
  33.   */
  34. function calendar({
  35.  
  36.     include_once(SM_PATH 'plugins/calendar/functions.php');
  37.     return calendar_do();
  38.  
  39. }

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