primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

@ -0,0 +1,55 @@
.jem-banner-calendar {
width: 80px;
height: 80px;
position: relative;
overflow: hidden;
box-shadow: 3px 4px 4px -3px rgba(0, 0, 0, 0.3), -3px 4px 4px -3px rgba(0, 0, 0, 0.3);
border-radius: 0 0 5px 5px;
}
.jem-banner-calendar .color-bar {
position: absolute;
top: 5px;
left: 0;
right: 0;
height: 24px;
border-radius: 5px 5px 0 0;
}
.jem-banner-calendar .lower-background {
position: absolute;
top: 29px;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to top, #ddd 0%, #fff 50%);
}
.jem-banner-calendar .background-image {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url('img/cal.png');
background-repeat: no-repeat;
background-position: top;
background-size: contain;
z-index: 1;
}
#jemmodulebanner [class|="calendar"] .monthbanner.monthcolor-dark {
color: black;
text-shadow: -1px -1px 0 rgba(255,255,255,0.2),
1px -1px 0 rgba(255,255,255,0.2),
-1px 1px 0 rgba(255,255,255,0.2),
1px 1px 0 rgba(255,255,255,0.2);
}
#jemmodulebanner [class|="calendar"] .monthbanner.monthcolor-light {
color: #FFF;
text-shadow: -1px -1px 0 rgba(0,0,0,0.2),
1px -1px 0 rgba(0,0,0,0.2),
-1px 1px 0 rgba(0,0,0,0.2),
1px 1px 0 rgba(0,0,0,0.2);
}

View File

@ -0,0 +1,173 @@
<?php
/**
* @version 2.3.6
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2014-2019 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
$datemethod = (int)$params->get('datemethod', 1);
$showcalendar = (int)$params->get('showcalendar', 1);
$showflyer = (int)$params->get('showflyer', 1);
$flyer_link_type = (int)$params->get('flyer_link_type', 0);
if ($flyer_link_type == 1) {
JHtml::_('behavior.modal', 'a.flyermodal');
$modal = 'flyermodal';
} elseif ($flyer_link_type == 0) {
$modal = 'notmodal';
} else {
$modal = '';
}
?>
<div class="jemmodulebanner<?php echo $params->get('moduleclass_sfx')?>" id="jemmodulebanner">
<?php ?>
<div class="eventset" summary="mod_jem_banner">
<?php $i = count($list); ?>
<?php if ($i > 0) : ?>
<?php foreach ($list as $item) : ?>
<h2 class="event-title">
<?php if ($item->eventlink) : ?>
<a href="<?php echo $item->eventlink; ?>" title="<?php echo $item->fulltitle; ?>"><?php echo $item->title; ?></a>
<?php else : ?>
<?php echo $item->title; ?>
<?php endif; ?>
</h2>
<div>
<?php if ($showcalendar == 1) :?>
<div>
<div class="calendar<?php echo '-'.$item->colorclass; ?>"
title="<?php echo strip_tags($item->dateinfo); ?>"
<?php if (!empty($item->color)) : ?>
style="background-color: <?php echo $item->color; ?>"
<?php endif; ?>
>
<?php if (isset($item->color_is_dark)) : ?>
<div class="monthbanner monthbanner-<?php echo (!empty($item->color_is_dark) ? 'light' : 'dark'); ?>">
<?php else : ?>
<div class="monthbanner">
<?php endif; ?>
<?php echo $item->startdate['month']; ?>
</div>
<div class="daybanner">
<?php echo $item->startdate['weekday']; ?>
</div>
<div class="daynumbanner">
<?php echo $item->startdate['day']; ?>
</div>
</div>
</div>
<?php endif; ?>
<?php if (($showflyer == 1) && !empty($item->eventimage)) : ?>
<div>
<div class="banner-jem">
<div>
<?php $class = ($showcalendar == 1) ? 'image-preview' : 'image-preview2'; ?>
<a href="<?php echo ($flyer_link_type == 2) ? $item->eventlink : $item->eventimageorig; ?>" class="<?php echo $modal;?>"
title="<?php echo ($flyer_link_type == 2) ? $item->fulltitle : JText::_('MOD_JEM_BANNER_CLICK_TO_ENLARGE'); ?> ">
<img class="float_right <?php echo $class; ?>" src="<?php echo $item->eventimageorig; ?>" alt="<?php echo $item->title; ?>" />
</a>
</div>
</div>
</div>
<div class="clr"></div>
<?php else /* showflyer == 0 or no image */ : ?>
<div>
<div class="banner-jem">
</div>
</div>
<?php endif; ?>
<?php if ($params->get('showdesc', 1) == 1) :?>
<div class="desc">
<?php echo $item->eventdescription; ?>
<?php if (isset($item->link) && $item->readmore != 0 && $params->get('readmore')) :
echo '</br><a class="readmore" href="'.$item->link.'">'.$item->linkText.'</a>';
endif;?>
</div>
<?php endif; ?>
</div>
<div class="clr"></div>
<?php /* Datum und Zeitangabe:
* showcalendar 1, datemethod 1 : date inside calendar image + time
* showcalendar 1, datemethod 2 : date inside calendar image + relative date + time
* showcalendar 0, datemethod 1 : no calendar image, date + time
* showcalendar 0, datemethod 2 : no calendar image, relative date + time
*/
?>
<?php /* wenn kein Kalenderblatt angezeigt wird */ ?>
<?php if ($showcalendar == 0) : ?>
<?php if ($item->date && $datemethod == 2) :?>
<div class="date" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php endif; ?>
<?php if ($item->date && $datemethod == 1) :?>
<div class="date" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php if ($item->time && $datemethod == 1) :?>
<div class="time" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->time; ?>
</div>
<?php endif; ?>
<?php endif; ?>
<?php /* wenn Kalenderblatt angezeigt wird */ ?>
<?php else : ?>
<?php /* wenn Zeitdifferenz angezeigt werden soll */ ?>
<?php if ($item->date && $datemethod == 2) : ?>
<div class="date" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php endif; ?>
<?php /* wenn Datum angezeigt werden soll */ ?>
<?php if ($item->time && $datemethod == 1) :?>
<?php /* es muss nur noch die Zeit angezeigt werden (da Datum auf Kalenderblatt schon angezeigt) */ ?>
<div class="time" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->time; ?>
</div>
<?php endif; ?>
<?php endif; ?>
<div class="clr"></div>
<?php /*venue*/ ?>
<?php if (($params->get('showvenue', 1) == 1) && (!empty($item->venue))) :?>
<div class="venue-title">
<?php if ($item->venuelink) : ?>
<a href="<?php echo $item->venuelink; ?>" title="<?php echo $item->venue; ?>"><?php echo $item->venue; ?></a>
<?php else : ?>
<?php echo $item->venue; ?>
<?php endif; ?>
</div>
<?php endif; ?>
<?php /*category*/ ?>
<?php if (($params->get('showcategory', 1) == 1) && !empty($item->catname)) :?>
<div class="category">
<?php echo $item->catname; ?>
</div>
<?php endif; ?>
<div class="clr"></div>
<?php if (--$i > 0) : /* no hr after last entry */ ?>
<div class="hr"><hr /></div>
<?php endif; ?>
<?php endforeach; ?>
<?php else : ?>
<?php echo JText::_('MOD_JEM_BANNER_NO_EVENTS'); ?>
<?php endif; ?>
</div>
</div>

