get('use_modal', 0)) { echo JemOutput::lightbox(); $modal = 'lightbox'; } else { $modal = 'notmodal'; } $imagewidth = 'inherit'; if ($jemsettings->imagewidth != 0) { $imagewidth = $jemsettings->imagewidth .'px'; } $imagewidthstring = 'jem-imagewidth'; if (JemHelper::jemStringContains($params->get('moduleclass_sfx'), $imagewidthstring)) { $pageclass_sfx = $params->get('moduleclass_sfx'); $imagewidthpos = strpos($pageclass_sfx, $imagewidthstring); $spacepos = strpos($pageclass_sfx, ' ', $imagewidthpos); if ($spacepos === false) { $spacepos = strlen($pageclass_sfx); } $startpos = $imagewidthpos + strlen($imagewidthstring); $endpos = $spacepos - $startpos; $imagewidth = substr($pageclass_sfx, $startpos, $endpos); } $imageheight = 'auto'; $imageheigthstring = 'jem-imageheight'; if (JemHelper::jemStringContains($params->get('moduleclass_sfx'), $imageheigthstring)) { $pageclass_sfx = $params->get('moduleclass_sfx'); $imageheightpos = strpos($pageclass_sfx, $imageheigthstring); $spacepos = strpos($pageclass_sfx, ' ', $imageheightpos); if ($spacepos === false) { $spacepos = strlen($pageclass_sfx); } $startpos = $imageheightpos + strlen($imageheigthstring); $endpos = $spacepos - $startpos; $imageheight = substr($pageclass_sfx, $startpos, $endpos); } $document = Factory::getDocument(); $css = ' #jemmoduleteaser .jem-eventimg-teaser img { width: 100%; height: ' . $imageheight . '; } @media not print { @media only all and (max-width: 47.938rem) { #jemmoduleteaser .jem-eventimg-teaser img { width: ' . $imagewidth . '; height: ' . $imageheight . '; } } }'; $document->addStyleDeclaration($css); ?>
'; $titleendtag = ''; if ($module->showtitle) { $titletag = '

'; $titleendtag = '

'; } ?>
eventlink) : ?> title; ?>
colorclass === "category" || $item->colorclass === "alpha"): ?>
color)): ?> style="background-color: color; ?>">
' : ($item->color_is_dark === 0 ? ' monthcolor-dark">' : '">')) : '">'; echo $item->startdate['month']; ?>
dayname) ? '
' : $item->dayname; ?>
daynum) ? '?' : $item->daynum; ?>
date && $params->get('datemethod', 1) == 2) :?>
date; ?>
date && $params->get('datemethod', 1) == 1) : ?>
dateinfo; ?>
time && $params->get('datemethod', 1) == 1) :?>
time; ?>
venue)) : ?> get('moduleclass_sfx'), 'jem-novenue')) : ?>
venuelink) : ?> venue; ?> venue; ?>
get('moduleclass_sfx'), 'jem-nocats')) : ?>
catname; ?>
showimageevent): ?> eventimage,'/media/com_jem/images/blank.png') === false) : ?> get('moduleclass_sfx'), 'jem-noimageevent')) : ?> eventimage)) : ?>
get('use_modal')) : ?> eventimageorig) { $image = $item->eventimageorig; $document = Factory::getDocument(); $document->addStyleSheet(Uri::base() .'media/com_jem/css/lightbox.min.css'); $document->addScript(Uri::base() . 'media/com_jem/js/lightbox.min.js'); echo ''; } else { $image = ''; } ?> <?php echo $item->title; ?> get('use_modal')) : ?>
showimagevenue): ?> venueimage,'/media/com_jem/images/blank.png') === false) : ?> get('moduleclass_sfx'), 'jem-noimagevenue')) : ?> venueimage)) : ?>
get('use_modal')) : ?> venueimageorig) { $image = $item->venueimageorig; } ?> <?php echo $item->venue; ?> get('use_modal')) : ?>
showdescriptionevent): ?>
eventdescription; if (isset($item->link) && $item->readmore != 0 && $params->get('readmore')) : ?>
dateschema; ?>
'; endif; ?>