Esempio n. 1
0
 * @author             Tuan Pham Ngoc
 * @copyright          Copyright (C) 2010 - 2015 Ossolution Team
 * @license            GNU/GPL, see LICENSE.php
 */
// no direct access
defined('_JEXEC') or die;
$timeFormat = $this->config->event_time_format ? $this->config->event_time_format : 'g:i a';
$width = (int) $this->config->map_width;
if (!$width) {
    $width = 800;
}
$height = (int) $this->config->map_height;
if (!$height) {
    $height = 600;
}
EventbookingHelperJquery::colorbox('eb-colorbox-map', $width . 'px', $height . 'px', 'true', 'false');
$bootstrapHelper = new EventbookingHelperBootstrap($this->config->twitter_bootstrap_version);
$daysInWeek = array(0 => JText::_('EB_SUNDAY'), 1 => JText::_('EB_MONDAY'), 2 => JText::_('EB_TUESDAY'), 3 => JText::_('EB_WEDNESDAY'), 4 => JText::_('EB_THURSDAY'), 5 => JText::_('EB_FRIDAY'), 6 => JText::_('EB_SATURDAY'));
$monthsInYear = array(1 => JText::_('EB_JAN'), 2 => JText::_('EB_FEB'), 3 => JText::_('EB_MARCH'), 4 => JText::_('EB_APR'), 5 => JText::_('EB_MAY'), 6 => JText::_('EB_JUNE'), 7 => JText::_('EB_JUL'), 8 => JText::_('EB_AUG'), 9 => JText::_('EB_SEP'), 10 => JText::_('EB_OCT'), 11 => JText::_('EB_NOV'), 12 => JText::_('EB_DEC'));
?>

<div class="eb-calendar-page">
	<h1 class="eb-page-heading"><?php 
echo JText::_('EB_CALENDAR');
?>
</h1>
	<div id="extcalendar">
	<div class="topmenu_calendar row">
		<div class="left_calendar col-sm-7">
			<div class="today">
				<?php 
Esempio n. 2
0
    if (version_compare(JVERSION, '3.1', 'ge') && JLanguageMultilang::isEnabled()) {
        $associations = JLanguageAssociations::getAssociations('com_content', '#__content', 'com_content.item', $articleId);
        $langCode = JFactory::getLanguage()->getTag();
        if (isset($associations[$langCode])) {
            $article = $associations[$langCode];
        }
    }
    if (!isset($article)) {
        $db = JFactory::getDbo();
        $query = $db->getQuery(true);
        $query->select('id, catid')->from('#__content')->where('id = ' . (int) $articleId);
        $db->setQuery($query);
        $article = $db->loadObject();
    }
    require_once JPATH_ROOT . '/components/com_content/helpers/route.php';
    EventbookingHelperJquery::colorbox('eb-colorbox-term');
    $termLink = ContentHelperRoute::getArticleRoute($article->id, $article->catid) . '&tmpl=component&format=html';
    ?>
		<div class="<?php 
    echo $controlGroupClass;
    ?>
">			
			<label class="checkbox">
				<input type="checkbox" name="accept_term" value="1" class="validate[required]" data-errormessage="<?php 
    echo JText::_('EB_ACCEPT_TERMS');
    ?>
" />
				<?php 
    echo JText::_('EB_ACCEPT');
    ?>
&nbsp;