View File

@ -0,0 +1 @@
<!DOCTYPE html><title></title>

View File

@ -0,0 +1,150 @@
/**
* @version 2.3.6
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2014-2019 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
div#jemmodulebanner {
width: 100%;
}
div#jemmodulebanner.banner-jem {
font-size: smaller;
}
#jemmodulebanner [class|="calendar"] {
background-repeat: no-repeat;
width: 84px;
height: 82px; /* + padding = 87px */
font-family: 'Lucida Grande',Geneva,Arial,Verdana,sans-serif;
text-align: center;
padding: 5px 0 0 0;
float:left;
margin-right:10px;
line-height: 24px;
}
#jemmodulebanner span.share {
margin-left:95px;
}
#jemmodulebanner [class|="calendar"] .yearbanner {
font-size: 6px;
height:5px;
color: #e1e1e1;
}
#jemmodulebanner [class|="calendar"] .monthbanner {
font-size: 8px;
color: white;
text-transform:uppercase;
font-weight:bold;
text-shadow: #666 1px 1px 1px;
height:20px;
}
#jemmodulebanner [class|="calendar"] .daybanner {
font-weight:bold;
font-size: 12px;
padding-top:3px;
min-height: 16px;
color: #333;
}
#jemmodulebanner [class|="calendar"] .daynumbanner {
font-size: 29px;
font-weight:bold;
color: #FF6400;
text-shadow: #000 1px 1px 1px;
}
div#jemmodulebanner .eventset {
margin-bottom: 10px;
padding: 5px;
border: 1px dotted silver;
text-align: left;
}
div#jemmodulebanner .event-title {
padding-left: 0px;
font-size: x-large;
margin: 0 0 5px;
}
div#jemmodulebanner .desc {
padding-left: 0px;
padding-top: 2px;
font-size: small;
}
div#jemmodulebanner .time {
padding-left: 20px;
background: url(../img/time.png) 0 center no-repeat;
padding-top: 2px;
font-weight: normal;
font-size: smaller;
float: left;
}
div#jemmodulebanner div.date {
padding-left: 20px;
background: url(../img/date.png) 0 center no-repeat;
padding-top: 2px;
font-weight: normal;
font-size: smaller;
float: left;
margin-right: 4px;
}
div#jemmodulebanner .category {
position: relative;
padding-left: 20px;
background: url(../img/category.png) 0 center no-repeat;
font-size: smaller;
float: left;
}
div#jemmodulebanner .venue-title {
position: relative;
padding-left: 20px;
background: url(../img/venue.png) 0 center no-repeat;
font-size: smaller;
float: left;
margin-right: 8px;
}
div#jemmodulebanner .event-image-cell {
}
div#jemmodulebanner .venue-image-cell {
}
div#jemmodulebanner .image-preview {
max-width: 110px;
border: 0px solid #CCCCCC;
padding: 3px;
background-color: white;
margin: 2px;
}
div#jemmodulebanner .image-preview2 {
max-width: 200px;
border: 0px solid #CCCCCC;
padding: 3px;
background-color: white;
margin: 2px;
}
div#jemmodulebanner .hr {
color: silver;
height: 12px;
}
div#jemmodulebanner .clr {
clear: both;
}

