@@ -76,7 +76,7 @@ |
||
| 76 | 76 | */ |
| 77 | 77 | private function getTemplatesCommentCode() |
| 78 | 78 | { |
| 79 | - $hc = Tdmcreate\Files\CreateHtmlCode::getInstance(); |
|
| 79 | + $hc = Tdmcreate\Files\CreateHtmlCode::getInstance(); |
|
| 80 | 80 | |
| 81 | 81 | return $hc->getHtmlEmpty('Please! Enter here your comments code'); |
| 82 | 82 | } |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | */ |
| 77 | 77 | private function getTemplatesCommentCode() |
| 78 | 78 | { |
| 79 | - $hc = Tdmcreate\Files\CreateHtmlCode::getInstance(); |
|
| 79 | + $hc = Tdmcreate\Files\CreateHtmlCode::getInstance(); |
|
| 80 | 80 | |
| 81 | 81 | return $hc->getHtmlEmpty('Please! Enter here your comments code'); |
| 82 | 82 | } |
@@ -112,12 +112,12 @@ |
||
| 112 | 112 | $contIf = $hc->getHtmlDiv("<a href='<{\$admin}>'><{\$smarty.const.{$language}ADMIN}></a>", 'text-center bold', "\t", "\n", false); |
| 113 | 113 | $ret .= $sc->getSmartyConditions('xoops_isadmin', ' != ', "''", $contIf); |
| 114 | 114 | $ret .= $hc->getHtmlEmpty("\n"); |
| 115 | - $contIf = $sc->getSmartyIncludeFile('system_comments','flat',false, false,"\t\t\t"); |
|
| 116 | - $contIf .= $this->getSimpleString('<{elseif $comment_mode == "thread"}>',"\t\t"); |
|
| 117 | - $contIf .= $sc->getSmartyIncludeFile('system_comments','thread',false, false,"\t\t\t"); |
|
| 118 | - $contIf .= $this->getSimpleString('<{elseif $comment_mode == "nest"}>',"\t\t"); |
|
| 119 | - $contIf .= $sc->getSmartyIncludeFile('system_comments','nest',false, false,"\t\t\t"); |
|
| 120 | - $contDiv = $sc->getSmartyConditions('comment_mode', ' == ', '"flat"', $contIf, false, '','',"\t\t"); |
|
| 115 | + $contIf = $sc->getSmartyIncludeFile('system_comments', 'flat', false, false, "\t\t\t"); |
|
| 116 | + $contIf .= $this->getSimpleString('<{elseif $comment_mode == "thread"}>', "\t\t"); |
|
| 117 | + $contIf .= $sc->getSmartyIncludeFile('system_comments', 'thread', false, false, "\t\t\t"); |
|
| 118 | + $contIf .= $this->getSimpleString('<{elseif $comment_mode == "nest"}>', "\t\t"); |
|
| 119 | + $contIf .= $sc->getSmartyIncludeFile('system_comments', 'nest', false, false, "\t\t\t"); |
|
| 120 | + $contDiv = $sc->getSmartyConditions('comment_mode', ' == ', '"flat"', $contIf, false, '', '', "\t\t"); |
|
| 121 | 121 | $contIf = $hc->getHtmlDiv($contDiv, 'pad2 marg2', "\t", "\n", true); |
| 122 | 122 | $ret .= $sc->getSmartyConditions('comment_mode', '', '', $contIf); |
| 123 | 123 | |