ProJam Comment Delete
Using Jamroom
Thanks Michael.
if jrUser_is_admin() || !isset($item.comment_locked)}
{if $_params.profile_owner_id > 0}
{* profile owners can delete comments *}
{*{jrCore_item_update_button module="jrComment" profile_id=$_params.profile_owner_id item_id=$item._item_id}*}
{jrCore_item_delete_button module="jrComment" profile_id=$_params.profile_owner_id item_id=$item._item_id}
{else}
{* site admins and comment owners see this button *}
{jrCore_item_update_button module="jrComment" profile_id=$item._profile_id item_id=$item._item_id}
{jrCore_item_delete_button module="jrComment" profile_id=$item._profile_id item_id=$item._item_id}
{/if}