{block name="eventlistbox"} {foreach $daylist as $day} {foreach $eventlist as $event} {if $event.date == $day} {include file="event/eventlistboxrow.html"} {/if} {/foreach}
{$day|date_format:"%A"} ({$day|date_format:"%x"}) {if $getHolidays[$day]} {trans("Holiday:")} {$getHolidays[$day]} {/if} »»»
{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}