how can i take off the edit button on our discuss and reply button ?
//LINE 137
if( $my->id &&
( DiscussHelper::isSiteAdmin()
|| $acl->allowed( 'delete_attachment')
|| $deleteOwn
|| $isModerator
)
)
{
return true;
}
if( $my->id && ($acl->allowed( 'delete_attachment') && $deleteOwn) || DiscussHelper::isSiteAdmin() || $isModerator)
{
return true;
}
//LINE 145 - 152
<?php if( $access->canReply() && $post->isReply()){ ?>
<a href="javascript:void(0);" class="btn btn-mini quotePost" rel="ed-tooltip" data-original-title="<?php echo JText::_( 'COM_EASYDISCUSS_QUOTE' , true );?>">
<i class="icon-share-alt"></i>
<input type="hidden" class="raw_message" value="<?php echo $this->escape( $post->content_raw );?>" />
<input type="hidden" class="raw_author" value="<?php echo $this->escape( $post->getOwner()->name );?>" />
</a>
<?php } ?>
COM_EASYDISCUSS_REPORT_REPLY_PERMALINK="reply"
$viewLink = JURI::root() . 'index.php?option=com_easydiscuss&view=post&id=' . $row->parent_id;
$viewLink = JURI::root() . 'index.php?option=com_easydiscuss&view=post&id=' . $row->parent_id . '#' . JText::_('COM_EASYDISCUSS_REPORT_REPLY_PERMALINK') . '-' . $row->id;