View File

@ -0,0 +1,10 @@
/**
* @version 2.3.6
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2014-2019 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
/* This template uses images in any case, so keep this empty file to prevent legacy fallback. */

View File

@ -0,0 +1,10 @@
/**
* @version 2.3.6
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2014-2019 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
/* This template uses images in any case, so keep this empty file to prevent legacy fallback. */

View File

@ -0,0 +1,12 @@
#jemmodulebanner .calendar-blue {
background-image: url(img/calendar_blue.png);
background-size: 100%;
}
#jemmodulebanner .calendar-blue .monthbanner {
color: #fff;
text-shadow: -1px -1px 0 rgba(0,0,0,0.2),
1px -1px 0 rgba(0,0,0,0.2),
-1px 1px 0 rgba(0,0,0,0.2),
1px 1px 0 rgba(0,0,0,0.2);
}

View File

@ -0,0 +1,56 @@
.jem-banner-calendar {
width: 80px;
height: 80px;
position: relative;
overflow: hidden;
box-shadow: 3px 4px 4px -3px rgba(0, 0, 0, 0.3), -3px 4px 4px -3px rgba(0, 0, 0, 0.3);
border-radius: 0 0 5px 5px;
}
.jem-banner-calendar .color-bar {
position: absolute;
top: 5px;
left: 0;
right: 0;
height: 24px;
border-radius: 5px 5px 0 0;
}
.jem-banner-calendar .lower-background {
position: absolute;
top: 29px;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to top, #ddd 0%, #fff 50%);
}
.jem-banner-calendar .background-image {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url('img/cal.png');
background-repeat: no-repeat;
background-position: top;
background-size: contain;
z-index: 1;
}
#jemmodulebanner [class|="calendar"] .monthbanner.monthcolor-dark {
color: black;
text-shadow: -1px -1px 0 rgba(255,255,255,0.2),
1px -1px 0 rgba(255,255,255,0.2),
-1px 1px 0 rgba(255,255,255,0.2),
1px 1px 0 rgba(255,255,255,0.2);
}
#jemmodulebanner [class|="calendar"] .monthbanner.monthcolor-light {
color: #fff;
text-shadow: -1px -1px 0 rgba(0,0,0,0.2),
1px -1px 0 rgba(0,0,0,0.2),
-1px 1px 0 rgba(0,0,0,0.2),
1px 1px 0 rgba(0,0,0,0.2);
}

View File

