* redEVENT is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with redEVENT; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ defined('_JEXEC') or die('Restricted access'); ?> <ul class="rf_thumbevents vcalendar"> <?php foreach ($this->rows as $row) { ?> <?php $img = redEVENTImage::getThumbUrl($row->datimage); $img = $img ? JHTML::image($img, $row->full_title) : false; $detaillink = JRoute::_(RedeventHelperRoute::getDetailsRoute($row->slug, $row->xslug)); $venuelink = JRoute::_(RedeventHelperRoute::getVenueEventsRoute($row->venueslug)); ?> <li class="rf_thumbevent vevent<?php echo $row->featured ? ' featured' : ''; ?> "> <?php if ($img) { ?> <?php echo JHTML::_('link', JRoute::_($detaillink), $img, array('class' => 'rf_img')); ?> <?php
$cats = array(); foreach ($row->categories as $cat) { $cats[] = $this->escape($cat->catname); } echo implode("<br/>", $cats); ?> </td> <?php break; ?> <?php case 'picture': ?> <td class="re_places"><?php echo JHTML::image(redEVENTImage::getThumbUrl('events', $row->datimage, intval($this->params->get('lists_picture_size', 30))), $row->title); ?> </td> <?php break; ?> <?php case 'places': ?> <td class="re_places"><?php echo redEVENTHelper::getRemainingPlaces($row); ?> </td> <?php break;
echo $this->escape($category->catname); ?> </h2> <div class="cat<?php echo $category->id; ?> floattext"> <?php if (!empty($category->image) || $this->params->get('use_default_picture', 1)) { ?> <div class="catimg"> <?php if ($category->image) { $img = JHTML::image(redEVENTImage::getThumbUrl($category->image), $category->catname); } else { $img = JHTML::image('components/com_redevent/assets/images/noimage.png', $category->catname); } echo JHTML::_('link', JRoute::_($category->linktarget), $img); ?> <p> <?php echo JText::_('COM_REDEVENT_EVENTS') . ': '; echo JHTML::_('link', JRoute::_($category->linktarget), $category->assignedevents); ?> </p> </div> <?php } ?>
"> <?php echo $this->escape($row->catname); ?> </h2> <?php if (!empty($row->image) || $this->params->get('use_default_picture', 1)) { ?> <div class="catimg"> <?php if (!empty($row->image)) { ?> <span> <?php $img = JHTML::image(redEVENTImage::getThumbUrl($row->image), $row->catname); echo JHTML::_('link', JRoute::_($row->linktarget), $img); ?> </span> <?php } ?> <?php echo JText::_('COM_REDEVENT_EVENTS') . ': '; echo JHTML::_('link', JRoute::_($row->linktarget), $row->assignedevents); ?> </div> <?php } ?>
} else { $venue = ''; } //generate the output $content .= $colorpic; if ($this->params->get('show_start_time', 0)) { $content .= REOutput::formattime($row->dates, $row->times) . ' '; } // Text to display in calendar if ($this->params->get('session_display', 0) == 0 || !$row->datimage) { $text = $row->full_title; } elseif ($this->params->get('session_display', 0) == 1) { $img = redEVENTImage::getThumbUrl($row->datimage, $this->params->get('pic_size', 20)); $text = '<span class="session-image">' . JHTML::image($img, $row->full_title) . '</span>'; } else { $img = redEVENTImage::getThumbUrl($row->datimage, $this->params->get('pic_size', 20)); $text = '<span class="session-image">' . JHTML::image($img, $row->full_title) . '</span>'; $text .= $row->full_title; } $content .= $this->caltooltip($catname . $eventname . $timehtml . $venue, $eventdate, $text, $detaillink, 'eventTip'); $content .= $contentend; // add the event to the calendar $this->cal->setEventContent($year, $month, $day, $content); } ?> <div id="redevent" class="jlcalendar"> <?php if ($this->params->def('show_page_title', 1)) { ?> <h1 class="componentheading"> <?php