primo commit
This commit is contained in:
113
modules/mod_jem_teaser/tmpl/alternative/default.php
Normal file
113
modules/mod_jem_teaser/tmpl/alternative/default.php
Normal file
@ -0,0 +1,113 @@
|
||||
<?php
|
||||
/**
|
||||
* @version 2.3.6
|
||||
* @package JEM
|
||||
* @subpackage JEM Teaser Module
|
||||
* @copyright (C) 2013-2020 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
*/
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
if ($params->get('use_modal', 0)) {
|
||||
JHtml::_('behavior.modal', 'a.flyermodal');
|
||||
$modal = 'flyermodal';
|
||||
} else {
|
||||
$modal = 'notmodal';
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="jemmoduleteaser<?php echo $params->get('moduleclass_sfx')?>" id="jemmoduleteaser">
|
||||
<?php ?>
|
||||
<div class="eventset" summary="mod_jem_teaser">
|
||||
<?php if (count($list)) : ?>
|
||||
<?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>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="event-calendar">
|
||||
<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; ?>
|
||||
>
|
||||
<div class="monthteaser">
|
||||
<?php echo $item->month; ?>
|
||||
</div>
|
||||
<div class="dayteaser">
|
||||
<?php echo empty($item->dayname) ? '<br/>' : $item->dayname; ?>
|
||||
</div>
|
||||
<div class="daynumteaser">
|
||||
<?php echo empty($item->daynum) ? '?' : $item->daynum; ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="event-info">
|
||||
<div class="teaser-jem">
|
||||
<div>
|
||||
<?php if(!empty($item->eventimage)) : ?>
|
||||
<a href="<?php echo $item->eventimageorig; ?>" class="<?php echo $modal;?>" title="<?php echo $item->fulltitle; ?> ">
|
||||
<img class="float_right image-preview" src="<?php echo $item->eventimage; ?>" alt="<?php echo $item->title; ?>" /></a>
|
||||
<?php else : ?>
|
||||
<?php endif; ?>
|
||||
<?php if(!empty($item->venueimage)) : ?>
|
||||
<a href="<?php echo $item->venueimageorig; ?>" class="<?php echo $modal;?>" title="<?php echo $item->venue; ?> ">
|
||||
<img class="float_right image-preview" src="<?php echo $item->venueimage; ?>" alt="<?php echo $item->venue; ?>" /></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div>
|
||||
<?php echo $item->eventdescription; ?>
|
||||
<?php if (isset($item->link) && $item->readmore != 0 && $params->get('readmore')) :
|
||||
echo '<a class="readmore" href="'.$item->link.'">'.$item->linkText.'</a>';
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="event-datetime">
|
||||
<?php if ($item->date && $params->get('datemethod', 1) == 2) :?>
|
||||
<div class="date" title="<?php echo strip_tags($item->dateinfo); ?>">
|
||||
<small><?php echo $item->date; ?></small>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($item->time && $params->get('datemethod', 1) == 1) :?>
|
||||
<div class="time" title="<?php echo strip_tags($item->dateinfo); ?>">
|
||||
<small><?php echo $item->time; ?></small>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="event-vencat">
|
||||
<?php if (!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 if (!empty($item->catname)) : ?>
|
||||
<div class="category">
|
||||
<?php echo $item->catname; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php endforeach; ?>
|
||||
<?php else : ?>
|
||||
<?php echo JText::_('MOD_JEM_TEASER_NO_EVENTS'); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
119
modules/mod_jem_teaser/tmpl/alternative/mod_jem_teaser.css
Normal file
119
modules/mod_jem_teaser/tmpl/alternative/mod_jem_teaser.css
Normal file
@ -0,0 +1,119 @@
|
||||
/**
|
||||
* @version 2.3.6
|
||||
* @package JEM
|
||||
* @subpackage JEM Teaser Module
|
||||
* @copyright (C) 2013-2020 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
*/
|
||||
|
||||
div#jemmoduleteaser {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div#jemmoduleteaser .teaser-jem a,
|
||||
div#jemmoduleteaser .venue-title a {
|
||||
background-color: transparent;
|
||||
/*color:#095197;*/
|
||||
}
|
||||
|
||||
#jemmoduleteaser td.event-calendar {
|
||||
width: 1%; /* keep it as small as possible */
|
||||
}
|
||||
|
||||
#jemmoduleteaser [class|="calendar"] {
|
||||
background-repeat: no-repeat;
|
||||
width: 82px;
|
||||
height: 82px; /* + padding = 87px */
|
||||
font-family: 'Lucida Grande',Geneva,Arial,Verdana,sans-serif;
|
||||
text-align: center;
|
||||
padding: 5px 1px 0 0;
|
||||
float:left;
|
||||
margin-right:10px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
#jemmoduleteaser span.share {
|
||||
margin-left:95px;
|
||||
}
|
||||
|
||||
#jemmoduleteaser [class|="calendar"] .yearteaser {
|
||||
font-size: 6px;
|
||||
height:5px;
|
||||
color: #e1e1e1;
|
||||
}
|
||||
|
||||
#jemmoduleteaser [class|="calendar"] .monthteaser {
|
||||
font-size: 8px;
|
||||
color: white;
|
||||
text-transform:uppercase;
|
||||
font-weight:bold;
|
||||
text-shadow: #666 1px 1px 1px;
|
||||
height:20px;
|
||||
}
|
||||
|
||||
#jemmoduleteaser [class|="calendar"] .dayteaser {
|
||||
font-weight:bold;
|
||||
font-size: 12px;
|
||||
padding-top:3px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#jemmoduleteaser [class|="calendar"] .daynumteaser {
|
||||
font-size: 29px;
|
||||
font-weight:bold;
|
||||
color: #FF6400;
|
||||
text-shadow: #000 1px 1px 1px;
|
||||
}
|
||||
|
||||
div#jemmoduleteaser .eventset {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
padding: 5px;
|
||||
border-bottom: 1px dotted silver;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div#jemmoduleteaser .event-title {
|
||||
padding-left: 8px;
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
div#jemmoduleteaser .time {
|
||||
padding-left: 20px;
|
||||
background: url(../img/time.png) 0 center no-repeat;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
div#jemmoduleteaser div.date {
|
||||
padding-left: 0px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
div#jemmoduleteaser .category {
|
||||
position: relative;
|
||||
padding-left: 20px;
|
||||
background: url(../img/category.png) 0 center no-repeat;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
div#jemmoduleteaser .venue-title {
|
||||
position: relative;
|
||||
padding-left: 20px;
|
||||
background: url(../img/venue.png) 0 center no-repeat;
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
div#jemmoduleteaser .event-image-cell {
|
||||
}
|
||||
|
||||
div#jemmoduleteaser .venue-image-cell {
|
||||
}
|
||||
|
||||
div#jemmoduleteaser .image-preview {
|
||||
height: 35px;
|
||||
border: 1px solid #CCCCCC;
|
||||
padding: 3px;
|
||||
background-color: white;
|
||||
margin: 3px;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
/**
|
||||
* @version 2.3.6
|
||||
* @package JEM
|
||||
* @subpackage JEM Teaser Module
|
||||
* @copyright (C) 2013-2020 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. */
|
||||
@ -0,0 +1,10 @@
|
||||
/**
|
||||
* @version 2.3.6
|
||||
* @package JEM
|
||||
* @subpackage JEM Teaser Module
|
||||
* @copyright (C) 2013-2020 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. */
|
||||
Reference in New Issue
Block a user