@ -0,0 +1,205 @@
<?php
/**
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2013-2024 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
*/
defined('_JEXEC') or die;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Factory;
$datemethod = (int)$params->get('datemethod', 1);
$showcalendar = (int)$params->get('showcalendar', 1);
$showflyer = (int)$params->get('showflyer', 1);
$flyer_link_type = (int)$params->get('flyer_link_type', 0);
$imagewidthmax = (int)$params->get('imagewidthmax', 0);
if ($flyer_link_type == 1) {
echo JemOutput::lightbox();
$modal = 'lightbox';
} elseif ($flyer_link_type == 0) {
$modal = 'notmodal';
} else {
$modal = '';
}
$document = Factory::getDocument();
$widthStyle = $imagewidthmax ? 'width:' . $imagewidthmax . 'px' : 'max-width: 100%';
$css = '
.banner-jem img {
' . $widthStyle . ';
}';
$document->addStyleDeclaration($css);
?>
<div class="jemmodulebanner<?php echo $params->get('moduleclass_sfx')?>" id="jemmodulebanner">
<div class="eventset">
<?php $i = count($list); ?>
<?php if ($i > 0) : ?>
<?php foreach ($list as $item) : ?>
<div class="event_id<?php echo $item->eventid; ?>" itemprop="event" itemscope itemtype="https://schema.org/Event">
<h2 class="event-title" itemprop="name">
<?php if ($item->eventlink) : ?>
<a href="<?php echo $item->eventlink; ?>" title="<?php echo $item->fulltitle; ?>" itemprop="url"><?php echo $item->title; ?></a>
<?php else : ?>
<?php echo $item->title; ?>
<?php endif; ?>
</h2>
<div class="jem-row-banner <?php echo $banneralignment; ?>">
<?php if ($showcalendar == 1) :?>
<?php if ($item->colorclass === "category" || $item->colorclass === "alpha"): ?>
<div class="calendar<?php echo '-' . $item->colorclass; ?> jem-banner-calendar" title="<?php echo strip_tags($item->dateinfo); ?>">
<div class="color-bar" style="background-color:<?php echo !empty($item->color) ? $item->color : 'rgb(128,128,128)'; ?>"></div>
<div class="lower-background"></div>
<div class="background-image"></div>
<?php else: ?>
<div class="calendar<?php echo '-' . $item->colorclass; ?> jem-banner-calendar"
title="<?php echo strip_tags($item->dateinfo); ?>"
<?php if (!empty($item->color)) : ?>
style="background-color: <?php echo $item->color; ?>"
<?php endif; ?>>
<?php endif; ?>
<?php if (isset($item->color_is_dark)) : ?>
<div class="monthbanner monthcolor-<?php echo !empty($item->color_is_dark) ? 'light' : 'dark'; ?>">
<?php else : ?>
<div class="monthbanner">
<?php endif;
echo $item->startdate['month']; ?>
</div>
<div class="daybanner">
<?php echo $item->startdate['weekday']; ?>
</div>
<div class="daynumbanner">
<?php echo $item->startdate['day']; ?>
</div>
<?php echo $item->dateschema; ?>
</div>
<?php endif; ?>
<?php if (($showflyer == 1) && !empty($item->eventimage)) : ?>
<div>
<div class="banner-jem">
<div>
<?php $class = ($showcalendar == 1) ? 'image-preview' : 'image-preview2'; ?>
<?php if ($flyer_link_type != 3) : ?>
<a href="<?php echo ($flyer_link_type == 2) ? $item->eventlink : $item->eventimageorig; ?>" rel="<?php echo $modal;?>" class="banner-flyerimage" title="<?php echo ($flyer_link_type == 2) ? $item->fulltitle : Text::_('COM_JEM_CLICK_TO_ENLARGE'); ?>" data-title="<?php echo $item->title; ?>"><?php endif; ?>
<img class="float_right <?php echo 'image-preview2'; ?>" src="<?php echo $item->eventimageorig; ?>" alt="<?php echo $item->title; ?>" itemprop="image" />
<?php if ($flyer_link_type != 3) { echo '</a>'; } ?>
</div>
</div>
</div>
<div class="clr"></div>
<?php else /* showflyer == 0 or no image */ : ?>
<div>
<div class="banner-jem">
</div>
</div>
<?php endif; ?>
<?php if ($params->get('showdesc', 1) == 1) :?>
<div class="desc">
<?php echo $item->eventdescription; ?>
<?php if (isset($item->link) && $item->readmore != 0 && $params->get('readmore')) :
echo '</br><a class="readmore" href="'.$item->link.'">'.$item->linkText.'</a>';
endif;?>
</div>
<?php endif; ?>
</div>
<div class="clr"></div>
<?php /* Datum und Zeitangabe:
* showcalendar 1, datemethod 1 : date inside calendar image + time
* showcalendar 1, datemethod 2 : date inside calendar image + relative date + time
* showcalendar 0, datemethod 1 : no calendar image, date + time
* showcalendar 0, datemethod 2 : no calendar image, relative date + time
*/
?>
<?php /* if no calendar sheet is displayed */ ?>
<?php if ($showcalendar == 0) : ?>
<?php if ($item->date && $datemethod == 2) :?>
<div class="date" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php endif; ?>
<?php if ($item->date && $datemethod == 1) :?>
<div class="date" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php if ($item->time && $datemethod == 1) :?>
<div class="time" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->time; ?>
</div>
<?php endif;
endif;
// if calendar page is displayed
else :
// if time difference is to be displayed
if ($item->date && $datemethod == 2) : ?>
<div class="date" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php endif;
// if date is to be displayed
if ($item->time && $datemethod == 1) :
// only the time needs to be displayed (as the date is already displayed on the calendar page) ?>
<div class="time" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->time; ?>
</div>
<?php endif; ?>
<?php endif; ?>
<div class="clr"></div>
<?php
// venue
if (($params->get('showvenue', 1) == 1) && (!empty($item->venue))) :?>
<div class="venue-title">
<?php if ($item->venuelink) : ?>
<a href="<?php echo $item->venuelink; ?>" title="<?php echo $item->venue; ?>"><?php echo $item->venue; ?></a>
<?php else : ?>
<?php echo $item->venue; ?>
<?php endif; ?>
</div>
<?php endif;
// category
if (($params->get('showcategory', 1) == 1) && !empty($item->catname)) :?>
<div class="category">
<?php echo $item->catname; ?>
</div>
<?php endif; ?>
<div itemprop="location" itemscope itemtype="https://schema.org/Place" style="display:none;">
<meta itemprop="name" content="<?php echo $item->venue; ?>" />
<div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress" style="display:none;">
<meta itemprop="streetAddress" content="<?php echo $item->street; ?>" />
<meta itemprop="addressLocality" content="<?php echo $item->city; ?>" />
<meta itemprop="addressRegion" content="<?php echo $item->state; ?>" />
<meta itemprop="postalCode" content="<?php echo $item->postalCode; ?>" />
</div>
</div>
<div class="clr"></div>
<?php if (--$i > 0) : /* no hr after last entry */ ?>
<div class="hr"><hr /></div>
<?php endif; ?>
</div>
<?php endforeach; ?>
<?php else : ?>
<?php echo Text::_('MOD_JEM_BANNER_NO_EVENTS'); ?>
<?php endif; ?>
</div>
</div>

