{$threads=$cbpm->get_threads(['limit'=>5])} {if $threads}
{lang code='Messages'}
{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}
Show all Messages
{/if}