Browse Source

#1 - Comments: Don't show 'No comments'

AntonLV 11 years ago
parent
commit
c58b47be93

+ 1 - 1
template/comment_empty.html

@@ -1,3 +1,3 @@
-<li class="__style_prefix__-no">
+<li class="__style_prefix__-no bx-def-padding-top bx-def-margin-bottom">
 	<bx_text:_There_are_no_comments_yet />
 </li>

+ 1 - 1
template/comments_block.html

@@ -1,6 +1,6 @@
 <div id="cmts-box-__system__-__id__">
 	__post_form_top__
-	<div id="cmt0" class="cmts bx-def-margin-bottom">
+	<div id="cmt0" class="cmts">
 		<a class="bx-anchor-invisible" name="__list_anchor__"></a>
 		<ul class="cmts">
 			__comments__

+ 0 - 3
template/css/cmts.css

@@ -21,9 +21,6 @@
     li.cmt-err {
         color: red;
     }
-    li.cmt-no    {
-        padding: 10px;
-    }
     li.cmt-hidden {
        display: none;
     }

+ 1 - 1
template/scripts/BxBaseCmts.php

@@ -79,7 +79,7 @@ class BxBaseCmts extends BxDolCmts
 
         $aBp['parent_id'] = $iParentId;
         $aBp['vparent_id'] = $iVParentId;
-        $aDp['show_empty'] = true;
+        $aDp['show_empty'] = false;
 
 		//add live update
 		$this->actionResumeLiveUpdate();