{% if loops.calendar|length %}
{% if U_CALENDAR_COLLAPSE_URL %}
{{ lang('CALENDAR') }}
{% endif %}
{% if S_INDEX %}
{% endif %}
{{ lang('EVENT_WORLD_DAY') }} {% if CALENDAR_ENABLE_BIRTHDAYS %} {{ lang('CALENDAR_BIRTHDAYS') }} {% endif %} {{ lang('CALENDAR_ANNUAL') }} {{ lang('CALENDAR_NOW') }} {{ lang('CALENDAR_ACTIVE') }} {{ lang('CALENDAR_EXPIRED') }} {% if U_ADD_EVENT %} {{ lang('ADD_EVENT') }} {% endif %}
{% for calendar in loops.calendar %} {% endfor %}
{% if S_INDEX %}
{% endif %}
{% if S_DISPLAY_SEARCH and U_SEARCH_CALENDAR %} {% endif %} {% if CALENDAR_ENABLE_BIRTHDAYS && S_DISPLAY_BIRTHDAY_LIST %} {{ lang('NEXT') ~ ' ' ~ lang('TAB') }} {% endif %}

{{ lang('EVENTS_FOR') }} {% if DAY_STRING %}{{ DAY_STRING }} {{ DAY_J }}{% endif %} {{ NOW_MONTH }} {{ NOW_YEAR }}

{% for events in loops.events %}
{% INCLUDE 'event_info.html' %}
{% else %} {{ lang('NO_EVENTS') }} {% endfor %}
{% if CALENDAR_ENABLE_BIRTHDAYS && S_DISPLAY_BIRTHDAY_LIST %} {% endif %}
{% if S_INDEX %}
{% endif %}
{% endif %}