[-/if-]
[-* Here we determine if the event is an
all day event or a timed event
and determine how to display the time *-]
[-if $event.alldayevent != true-]
[-if $24HOUR_TIME-]
[-assign var="timestamp" value=$event.startTime|date_format:#_PC_TIME_FORMAT_24#-]
[-else-]
[-assign var="timestamp" value=$event.startTime|date_format:#_PC_TIME_FORMAT_12#-]
[-/if-]
[-*assign var="title" value=$event.title|truncate:15:"...":true*-]
[-assign var="title" value=$event.title|strip_tags-]
[-else-]
[-assign var="timestamp" value=""-]
[-*assign var="title" value=$event.title|truncate:30:"...":true*-]
[-assign var="title" value=$event.title|strip_tags-]
[-/if-]
[-assign var="desc" value=$event.hometext|truncate:255:"..."-]
[-* Here we start the actual display of the event *-]
[-$timestamp-] [-$title-]
[-assign var="oldCat" value=$event.catname-]
[-if $smarty.foreach.event.last-]
[-* we need to close out the
tag *-]
[-/if-]
[-/foreach-]