# # Exponent 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. # # Exponent is distributed in the hope that it # will be useful, but WITHOUT ANY WARRANTY; # without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR # PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU # General Public License along with Exponent; if # not, write to: # # Free Software Foundation, Inc., # 59 Temple Place, # Suite 330, # Boston, MA 02111-1307 USA # # $Id: viewmonth.php,v 1.6 2005/02/19 00:32:29 filetreefrog Exp $ ################################################## if (!defined('PATHOS')) { exit(''); } pathos_flow_set(SYS_FLOW_PUBLIC, SYS_FLOW_ACTION); calendarmodule::show(DEFAULT_VIEW, $loc);
<?php ################################################## # # Copyright (c) 2004-2011 OIC Group, Inc. # Written and Designed by James Hunt # # This file is part of Exponent # # Exponent 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. # # GPL: http://www.gnu.org/licenses/gpl.txt # ################################################## if (!defined('EXPONENT')) { exit(''); } global $router; //expHistory::flowSet(SYS_FLOW_PUBLIC,SYS_FLOW_ACTION); expHistory::set('viewable', $router->params); $view = isset($_GET['view']) ? $_GET['view'] : "Default"; $title = $db->selectValue('container', 'title', "internal='" . serialize($loc) . "'"); calendarmodule::show($view, $loc, $title);