<?php

/**
 * GCalendar 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 3 of the License, or
 * (at your option) any later version.
 *
 * GCalendar 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 GCalendar.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @author Allon Moritz
 * @copyright 2007-2011 Allon Moritz
 * @since 2.2.0
 */
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.model');
require_once JPATH_ADMINISTRATOR . '/components/com_gcalendar/util.php';
require_once JPATH_ADMINISTRATOR . '/components/com_gcalendar/libraries/GCalendar/GCalendarZendHelper.php';
require_once dirname(__FILE__) . '/helper.php';
require_once JPATH_BASE . '/components/com_gcalendar/libraries/fullcalendar/fullcalendar.php';
require_once dirname(__FILE__) . '/helper.php';
$calendars = ModGCalendarHelper::getCalendars($params);
require JModuleHelper::getLayoutPath('mod_gcalendar');
Esempio n. 2
0
    ?>
					<span itemprop="name"><?php 
    echo $event->summary;
    ?>
</span>
					<?php 
    if ($params->get('show_link', true)) {
        ?>
				</a>
			<?php 
    }
    ?>
			</div>
			<div class="event-duration">
				<?php 
    echo ModGCalendarHelper::duration($event);
    ?>
			</div>
			<?php 
    if ($params->get('show_location', false) && !empty($event->location)) {
        ?>
				<div class="event-location"><?php 
        echo $event->location;
        ?>
</div>
			<?php 
    }
    ?>
		</li>
	<?php 
}