{block name="eventlistbox"} {foreach $daylist as $day} {foreach $eventlist as $event} {if $event.date == $day && !isset($event.hide)} {include file="event/eventlistboxrow.html" backid="event-day-{$day}"} {/if} {/foreach}
{icon name="timetable" label="{$day|date_format:"%A"} ({$day|date_format:"%x"})"} {if $getHolidays[$day]} {trans("Holiday:")} {$getHolidays[$day]} {/if} {button type="link" href="?m=eventsearch&datefrom={$day|date_format:"%Y/%m/%d"}&dateto={$day|date_format:"%Y/%m/%d"}" icon="next"}
{button icon="add" onclick="window.location.href='?m=eventadd&day={$day|date_format:"%d"}&month={$day|date_format:"%m"}&year={$day|date_format:"%Y"}';" external=true label="Add Event"} {button icon="print" onclick="window.location.href='?m=eventprint&day={$day}&u={$filter.customerid}{foreach $filter.userid as $userid}&a[]={$userid}{/foreach}{foreach $filter.type as $type}&t[]={$type}{/foreach}&closed={$filter.closed}&privacy={$filter.privacy}';" external=true label="Print"}
{/foreach} {/block}