{extends file="layout.html"} {block name=title}::: LMS :{$layout.pagetitle|striphtml} :::{/block} {block name=module_content}

{$layout.pagetitle}

{cycle values="light,lucid" print=false} {section name=daylist loop=$daylist} {/section}
{trans("Type:")} {trans("Time:")}
{trans("User:")}
{trans("Title:")}
{trans("Description:")}
{trans("Customer:")}
«««  {section name=days loop=$days.day} {if !$days.dow[days]}{/if} {if $days.sel[days]}*{/if}{$days.day[days]|string_format:"%d"}{if $days.sel[days]}*{/if} {if !$days.dow[days]}{/if} {/section} »»» 
{trans("Filter:")} {trans("Type:")} {trans("User:")} {trans("Privacy:")} {trans("Customer:")} {customerlist form="filter" customers=$customers selected=$listdata.customerid selectname="u" inputname="u" customOnChange="document.filter.submit();" customername=false} {trans("Month:")} {trans("Year:")} {trans("Status:")}
{if $counter%2 && $counter!=0}{cycle print=false}{/if} {assign var=counter value=0} {section name=eventlist loop=$eventlist} {if $eventlist[eventlist].date == $daylist[daylist]} {math equation="x+1" x=$counter assign=counter} {/if} {/section}
{$daylist[daylist]|date_format:"%A"} ({$daylist[daylist]|date_format:"%x"}) {if $getHolidays[$daylist[daylist]]} {trans("Holiday:")} {$getHolidays[$daylist[daylist]]} {/if}
{$_EVENTTYPES[$eventlist[eventlist].type]} {math equation="floor(x/100)" x=$eventlist[eventlist].begintime format="%02d"}:{math equation="x % 100" x=$eventlist[eventlist].begintime format="%02d"} {if $eventlist[eventlist].begintime != $eventlist[eventlist].endtime} - {math equation="floor(x/100)" x=$eventlist[eventlist].endtime format="%02d"}:{math equation="x % 100" x=$eventlist[eventlist].endtime format="%02d"} {/if}
{foreach $eventlist[eventlist].userlist as $user} {$user.name|truncate:"25":"...":true}
{/foreach}
{$eventlist[eventlist].title}
{if $eventlist[eventlist].description != ''} {$eventlist[eventlist].description}{/if}
{if $eventlist[eventlist].note != ''} {$eventlist[eventlist].note}{/if}
{if $eventlist[eventlist].ticketid>0} #{$eventlist[eventlist].ticketid}{/if} {if $eventlist[eventlist].customername} {$eventlist[eventlist].customername|truncate:"30":"...":true}
{if isset($eventlist[eventlist].location)} {$eventlist[eventlist].location} {else} {$eventlist[eventlist].customerlocation} {/if} {/if}
{if ConfigHelper::checkPrivilege('timetable_management')} {if $eventlist[eventlist].closed} [ {trans( {else} [ {trans( {/if} [ {trans(  [ {trans( {/if} {if $eventlist[eventlist].note == ''} {foreach item=user from=$eventlist[eventlist].userlist} {if $layout.logid == $user.id}[ {trans({/if} {/foreach} {/if}
{/block}