Esempio n. 1
0
						echo JemOutput::formatSchemaOrgDateTime($row->dates, $row->times,
							$row->enddates, $row->endtimes);
					?>
				</td>

				<?php if (($this->jemsettings->showtitle == 1) && ($this->jemsettings->showdetails == 1)) : ?>
					<td headers="jem_title" align="left" valign="top">
						<a href="<?php echo JRoute::_(JemHelperRoute::getEventRoute($row->slug)); ?>" itemprop="url">
							<span itemprop="name"><?php echo $this->escape($row->title) . JemOutput::recurrenceicon($row); ?></span>
						</a><?php echo JemOutput::publishstateicon($row); ?>
					</td>
				<?php endif; ?>

				<?php if (($this->jemsettings->showtitle == 1) && ($this->jemsettings->showdetails == 0)) : ?>
					<td headers="jem_title" align="left" valign="top" itemprop="name">
						<?php echo $this->escape($row->title) . JemOutput::recurrenceicon($row) . JemOutput::publishstateicon($row); ?>
					</td>
				<?php endif; ?>

				<?php if ($this->jemsettings->showlocate == 1) : ?>
					<td headers="jem_location" align="left" valign="top">
						<?php if ($this->jemsettings->showlinkvenue == 1) : ?>
							<?php echo !empty($row->locid) ? "<a href='".JRoute::_(JemHelperRoute::getVenueRoute($row->venueslug))."'>".$this->escape($row->venue)."</a>" : '-'; ?>
						<?php else : ?>
							<?php echo !empty($row->locid) ? $this->escape($row->venue) : '-'; ?>
						<?php endif; ?>
					</td>
				<?php endif; ?>

				<?php if ($this->jemsettings->showcity == 1) : ?>
					<td headers="jem_city" align="left" valign="top">
							<span itemprop="name"><?php 
            echo $this->escape($row->title) . JemOutput::recurrenceicon($row);
            ?>
</span>
						</a>
					</td>
				<?php 
        }
        ?>

				<?php 
        if ($this->jemsettings->showtitle == 1 && $this->jemsettings->showdetails == 0) {
            ?>
					<td headers="jem_title" itemprop="name">
						<?php 
            echo $this->escape($row->title) . JemOutput::recurrenceicon($row);
            ?>
					</td>
				<?php 
        }
        ?>

				<?php 
        if ($this->jemsettings->showlocate == 1) {
            ?>
					<td headers="jem_location">
						<?php 
            if ($this->jemsettings->showlinkvenue == 1) {
                ?>
							<?php 
                echo !empty($row->locid) ? "<a href='" . JRoute::_(JemHelperRoute::getVenueRoute($row->venueslug)) . "'>" . $this->escape($row->venue) . "</a>" : '-';
Esempio n. 3
0
				</div>
				<div class="col-sm-4 col-xs-6">
					<button type="button" class="btn btn-danger btn-block" onclick="Joomla.submitbutton('event.cancel')"><?php 
echo JText::_('JCANCEL');
?>
</button>
				</div>
			</div>

			<?php 
if ($this->item->recurrence_type > 0) {
    ?>
			<div class="description">
				<div class="pull-left;">
					<?php 
    echo JemOutput::recurrenceicon($this->item, false, false);
    ?>
				</div>
				<div class="floattext" style="margin-left:36px;">
					<strong><?php 
    echo JText::_('COM_JEM_EDITEVENT_WARN_RECURRENCE_TITLE');
    ?>
</strong>
					<br>
					<?php 
    if (!empty($this->item->recurrence_type) && empty($this->item->recurrence_first_id)) {
        echo nl2br(JText::_('COM_JEM_EDITEVENT_WARN_RECURRENCE_FIRST_TEXT'));
    } else {
        echo nl2br(JText::_('COM_JEM_EDITEVENT_WARN_RECURRENCE_TEXT'));
    }
    ?>
Esempio n. 4
0
			$("meta_keywords").value = $keywords;
			$("meta_description").value = $description;
		}
	}
</script>

<form
	action="<?php echo JRoute::_('index.php?option=com_jem&layout=edit&id='.(int) $this->item->id); ?>"
	class="form-validate" method="post" name="adminForm" id="event-form" enctype="multipart/form-data">

	<?php $recurr = empty($this->item->recurr_bak) ? $this->item : $this->item->recurr_bak; ?>
	<?php if (!empty($recurr->recurrence_number) || !empty($recurr->recurrence_type)) : ?>
	<div class="description">
		<div style="float:left;">
			<?php echo JemOutput::recurrenceicon($recurr, false, false); ?>
		</div>
		<div class="floattext" style="margin-left:36px;">
			<strong><?php echo JText::_('COM_JEM_EDITEVENT_WARN_RECURRENCE_TITLE'); ?></strong>
			<br>
			<?php
				if (!empty($recurr->recurrence_type) && empty($recurr->recurrence_first_id)) {
					echo nl2br(JText::_('COM_JEM_EDITEVENT_WARN_RECURRENCE_FIRST_TEXT'));
				} else {
					echo nl2br(JText::_('COM_JEM_EDITEVENT_WARN_RECURRENCE_TEXT'));
				}
			?>
		</div>
	</div>
	<div class="clear"></div>
	<?php endif; ?>
Esempio n. 5
0
	</div>

	<div class="clr"> </div>

	<?php if ($this->params->get('show_page_heading', 1)) : ?>
		<h1 class="componentheading">
			<?php echo $this->escape($this->params->get('page_heading')); ?>
		</h1>
	<?php endif; ?>

	<div class="clr"> </div>

	<!-- Event -->
	<h2 class="jem">
	<?php
		echo JText::_('COM_JEM_EVENT') . JemOutput::recurrenceicon($this->item);
		echo JemOutput::editbutton($this->item, $params, $attribs, $this->permissions->canEditEvent, 'editevent');
		?>
	</h2>

	<?php echo JemOutput::flyer($this->item, $this->dimage, 'event'); ?>

	<dl class="event_info floattext">
		<?php if ($params->get('event_show_detailstitle',1)) : ?>
		<dt class="title"><?php echo JText::_('COM_JEM_TITLE'); ?>:</dt>
		<dd class="title" itemprop="name"><?php echo $this->escape($this->item->title); ?></dd>
		<?php
		endif;
		?>
		<dt class="when"><?php echo JText::_('COM_JEM_WHEN'); ?>:</dt>
		<dd class="when">