<?php
/*
 *  setup.php
 *
 *  Copyright (c) 2001 Michal Szczotka <michal@tuxy.org>
 *  Licensed under the GNU GPL. For full terms see the file COPYING.
 *
 *  init plugin into squirrelmail
 *
 * $Id: setup.php,v 1.2 2002/01/22 12:48:46 philippe_mingo Exp $ 
 */


function squirrelmail_plugin_init_calendar() {
    global $squirrelmail_plugin_hooks;
    $squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar';
}

function calendar() {
    //Add Calendar link to upper menu
    displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right');
    echo "&nbsp;&nbsp\n";
}

?>