} array_unshift( $inputConfiguration, array( 'staticKeyFilters' => array( 'cookietab' => 'int', 'callback' => 'word', ), 'staticKeyFiltersForArrays' => array( ) ) ); require_once('lib/init/initlib.php'); TikiInit::prependIncludePath($tikipath.'lib/pear'); TikiInit::appendIncludePath($tikipath.'lib/core'); TikiInit::appendIncludePath($tikipath); require_once 'Zend/Loader/Autoloader.php'; Zend_Loader_Autoloader::getInstance() ->registerNamespace('Horde') ->registerNamespace('TikiFilter') ->registerNamespace('DeclFilter') ->registerNamespace('JisonParser') ->registerNamespace('JitFilter') ->registerNamespace('Search') ->registerNamespace('Perms') ->registerNamespace('Math') ->registerNamespace('Category') ->registerNamespace('WikiParser') ->registerNamespace('StandardAnalyzer') ->registerNamespace('Tracker') ->registerNamespace('Event_')
<?php /** * @package tikiwiki */ // (c) Copyright 2002-2015 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id$ require_once 'tiki-setup.php'; $access->check_feature('feature_calendar'); $access->check_permission('tiki_p_view_events'); // Initialization TikiInit::appendIncludePath("lib/ical/"); include_once 'lib/ical/iCal.php'; // list calendars // $calendarlib = TikiLib::lib('calendar'); // ###trebly:B10111:[FIX-ADD-ENH]-> there are several meaning for the same var $calendarViewMode if (!isset($calendarViewMode)) { // ###trebly:B10111:[FIX-ADD-ENH]-> $calendarViewMode become an array, several bugs comes from confusion of global values and parameters by ref // for calendars : (main-)calendar, action_calendar, mod_calendar, mod_action_calendar the changes of values by url request is terrible // for the moment 01/11/2011:11:55 just one value is used with index 'default', but initialisation is done. // The init is actually into two places, tiki-calendar_setup.php and tiki-calendar_export.php will be grouped for clean // $prefs would be added when need, $_SESSION, $PARAMS too this now generates not any change in the behavior. $calendarViewMode = array(casedefault => 'month', calgen => 'month', calaction => 'month', modcalgen => 'month', modcalaction => 'month', trackercal => 'month'); if (!empty($_REQUEST['viewmode'])) { $calendarViewMode['casedefault'] = $_REQUEST['viewmode']; } elseif (!empty($_SESSION['CalendarViewMode'])) { $calendarViewMode['casedefault'] = $_SESSION['CalendarViewMode']; } else {