AntonLV преди 13 години
родител
ревизия
0abb9a4ce3
променени са 3 файла, в които са добавени 2 реда и са изтрити 4 реда
  1. 1 0
      inc/classes/BxDolCmts.php
  2. 0 4
      template/css/cmts.css
  3. 1 0
      template/scripts/BxBaseCmtsView.php

+ 1 - 0
inc/classes/BxDolCmts.php

@@ -812,6 +812,7 @@ class BxDolCmts extends BxDol
     {
         if ($this->isNl2br())
             return str_replace('<br />', "", $s);
+
         return $s;
     }
 

+ 0 - 4
template/css/cmts.css

@@ -92,10 +92,6 @@
 		padding: 0px;
 	}
 
-    div.cmt-username a {
-        text-decoration: none;
-    }
-
     div.cmt-reply-to a.cmt-points span {
 		display: inline;
     	float: none;

+ 1 - 0
template/scripts/BxBaseCmtsView.php

@@ -575,6 +575,7 @@ class BxBaseCmtsView extends BxDolCmts {
         	return array('msg' => $aCmt['cmt_author_id'] == $iCmtAuthorId ? strip_tags($this->msgErrEditAllowed()) : _t('_Access denied'));
 
 		$oForm = $this->_getFormObject(BX_CMT_ACTION_EDIT, $aCmt['cmt_id']);
+		$aCmt['cmt_text'] = $this->_prepareTextForEdit($aCmt['cmt_text']);
 
 		$oForm->initChecker($aCmt);
 		if($oForm->isSubmittedAndValid()) {