AntonLV 13 tahun lalu
induk
melakukan
dab5b346b8

+ 2 - 2
modules/boonex/english/data/langs/system.xml

@@ -3551,8 +3551,8 @@ More info about URI DNSBL: <br />
     <string name="_sys_form_comment_input_caption_system_cmt_parent_id"><![CDATA[Parent ID]]></string>
     <string name="_sys_form_comment_input_caption_system_cmt_text"><![CDATA[Text]]></string>
     <string name="_sys_form_comment_input_caption_system_cmt_image"><![CDATA[Image]]></string>
-    <string name="_sys_form_comment_input_caption_system_cmt_submit"><![CDATA[Submit]]></string>
-    <string name="_sys_form_comment_input_submit"><![CDATA[Submit]]></string>
+    <string name="_sys_form_comment_input_caption_system_cmt_submit"><![CDATA[Post]]></string>
+    <string name="_sys_form_comment_input_submit"><![CDATA[Post]]></string>
     <string name=""><![CDATA[]]></string>
     <string name=""><![CDATA[]]></string>
     <string name=""><![CDATA[]]></string>

+ 2 - 2
template/comment.html

@@ -1,4 +1,4 @@
-<li id="cmt__id__" class="__style_prefix____class__ bx-def-margin-top-auto">
+<li id="cmt__id__" class="__style_prefix____class__ bx-def-padding-topbottom">
 	<div class="__style_prefix__-cnt">
 		<a id="__system____id__" class="__style_prefix__-anchor bx-anchor-invisible">&nbsp;</a>
 		<div class="__style_prefix__-avatar bx-def-thumb bx-def-thumb-size">
@@ -42,5 +42,5 @@
 			__actions__
 		</div>
 	</div>
-	<ul class="cmts cmts-margin">__replies__</ul>
+	<ul class="cmts cmts-margin bx-def-padding-top">__replies__</ul>
 </li>

+ 2 - 2
template/comment_more.html

@@ -1,5 +1,5 @@
-<li class="__style_prefix__-more<bx_if:is_root>-root</bx_if:is_root> bx-def-margin-topbottom">
+<li class="__style_prefix__-more<bx_if:is_root>-root</bx_if:is_root> bx-def-padding-topbottom">
 	<div class="__style_prefix__-more-cont">
-		<a class="<bx_if:is_button>bx-btn</bx_if:is_button>" href="javascript:void(0)" onclick="javascript:__js_object__.cmtLoad(this, __parent_id__, __start__, __per_view__)">__title__</a>
+		<a href="javascript:void(0)" onclick="javascript:__js_object__.cmtLoad(this, __parent_id__, __start__, __per_view__)">__title__</a>
 	</div>
 </li>

+ 7 - 18
template/css/cmts.css

@@ -13,16 +13,12 @@
     }
     ul.cmts-margin,
     div.cmt-reply-margin {
+    	padding-top: 20px;
 		padding-left: 60px;
     }
-    li.cmt,
-    ul.cmts-margin li.cmt {
+    li.cmt {
     	position: relative;
     }
-    ul.cmts-margin li.cmt:first-child {
-		margin-top: 30px;
-    	margin-top: 2rem;
-    }
     li.cmt-err {
         color: red;
     }
@@ -43,24 +39,17 @@
        font-size: 11px;
        color: #333333;
     }
+    div.cmt-cnt {
+		position: relative;
+    }
 
 	/*--- More ---*/
     li.cmt-more {}
-	li.cmt-more-root {
-		margin-top: 20px;
-		margin-bottom: 20px;
-	}
-	div.cmt-more-cont {}
-	div.cmt-more-line {
-		border-bottom: 0px;
-	}
+	li.cmt-more-root {}
 
-	li.cmt-more div.cmt-more-cont {
+	div.cmt-more-cont {
 		font-weight: bold;
 	}
-	li.cmt-more div.cmt-more-line {
-		display: none;
-	}
 
 	
     li.cmt-more-root div.cmt-more-cont {

+ 6 - 0
template/css/default.css

@@ -175,6 +175,12 @@
     padding-right:20px;
     padding-right:1.2rem;
 }
+.bx-def-padding-topbottom {
+    padding-top:20px;
+    padding-top:1.2rem;
+    padding-bottom:20px;
+    padding-bottom:1.2rem;
+}
 .bx-def-padding-top {
     padding-top:20px;
     padding-top:1.2rem;

+ 0 - 4
template/scripts/BxBaseCmtsView.php

@@ -718,10 +718,6 @@ class BxBaseCmtsView extends BxDolCmts {
     		'bx_if:is_root' => array(
     			'condition' => $bRoot,
     			'content' => array()
-    		),
-    		'bx_if:is_button' => array(
-    			'condition' => $bRoot,
-    			'content' => array()
     		),
 			'parent_id' => $aBp['vparent_id'],
     		'start' => $iStart,