[-*Smarty*-] [-* we want to include out stylesheet for this view*-] [-include file="$TPL_NAME/views/header.html"-] [-fetch file="$TPL_STYLE_PATH/search.css" assign="css"-] [-eval var=$css-] [-*Load the Language Definitions*-] [-config_load file="lang.$USER_LANG"-] [-*Main Navigation*-]
[-if $USE_INT_DATES eq true-] [-pc_date_format date=$date format="%A, %d %B %Y"-] [-else-] [-pc_date_format date=$date format="%A, %B %d %Y"-] [-/if-] |
[-foreach name=entrylist item=entry from=$available-]
[-if $24HOUR_TIME-]
[-assign var="timestamp" value=$entry.startTime|date_format:"%H:%M"-]
[-else-]
[-assign var="timestamp" value=$entry.startTime|date_format:"%I:%M %p"-]
[-/if-]
[-if $event.alldayevent != true-]
[-$timestamp-]
[-/if-]
[-assign var="ampm" value="1" -]
[-if $entry.startTime|date_format:"%p" eq "PM"-]
[-assign var="ampm" value=2-]
[-/if-]
[-assign var="durhours" value=$entry.endTime|date_format:"%H"-]
[-if $durhours > 0-]
[-$durhours-] hours and
[-/if-]
[-$entry.endTime|date_format:"%M"-] minutes
[-/foreach-]
|