2003-08-28 16:31:11 +02:00
|
|
|
<?php
|
2004-08-01 17:36:04 +02:00
|
|
|
/**************************************************************************\
|
|
|
|
* eGroupWare - Calendar's Sidebox-Menu for idots-template *
|
|
|
|
* http://www.egroupware.org *
|
|
|
|
* Written by Pim Snel <pim@lingewoud.nl> *
|
|
|
|
* -------------------------------------------- *
|
|
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU General Public License as published by the *
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
|
|
* option) any later version. *
|
|
|
|
\**************************************************************************/
|
2003-08-28 16:31:11 +02:00
|
|
|
|
2004-08-01 17:36:04 +02:00
|
|
|
/* $Id$ */
|
2003-08-28 16:31:11 +02:00
|
|
|
|
2004-08-01 17:36:04 +02:00
|
|
|
/**
|
|
|
|
* File is depricated, the hook moved into the class uical !!!
|
|
|
|
*/
|
2003-08-28 16:31:11 +02:00
|
|
|
|
2004-08-01 17:36:04 +02:00
|
|
|
// register the new hooks, if the admin missed it ;-)
|
2003-08-28 16:31:11 +02:00
|
|
|
|
2004-08-01 17:36:04 +02:00
|
|
|
if (!is_object($GLOBALS['phpgw']->hooks))
|
|
|
|
{
|
|
|
|
$GLOBALS['phpgw']->hooks = CreateObject('phpgwapi.hooks');
|
|
|
|
}
|
|
|
|
include(PHPGW_INCLUDE_ROOT . '/calendar/setup/setup.inc.php');
|
2003-08-28 16:31:11 +02:00
|
|
|
|
2004-08-01 17:36:04 +02:00
|
|
|
$GLOBALS['phpgw']->hooks->register_hooks('calendar',$setup_info['calendar']['hooks']);
|
2003-08-28 16:31:11 +02:00
|
|
|
|
2004-08-01 17:36:04 +02:00
|
|
|
ExecMethod($setup_info['calendar']['hooks']['sidebox_menu']);
|