Exemplo n.º 1
0
$buchopt = MatukioHelperUtilsEvents::getEventBookableArray(0, $this->kurs, 0);
$filterStatus = $this->filterStatus;
?>
<form action="<?php 
echo JRoute::_("index.php?option=com_matukio&view=participants&cid=" . $this->kurs->id . "&art=2");
?>
"
      method="post" name="ParticipantsForm" id="ParticipantsForm">
<?php 
$knopfunten = "";
$zurueck = array(0, 1, 2, 24);
$backlink = JRoute::_("index.php?option=com_matukio&");
$knopfoben = "<a title=\"" . JTEXT::_('COM_MATUKIO_BACK') . "\" href=\"javascript:history.go(-1)\"><img src=\"" . MatukioHelperUtilsBasic::getComponentImagePath() . "1032.png\" border=\"0\" align=\"absmiddle\"></a>";
if ($this->art > 1) {
    $knopfoben .= MatukioHelperUtilsEvents::getEmailWindow(MatukioHelperUtilsBasic::getComponentImagePath(), $this->kurs->id, 3);
    $knopfunten .= " " . MatukioHelperUtilsEvents::getEmailWindow(MatukioHelperUtilsBasic::getComponentImagePath(), $this->kurs->id, 4);
}
if (count($this->rows) > 0 and $this->art > 1) {
    $knopfoben .= MatukioHelperUtilsEvents::getPrintWindow(7, $this->kurs->id, '', '');
    $knopfoben .= MatukioHelperUtilsEvents::getPrintWindow(5, $this->kurs->id, '', '');
    $csvlink = JURI::ROOT() . 'index.php?option=com_matukio&view=printeventlist&format=raw&todo=csvlist&cid=' . $this->kurs->id;
    $knopfoben .= "<a title=\"" . JTEXT::_('COM_MATUKIO_DOWNLOAD_CSV_FILE') . "\" href=\"" . $csvlink . "\"><img src=\"" . MatukioHelperUtilsBasic::getComponentImagePath() . "1632.png\" border=\"0\" align=\"absmiddle\"></a>";
    $knopfunten .= " " . MatukioHelperUtilsEvents::getPrintWindow(7, $this->kurs->id, '', 'b');
    $knopfunten .= " " . MatukioHelperUtilsEvents::getPrintWindow(5, $this->kurs->id, '', 'b');
    $knopfunten .= " <a href=\"" . $csvlink . "\" target=\"_blank\"><span class=\"mat_button\" style=\"cursor:pointer;\"><img src=\"" . MatukioHelperUtilsBasic::getComponentImagePath() . "1616.png\" border=\"0\" align=\"absmiddle\">&nbsp;" . JTEXT::_('COM_MATUKIO_DOWNLOAD_CSV_FILE') . "</span></a>";
}
if ($this->art > 1) {
    $booklink = JRoute::_("index.php?option=com_matukio&view=editbooking&task=new&cid=" . $this->kurs->id);
    $knopfoben .= "<a title=\"" . JTEXT::_('COM_MATUKIO_BOOK') . "\" href=\"" . $booklink . "\"><img src=\"" . MatukioHelperUtilsBasic::getComponentImagePath() . "1132.png\" border=\"0\" align=\"absmiddle\"></a>";
    $knopfunten .= " <a href=\"" . $booklink . "\"><span class=\"mat_button\" style=\"cursor:pointer;\"><img src=\"" . MatukioHelperUtilsBasic::getComponentImagePath() . "1116.png\" border=\"0\" align=\"absmiddle\">&nbsp;" . JTEXT::_('COM_MATUKIO_BOOK') . "</span></a>";
}
Exemplo n.º 2
0
}
?>

			<?php 
// Show description
if ($this->event->description != "") {
    echo MatukioHelperUtilsBasic::parseOutput(JHtml::_('content.prepare', JText::_($this->event->description)), $parse);
}
?>
		</div>
	</div>
	<div id="mat_bottom">
		<?php 
// Kontaktformular
if (MatukioHelperSettings::getSettings("sendmail_contact", 1)) {
    echo MatukioHelperUtilsEvents::getEmailWindow(MatukioHelperUtilsBasic::getComponentImagePath(), $this->event->id, 1, "modern");
}
// Kalender
if (MatukioHelperSettings::getSettings('frontend_usericsdownload', 1) > 0) {
    echo MatukioHelperUtilsEvents::getCalendarButton($this->event);
}
// Print Overview (normally always allowed)
echo MatukioHelperUtilsEvents::getPrintWindow(2, $this->event->id, '', 'b', "modern");
// Participants (if allowed)
if (MatukioHelperSettings::getSettings('frontend_userviewteilnehmer', 0) == 2 and $this->user->id > 0 or MatukioHelperSettings::getSettings('frontend_userviewteilnehmer', 0) == 1) {
    $htxt = "&nbsp";
    if ($this->event->nrbooked > 0) {
        $viewteilnehmerlink = JRoute::_("index.php?option=com_matukio&view=participants&cid=" . $this->event->id . "&art=0");
        echo " <a href=\"" . $viewteilnehmerlink . "\"><span class=\"mat_button\" style=\"cursor:pointer;\"\n                                        title=\"" . JTEXT::_('COM_MATUKIO_BOOKINGS') . "\">" . "<img src=\"" . MatukioHelperUtilsBasic::getComponentImagePath() . "0004.png\" border=\"0\" align=\"absmiddle\">&nbsp;" . JTEXT::_('COM_MATUKIO_PARTICIPANTS') . "</span></a>";
    }
}
Exemplo n.º 3
0
</td>
					<td><?php 
    echo $this->organizer->website;
    ?>
</td>
				</tr>
			<?php 
}
?>
			<?php 
if (MatukioHelperSettings::getSettings("sendmail_contact", 1)) {
    ?>
				<tr>
					<td colspan="2">
						<?php 
    echo MatukioHelperUtilsEvents::getEmailWindow(MatukioHelperUtilsBasic::getComponentImagePath(), $this->organizer->id, "organizer", "modern");
    // Kontaktformular
    // echo MatukioHelperUtilsEvents::getEmailWindow(MatukioHelperUtilsBasic::getComponentImagePath(), $this->event->id, 1, "modern");
    ?>
					</td>
				</tr>
			<?php 
}
?>
		</table>
	</div>
	<?php 
echo JHtml::_('content.prepare', $this->organizer->description);
// CComment and co
echo $this->jevent->afterDisplayContent;
// Since 3.1.0 - Show upcoming events with that organizer