View File

@ -0,0 +1,12 @@
#jemmodulebanner .calendar-green {
background-image: url(img/calendar_green.png);
background-size: 100%;
}
#jemmodulebanner .calendar-green .monthbanner {
color: #fff;
text-shadow: -1px -1px 0 rgba(0,0,0,0.2),
1px -1px 0 rgba(0,0,0,0.2),
-1px 1px 0 rgba(0,0,0,0.2),
1px 1px 0 rgba(0,0,0,0.2);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 971 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

View File

@ -0,0 +1 @@
<!DOCTYPE html><title></title>

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 896 B

View File

@ -0,0 +1 @@
<!DOCTYPE html><title></title>

View File

@ -0,0 +1,147 @@
/**
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2013-2024 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
*/
div#jemmodulebanner {
width: 100%;
}
div#jemmodulebanner.banner-jem {
font-size: smaller;
}
#jemmodulebanner [class|="calendar"] {
background-repeat: no-repeat;
width: 81px;
height: 85px;
text-align: center;
padding: 5px 1px 0 0;
margin: 0 10px 10px 0;
line-height: 24px;
box-shadow: 3px 4px 4px -3px rgba(0, 0, 0, 0.3), -3px 4px 4px -3px rgba(0, 0, 0, 0.3);
}
#jemmodulebanner [class|="calendar"] .yearbanner,
#jemmodulebanner [class|="calendar"] .monthbanner {
font-size: 13px;
height: 24px;
}
#jemmodulebanner [class|="calendar"] .monthbanner,
#jemmodulebanner [class|="calendar"] .daybanner,
#jemmodulebanner [class|="calendar"] .daynumbanner {
font-weight: bold;
position: relative;
z-index: 2;
display: block;
padding: 0;
text-align: center;
}
#jemmodulebanner [class|="calendar"] .monthbanner {
padding-top: 2px;
}
#jemmodulebanner [class|="calendar"] .daybanner {
font-size: 12px;
min-height: 0.8rem;
}
#jemmodulebanner [class|="calendar"] .daynumbanner {
font-size: 150%;
}
#jemmodulebanner span.share {
margin-left:95px;
}
#jemmodulebanner [class|="calendar"] .yearbanner {
font-size: 6px;
height:5px;
color: #e1e1e1;
}
div#jemmodulebanner .eventset {
margin-bottom: 10px;
padding: 5px;
border: 1px dotted silver;
text-align: left;
}
div#jemmodulebanner .event-title {
padding-left: 0;
font-size: x-large;
margin: 0 0 5px;
}
.highlight_featured{
font-weight: bold;
}
div#jemmodulebanner .desc {
padding-left: 0;
padding-top: 2px;
font-size: small;
}
div#jemmodulebanner .time {
padding-top: 2px;
font-weight: normal;
font-size: smaller;
float: left;
}
div#jemmodulebanner div.date {
padding-top: 2px;
font-weight: normal;
font-size: smaller;
float: left;
margin-right: 4px;
}
div#jemmodulebanner .category {
position: relative;
font-size: smaller;
float: left;
}
div#jemmodulebanner .venue-title {
position: relative;
font-size: smaller;
float: left;
margin-right: 8px;
}
div#jemmodulebanner .event-image-cell {
}
div#jemmodulebanner .venue-image-cell {
}
div#jemmodulebanner .image-preview {
border: 0 solid #ccc;
padding: 3px;
background-color: white;
margin: 2px;
}
div#jemmodulebanner .image-preview2 {
border: 0 solid #ccc;
padding: 3px;
background-color: white;
margin: 2px;
}
div#jemmodulebanner .hr {
color: silver;
height: 12px;
}
div#jemmodulebanner .clr {
clear: both;
}

View File

@ -0,0 +1,31 @@
/**
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2013-2024 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
*/
div#jemmodulebanner .time:before,
div#jemmodulebanner div.date:before,
div#jemmodulebanner .category:before,
div#jemmodulebanner .venue-title:before {
font-family:var(--fa-style-family,"Font Awesome 6 Free", "Font Awesome 5 Free");
font-weight:var(--fa-style,900);
}
div#jemmodulebanner .time:before {
content:"\f017";
}
div#jemmodulebanner div.date:before {
content:"\f133";
}
div#jemmodulebanner .category:before {
content:"\f02b";
}
div#jemmodulebanner .venue-title:before {
content:"\f041";
}

