{if $doedit} {* we are in editor mode *}
{$msg_prop}
{$msg_title}
{$msg_type} {$msg_type_z}
  {$msg_type_pi}
  {$msg_type_se}
{else} {* we are viewing the list *}

{$msg_ext}

{$msg_menubar} : {toolbar lnk=$menubar}

{counter start=0 assign=cnt print=0} {foreach from=$entries item=entry} {counter} {/foreach}
  {$msg_menu} {$msg_link} {$msg_actions}
{$entry[0]} {a lnk=$entry[1]} {$entry[2]} {a lnk=$entry[3] class='action'} {a lnk=$entry[4] class='action'} {a lnk=$entry[5] class='action'} {a lnk=$entry[6] class='action'}

{/if}