{{if \IPS\Request::i()->isAjax()}}
{template="userPhoto" app="core" group="global" params="$announcement->author(), 'tiny'"}
{{else}}

{$announcement->mapped( 'title' )}

{{if !$announcement->active}}

{lang="announcement_not_active"}

{{endif}}
{template="userPhoto" app="core" group="global" params="$announcement->author(), 'tiny'"}

{{endif}}
{$announcement->mapped( 'content' )|raw} {{if \IPS\Member::loggedIn()->modPermission('can_manage_announcements') and ( $announcement->canEdit() or $announcement->canDelete() )}}
{lang="announce_actions"} {{endif}}
{{if \IPS\Request::i()->isAjax()}}
{{endif}}