mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Issue #1351 - BC Styling fix for comments.
This commit is contained in:
@@ -126,7 +126,7 @@ class comment
|
|||||||
$sc_style['COMMENT_INPUT']['pre'] = "<tr><td style='width:20%; vertical-align:top;'>".COMLAN_8.":</td><td id='commentform' style='width:80%;'>";
|
$sc_style['COMMENT_INPUT']['pre'] = "<tr><td style='width:20%; vertical-align:top;'>".COMLAN_8.":</td><td id='commentform' style='width:80%;'>";
|
||||||
$sc_style['COMMENT_INPUT']['post'] = "</td></tr>";
|
$sc_style['COMMENT_INPUT']['post'] = "</td></tr>";
|
||||||
|
|
||||||
$sc_style['COMMENT_BUTTON']['pre'] = "<tr style='vertical-align:top'><td colspan='2' id='commentformbutton' style='width:80%;'>";
|
$sc_style['COMMENT_BUTTON']['pre'] = "<tr style='vertical-align:top'><td style='width:20%; vertical-align:top;'> </td><td id='commentformbutton' style='width:80%;'>";
|
||||||
$sc_style['COMMENT_BUTTON']['post'] = "</td></tr>";
|
$sc_style['COMMENT_BUTTON']['post'] = "</td></tr>";
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1089,6 +1089,10 @@ class comment
|
|||||||
$replace = array($modcomment,$text,$comment,$pagination);
|
$replace = array($modcomment,$text,$comment,$pagination);
|
||||||
$TEMPL = str_replace($search,$replace,$this->template['layout']);
|
$TEMPL = str_replace($search,$replace,$this->template['layout']);
|
||||||
|
|
||||||
|
|
||||||
|
// $return = null;
|
||||||
|
// $tablerender = true;
|
||||||
|
|
||||||
if(!$return)
|
if(!$return)
|
||||||
{
|
{
|
||||||
if ($tablerender)
|
if ($tablerender)
|
||||||
@@ -1104,6 +1108,11 @@ class comment
|
|||||||
//echo $modcomment.$comment;
|
//echo $modcomment.$comment;
|
||||||
//echo $text;
|
//echo $text;
|
||||||
|
|
||||||
|
if(!deftrue('BOOTSTRAP')) //v1.x
|
||||||
|
{
|
||||||
|
$comment = $ns->tablerender(COMLAN_9, $comment, 'comment', true );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user