View File

@ -0,0 +1,27 @@
/**
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2013-2024 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
*/
div#jemmodulebanner .time {
padding-left: 20px;
background: url(img/time.png) 0 center no-repeat;
}
div#jemmodulebanner div.date {
padding-left: 20px;
background: url(img/date.png) 0 center no-repeat;
}
div#jemmodulebanner .category {
padding-left: 20px;
background: url(img/category.png) 0 center no-repeat;
}
div#jemmodulebanner .venue-title {
padding-left: 20px;
background: url(img/building.png) 0 center no-repeat;
}

View File

@ -0,0 +1,12 @@
#jemmodulebanner .calendar-orange {
background-image: url(img/calendar_orange.png);
background-size: 100%;
}
#jemmodulebanner .calendar-orange .monthbanner {
color: #fff;
text-shadow: -1px -1px 0 rgba(0,0,0,0.2),
1px -1px 0 rgba(0,0,0,0.2),
-1px 1px 0 rgba(0,0,0,0.2),
1px 1px 0 rgba(0,0,0,0.2);
}

View File

@ -0,0 +1,12 @@
#jemmodulebanner .calendar-red {
background-image: url(img/calendar_red.png);
background-size: 100%;
}
#jemmodulebanner .calendar-red .monthbanner {
color: #fff;
text-shadow: -1px -1px 0 rgba(0,0,0,0.2),
1px -1px 0 rgba(0,0,0,0.2),
-1px 1px 0 rgba(0,0,0,0.2),
1px 1px 0 rgba(0,0,0,0.2);
}

View File

