mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
New Events: user_page_item_viewed, user_comment_deleted
News Comment Count now moving up/down accordingly.
This commit is contained in:
@@ -194,8 +194,11 @@ class comment_shortcodes extends e_shortcode
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO put into a <ul> drop-down format.
|
||||
$text = "<a href='#' data-target='".e_HTTP."comment.php' id='e-comment-delete-".$this->var['comment_id']."' class='e-comment-delete btn btn-default btn-mini btn-xs'>".LAN_DELETE."</a> ";
|
||||
// TODO put into a <ul> drop-down format.
|
||||
|
||||
e107::getDebug()->log($this->var);
|
||||
|
||||
$text = "<a href='#' data-target='".e_HTTP."comment.php' id='e-comment-delete-".$this->var['comment_id']."' data-type='".$this->var['comment_type']."' data-itemid='".$this->var['comment_item_id']."' class='e-comment-delete btn btn-default btn-mini btn-xs'>".LAN_DELETE."</a> ";
|
||||
|
||||
if($this->var['comment_blocked'] == 2) // pending approval.
|
||||
{
|
||||
|
Reference in New Issue
Block a user