diff --git a/common/modules/comment/views/artbox_comment_item.php b/common/modules/comment/views/artbox_comment_item.php index 7c826ab..13c5005 100755 --- a/common/modules/comment/views/artbox_comment_item.php +++ b/common/modules/comment/views/artbox_comment_item.php @@ -18,12 +18,12 @@ echo Html::img('/img/user-noimage.png'); ?> -
+
date_add); ?>
-
+
user )) { echo $model->user->username; @@ -41,7 +41,7 @@ -
+
text; ?> diff --git a/common/modules/comment/widgets/CommentWidget.php b/common/modules/comment/widgets/CommentWidget.php index e962f4b..b2e9374 100755 --- a/common/modules/comment/widgets/CommentWidget.php +++ b/common/modules/comment/widgets/CommentWidget.php @@ -111,6 +111,9 @@ */ public $itemOptions = [ 'class' => 'artbox_item_container', + 'itemprop' => 'comment', + 'itemscope' => 'itemscope', + 'itemtype' => 'http://schema.org/UserComments', ]; /** diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index 6eea2de..33af5ef 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -182,7 +182,7 @@ -

+

comments); if($comment_count) { -- libgit2 0.21.4