@ -0,0 +1,257 @@
<?php
/**
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2013-2024 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
*/
defined('_JEXEC') or die;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;
use Joomla\CMS\Factory;
$datemethod = (int)$params->get('datemethod', 1);
$showcalendar = (int)$params->get('showcalendar', 1);
$showflyer = (int)$params->get('showflyer', 1);
$flyer_link_type = (int)$params->get('flyer_link_type', 0);
$imagewidthmax = (int)$params->get('imagewidthmax', 0);
if ($flyer_link_type == 1) {
echo JemOutput::lightbox();
$modal = 'lightbox';
} elseif ($flyer_link_type == 0) {
$modal = 'notmodal';
} else {
$modal = '';
}
/*
$uri = Uri::getInstance();
$module_name = 'mod_jem_banner';
$css_path = JPATH_THEMES. '/'.$document->template.'/css/'.$module_name;
if(file_exists($css_path.'/'.$module_name.'.css')) {
unset($document->_styleSheets[$uri->base(true).'/modules/mod_jem_banner/tmpl/mod_jem_banner.css']);
$document->addStylesheet($uri->base(true) . '/templates/'.$document->template.'/css/'. $module_name.'/'.$module_name.'.css');
}*/
$banneralignment = "jem-vertical-banner";
if (JemHelper::jemStringContains($params->get('moduleclass_sfx'), "jem-horizontal")){
$banneralignment = "jem-horizontal-banner";
}
$imagewidth = '100%';
$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();
$additionalCSS = '';
if (JemHelper::jemStringContains($params->get('moduleclass_sfx'), "jem-imagetop")) {
$additionalCSS = 'order: -1;';
}
$widthStyle = $imagewidthmax ? 'width:' . $imagewidthmax . 'px' : 'max-width:' . $imagewidth;
$heightStyle = $imagewidthmax ? 'auto' : $imageheight;
$css = '
#jemmodulebanner .jem-eventimg-banner {
width: ' . $imagewidth . ';
' . $additionalCSS . '
}
#jemmodulebanner .jem-eventimg-banner img {
' . $widthStyle . ';
height: ' . $heightStyle . ';
}
@media not print {
@media only all and (max-width: 47.938rem) {
#jemmodulebanner .jem-eventimg-banner {
}
#jemmodulebanner .jem-eventimg-banner img {
width: ' . $imagewidth . ';
height: ' . $imageheight . ';
}
}
}';
$document->addStyleDeclaration($css);
?>
<div class="jemmodulebanner<?php echo $params->get('moduleclass_sfx')?>" id="jemmodulebanner">
<div class="eventset">
<?php $i = count($list); ?>
<?php if ($i > 0) : ?>
<?php foreach ($list as $item) : ?>
<div class="event_id<?php echo $item->eventid; ?>" itemprop="event" itemscope itemtype="https://schema.org/Event">
<h2 class="event-title" itemprop="name">
<?php if ($item->eventlink) : ?>
<a href="<?php echo $item->eventlink; ?>" title="<?php echo $item->fulltitle; ?>" itemprop="url"><?php echo $item->title; ?></a>
<?php else : ?>
<?php echo $item->title; ?>
<?php endif; ?>
</h2>
<div class="jem-row-banner <?php echo $banneralignment; ?>">
<?php if ($showcalendar == 1) :?>
<?php if ($item->colorclass === "category" || $item->colorclass === "alpha"): ?>
<div class="calendar<?php echo '-' . $item->colorclass; ?> jem-banner-calendar" title="<?php echo strip_tags($item->dateinfo); ?>">
<div class="color-bar" style="background-color:<?php echo !empty($item->color) ? $item->color : 'rgb(128,128,128)'; ?>"></div>
<div class="lower-background"></div>
<div class="background-image"></div>
<?php else: ?>
<div class="calendar<?php echo '-'.$item->colorclass; ?> jem-banner-calendar"
title="<?php echo strip_tags($item->dateinfo); ?>"
<?php if (!empty($item->color)) : ?>
style="background-color: <?php echo $item->color; ?>"
<?php endif; ?>>
<?php endif; ?>
<?php if (isset($item->color_is_dark)) : ?>
<div class="monthbanner monthcolor-<?php echo !empty($item->color_is_dark) ? 'light' : 'dark'; ?>">
<?php else : ?>
<div class="monthbanner">
<?php endif;
echo $item->startdate['month']; ?>
</div>
<div class="daybanner">
<?php echo $item->startdate['weekday']; ?>
</div>
<div class="daynumbanner">
<?php echo $item->startdate['day']; ?>
</div>
<?php echo $item->dateschema; ?>
</div>
<?php endif; ?>
<div class="jem-event-details-banner jem-row-banner">
<div class="jem-row-banner <?php echo $banneralignment; ?> jem-banner-datecat">
<?php /* Datum und Zeitangabe:
* showcalendar 1, datemethod 1 : date inside calendar image + time
* showcalendar 1, datemethod 2 : date inside calendar image + relative date + time
* showcalendar 0, datemethod 1 : no calendar image, date + time
* showcalendar 0, datemethod 2 : no calendar image, relative date + time
*/
?>
<?php /* when no calendar sheet is displayed */ ?>
<?php if ($showcalendar == 0) : ?>
<?php if ($item->date && $datemethod == 2) :?>
<div class="date" title="<?php echo Text::_('COM_JEM_TABLE_DATE').': '.strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php endif; ?>
<?php if ($item->date && $datemethod == 1) :?>
<div class="date" title="<?php echo Text::_('COM_JEM_TABLE_DATE').': '.strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php if ($item->time && $datemethod == 1) :?>
<div class="time" title="<?php echo Text::_('COM_JEM_TABLE_DATE').': '.strip_tags($item->dateinfo); ?>">
<?php echo $item->time; ?>
</div>
<?php endif; ?>
<?php endif; ?>
<?php /* when calendar sheet is displayed */ ?>
<?php else : ?>
<?php /* if time difference should be displayed */ ?>
<?php if ($item->date && $datemethod == 2) : ?>
<div class="date" title="<?php echo Text::_('COM_JEM_TABLE_DATE').': '.strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php endif;
// if date is to be displayed
if ($item->time && $datemethod == 1) :
// only the time needs to be displayed (as the date is already displayed on the calendar page) ?>
<div class="time" title="<?php echo Text::_('COM_JEM_TABLE_DATE').': '.strip_tags($item->dateinfo); ?>">
<?php echo $item->time; ?>
</div>
<?php endif; ?>
<?php endif; ?>
<?php /*venue*/ ?>
<?php if (($params->get('showvenue', 1) == 1) && (!empty($item->venue))) :?>
<div class="venue-title" title="<?php echo Text::_('COM_JEM_TABLE_LOCATION').': '.strip_tags($item->venue); ?>">
<?php if ($item->venuelink) : ?>
<a href="<?php echo $item->venuelink; ?>"><?php echo $item->venue; ?></a>
<?php else : ?>
<?php echo $item->venue; ?>
<?php endif; ?>
</div>
<?php endif;
// category
if (($params->get('showcategory', 1) == 1) && !empty($item->catname)) :?>
<div class="category" title="<?php echo Text::_('COM_JEM_TABLE_CATEGORY').': '.strip_tags($item->catname); ?>">
<?php echo $item->catname; ?>
</div>
<?php endif; ?>
<div itemprop="location" itemscope itemtype="https://schema.org/Place" style="display:none;">
<meta itemprop="name" content="<?php echo $item->venue; ?>" />
<div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress" style="display:none;">
<meta itemprop="streetAddress" content="<?php echo $item->street; ?>" />
<meta itemprop="addressLocality" content="<?php echo $item->city; ?>" />
<meta itemprop="addressRegion" content="<?php echo $item->state; ?>" />
<meta itemprop="postalCode" content="<?php echo $item->postalCode; ?>" />
</div>
</div>
</div>
<?php if (($showflyer == 1) && !empty($item->eventimage)) : ?>
<div class="jem-eventimg-banner">
<?php $class = ($showcalendar == 1) ? 'image-preview' : 'image-preview2'; ?>
<a href="<?php echo ($flyer_link_type == 2) ? $item->eventlink : $item->eventimageorig; ?>" class="flyermodal" rel="<?php echo $modal;?>"
title="<?php echo ($flyer_link_type == 2) ? $item->fulltitle : Text::_('COM_JEM_CLICK_TO_ENLARGE'); ?> " data-title="<?php echo $item->title; ?>">
<img class="<?php echo $class; ?>" src="<?php echo $item->eventimageorig; ?>" alt="<?php echo $item->title; ?>" itemprop="image" />
</a>
</div>
<?php endif; ?>
<?php if ($params->get('showdesc', 1) == 1) :?>
<div class="desc" itemprop="description">
<?php echo $item->eventdescription; ?>
</div>
<?php if (isset($item->link) && $item->readmore != 0 && $params->get('readmore')) : ?>
<div class="jem-readmore-banner">
<a href="<?php echo $item->link ?>" title="<?php echo Text::_('COM_JEM_EVENT_READ_MORE_TITLE'); ?>">
<!--<button class="jem-btn btn">-->
<?php echo Text::_('COM_JEM_EVENT_READ_MORE_TITLE'); ?>
<!--</button>-->
</a>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
</div>
<?php if (--$i > 0) : /* no hr after last entry */ ?>
<hr class="jem-hr">
<?php endif; ?>
<?php endforeach; ?>
<?php else : ?>
<?php echo Text::_('MOD_JEM_BANNER_NO_EVENTS'); ?>
<?php endif; ?>
</div>
</div>

