source: sandbox/2.3-MailArchiver/calendar/inc/hook_home_planner.inc.php @ 6779

Revision 6779, 1.3 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1<?php
2  /**************************************************************************\
3  * eGroupWare - Calendar - Planner                                          *
4  * http://www.egroupware.org                                                *
5  * Based on Webcalendar by Craig Knudsen <cknudsen@radix.net>               *
6  *          http://www.radix.net/~cknudsen                                  *
7  * Written by Mark Peters <skeeter@phpgroupware.org>                        *
8  * --------------------------------------------                             *
9  *  This program is free software; you can redistribute it and/or modify it *
10  *  under the terms of the GNU General Public License as published by the   *
11  *  Free Software Foundation; either version 2 of the License, or (at your  *
12  *  option) any later version.                                              *
13  \**************************************************************************/
14
15
16        $d1 = strtolower(substr(PHPGW_APP_INC,0,3));
17        if($d1 == 'htt' || $d1 == 'ftp' )
18        {
19                echo 'Failed attempt to break in via an old Security Hole!<br>'."\n";
20                $GLOBALS['phpgw']->common->phpgw_exit();
21        }
22        unset($d1);
23
24        $GLOBALS['extra_data'] = '<table width="100%" cellpadding="0"><tr><td bgcolor="white">'.
25                ExecMethod('calendar.uicalendar.planner').'</td></tr></table>';
26?>
Note: See TracBrowser for help on using the repository browser.