Example #1
0
}
?>
  		<dt class="when"><?php 
echo JText::_('WHEN') . ':';
?>
</dt>
		<dd class="when">
			<?php 
echo ELOutput::formatdate($this->row->dates, $this->row->times);
if ($this->row->enddates) {
    echo ' - ' . ELOutput::formatdate($this->row->enddates, $this->row->endtimes);
}
if ($this->elsettings->showtimedetails == 1) {
    echo '&nbsp;' . ELOutput::formattime($this->row->dates, $this->row->times);
    if ($this->row->endtimes) {
        echo ' - ' . ELOutput::formattime($this->row->enddates, $this->row->endtimes);
    }
}
?>
		</dd>
  		<?php 
if ($this->row->locid != 0) {
    ?>
		    <dt class="where"><?php 
    echo JText::_('WHERE') . ':';
    ?>
</dt>
		    <dd class="where">
    		<?php 
    if ($this->elsettings->showdetlinkvenue == 1 && !empty($this->row->url)) {
        ?>
Example #2
0
        ?>
    					
    					<?php 
        if ($row->enddates) {
            echo ' - ' . ELOutput::formatdate($row->enddates, $row->endtimes);
        }
        ?>
    				</strong>
					<?php 
        if ($this->elsettings->showtime == 1) {
            ?>
						<br />
						<?php 
            echo ELOutput::formattime($row->dates, $row->times);
            if ($row->endtimes) {
                echo ' - ' . ELOutput::formattime($row->enddates, $row->endtimes);
            }
        }
        ?>
				</td>

				<?php 
        //Link to details
        $detaillink = JRoute::_('index.php?view=details&id=' . $row->slug);
        //title
        if ($this->elsettings->showtitle == 1 && $this->elsettings->showdetails == 1) {
            ?>

				<td headers="el_title" align="left" valign="top"><a href="<?php 
            echo $detaillink;
            ?>
Example #3
0
 $month = strftime('%m', strtotime($row->dates));
 $day = strftime('%d', strtotime($row->dates));
 @$countperday[$year . $month . $day]++;
 if ($countperday[$year . $month . $day] == $limit + 1) {
     $this->cal->setEventContent($year, $month, $day, JText::_('and more...'));
     continue;
 } else {
     if ($countperday[$year . $month . $day] > $limit + 1) {
         continue;
     }
 }
 //for time printing
 $timehtml = '';
 if ($this->elsettings->showtime == 1) {
     $start = ELOutput::formattime($row->dates, $row->times);
     $end = ELOutput::formattime($row->dates, $row->endtimes);
     if ($start != '') {
         $timehtml = '<div class="time"><span class="label">' . JText::_('TIME') . ': </span>';
         $timehtml .= $start;
         if ($end != '') {
             $timehtml .= ' - ' . $end;
         }
         $timehtml .= '</div>';
     }
 }
 $eventname = '<div class="eventName">' . $this->escape($row->title) . '</div>';
 //initialize variables
 $multicatname = '';
 $colorpic = '';
 $nr = count($row->categories);
 $ix = 0;