{{-- * Calendar - Mini: View to display the mini calendar --}} {{--Heading table - data-ajaxloadalso is used to load the other box when any .ajax-load-link are clicked--}}
{{-- Display Previous month link if exists --}} {{-- Display Heading Calendar ( ex. 'January') --}} {{-- Display News link if it exits --}} {{--Display Weeday Heading (Ex. 'Mo','Tu', ...) --}} @foreach ($data['day_headings'] as $key => $heading) {{-- Limit the heading to 2 chars --}} @endforeach {{-- $data['dates'] is organized to be split for weeks and than for days --}} @foreach ($data['dates'] as $row_dates) {{-- Display single day --}} @foreach($row_dates as $key => $date_data) {{-- Check if the day as event --}} @if((!isset($date_data['href'])) || $date_data['href'] == false || (preg_match("/custom-(.+)(day|days|week|weeks|month|months|year|years)$/iU", $data['module']::getConfig('default_search')) && $date_data['default_period'] == false)) {{-- No events found --}} @elseif((!isset($date_data['searched_href'])) || $date_data['searched_href'] == false) {{-- Searched events (when filter as Categories or Keyword are set) --}} @else {{-- Rest of the events --}} @endif @endforeach @endforeach
@if(!empty($data['previous_month_link']) && $data['prev_check']) Prev @endif {{ $data['calendar']['heading'] }} @if(!empty($data['next_month_link']) && $data['next_check']) Next @endif
{{ $week_day }}
{{ $date_data['date'] }} {{{ $date_data['date'] }}} {{{ $date_data['date'] }}}