{$threads=$cbpm->get_threads(['limit'=>5])}
{lang code='Messages'}
{if $threads} {foreach $threads as $_thread} {if $_thread} {if $_thread@last}{$last=true}{else}{$last=false}{/if} {$block=get_template('msgs_notifications_block','path')} {include file=$block thread=$_thread last=$last} {/if} {/foreach} {else}
No messages
{/if}
Show all Messages