Example #1
0
    		<dd class="title"><?php 
    echo $this->escape($this->row->title);
    ?>
</dd>
		<?php 
}
?>
  		<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') . ':';
    ?>
Example #2
0
    foreach ($this->rows as $row) {
        ?>
  			<tr class="sectiontableentry<?php 
        echo $row->odd + 1 . $this->params->get('pageclass_sfx');
        ?>
" >

    			<td headers="el_date" align="left">
    				<strong>
    					<?php 
        echo ELOutput::formatdate($row->dates, $row->times);
        ?>
    					
    					<?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>
Example #3
0
     if ($ix != $nr) {
         $multicatname .= ', ';
     }
     //attach category color if any in front of the event title in the calendar overview
     if (isset($category->color) && $category->color) {
         $colorpic .= '<span class="colorpic" style="background-color: ' . $category->color . ';"></span>';
     }
     //count occurence of the category
     if (!array_key_exists($category->id, $countcatevents)) {
         $countcatevents[$category->id] = 1;
     } else {
         $countcatevents[$category->id]++;
     }
 }
 $catname = '<div class="catname">' . $multicatname . '</div>';
 $eventdate = ELOutput::formatdate($row->dates, $row->times);
 //venue
 if ($this->elsettings->showlocate == 1) {
     $venue = '<div class="location"><span class="label">' . JText::_('VENUE') . ': </span>';
     if ($this->elsettings->showlinkvenue == 1 && 0) {
         $venue .= $row->locid != 0 ? "<a href='" . JRoute::_('index.php?view=venueevents&id=' . $row->venueslug) . "'>" . $this->escape($row->venue) . "</a>" : '-';
     } else {
         $venue .= $row->locid ? $this->escape($row->venue) : '-';
     }
     $venue .= '</div>';
 } else {
     $venue = '';
 }
 //generate the output
 $content .= $colorpic;
 $content .= $this->caltooltip($catname . $eventname . $timehtml . $venue, $eventdate, $row->title, $detaillink, 'eventTip');