{include file='documentHeader'} {lang}wcf.user.notification.notifications{/lang} - {lang}wcf.user.usercp{/lang} - {PAGE_TITLE|language} {include file='headInclude'} {include file='userMenuSidebar'} {include file='header' sidebarOrientation='left'}

{lang}wcf.user.notification.notifications{/lang} {#$__wcf->getUserNotificationHandler()->countAllNotifications()}

{include file='userNotice'}
{pages print=true assign=pagesLinks controller='NotificationList' link="pageNo=%d"} {hascontent} {/hascontent}
{if $notifications[notifications]} {assign var=lastPeriod value=''} {foreach from=$notifications[notifications] item=$notification} {if $notification[event]->getPeriod() != $lastPeriod} {if $lastPeriod} {/if} {assign var=lastPeriod value=$notification[event]->getPeriod()}

{$lastPeriod}

{@$pagesLinks} {hascontent} {/hascontent}
{else}

{lang}wcf.user.notification.noNotifications{/lang}

{/if} {include file='footer'}