Highway to PSR2
[openemr.git] / interface / main / calendar / modules / PostCalendar / index.php
blob5a56710afec9262a3df4c3c317139aacf4bdf54b
1 <?php
2 /**
3 * $Id$
5 * PostCalendar::PostNuke Events Calendar Module
6 * Copyright (C) 2002 The PostCalendar Team
7 * http://postcalendar.tv
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 * To read the license please read the docs/license.txt or visit
24 * http://www.gnu.org/copyleft/gpl.html
28 /*******************************************************
29 This file is for the old module load routine
30 You can now link the module in a menu using the
31 module name enclosed with brackets
32 (ex: [PostCalendar])
33 *******************************************************/
34 if (!defined("LOADED_AS_MODULE")) {
35 echo 'You may not access this module directly';
36 } else {
37 pnRedirect(pnModURL(pnVarCleanFromInput('name'), 'user', 'main'));