View File

@ -0,0 +1 @@
<!DOCTYPE html><title></title>

View File

@ -0,0 +1,154 @@
/*
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2013-2024 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
*/
/* Hoftix for SqueezeBox Modal overlay destroying images on mobile phones */
#sbox-overlay {
width: 100% !important;
}
#sbox-window {
height: auto !important;
}
#sbox-content {
height: auto !important;
width: auto !important;
max-height: 100%;
max-width: 100%;
}
body.body-overlayed {
overflow: auto;
}
#jemmodulebanner .jem-row-banner {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
#jemmodulebanner .jem-horizontal-banner {
flex-direction: row;
}
#jemmodulebanner .jem-vertical-banner {
flex-direction: column;
}
#jemmodulebanner .jem-event-details-banner {
flex: 1;
}
#jemmodulebanner .event-title,
#jemmodulebanner .jem-banner-datecat {
hyphens: auto;
}
#jemmodulebanner .jem-banner-datecat {
margin-bottom: 8px;
}
#jemmodulebanner .jem-banner-datecat > div {
margin-right: 10px;
}
#jemmodulebanner .jem-banner-datecat > div:last-child {
margin-right: 0;
}
#jemmodulebanner .jem-eventimg-banner {
margin-bottom: 10px;
}
#jemmodulebanner .time, #jemmodulebanner .date {
font-weight: bold;
}
#jemmodulebanner [class|="calendar"] {
background-repeat: no-repeat;
width: 81px;
height: 85px;
text-align: center;
padding: 5px 1px 0 0;
margin: 0 10px 10px 0;
line-height: 24px;
box-shadow: 3px 4px 4px -3px rgba(0, 0, 0, 0.3), -3px 4px 4px -3px rgba(0, 0, 0, 0.3);
}
#jemmodulebanner [class|="calendar"] .yearbanner,
#jemmodulebanner [class|="calendar"] .monthbanner {
font-size: 13px;
height: 24px;
}
#jemmodulebanner [class|="calendar"] .monthbanner,
#jemmodulebanner [class|="calendar"] .daybanner,
#jemmodulebanner [class|="calendar"] .daynumbanner {
font-weight: bold;
position: relative;
z-index: 2;
display: block;
padding: 0;
text-align: center;
}
#jemmodulebanner [class|="calendar"] .monthbanner {
padding-top: 2px;
}
#jemmodulebanner [class|="calendar"] .daybanner {
font-size: 12px;
min-height: 0.8rem;
}
#jemmodulebanner [class|="calendar"] .daynumbanner {
font-size: 150%;
}
@media print {
#main a:link, #main a:visited {
text-decoration: none;
color: inherit;
}
div#jem {
border: 0;
}
div#jem h2 {
border: none;
}
div#jem .flyerimage {
border: none !important;
}
a[href]:after {
content: none !important;
}
div#jem .buttons {
display: none;
}
abbr[title]:after {
content: none;
}
.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: none;
}
a:link:after, a:visited:after {
content: none;
}
div#jem .flyerimage {
border: none;
}
}

View File

@ -0,0 +1,9 @@
/**
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2013-2024 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
*/
/* This template uses images in any case, so keep this empty file to prevent legacy fallback. */

View File

@ -0,0 +1,9 @@
/**
* @package JEM
* @subpackage JEM Banner Module
* @copyright (C) 2013-2024 joomlaeventmanager.net
* @copyright (C) 2005-2009 Christoph Lukes
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
*/
/* This template uses images in any case, so keep this empty file to prevent legacy fallback. */