Code: Select all
string(146) "Smarty error: [in module_db_tpl:AComments;default_display line 23]: [plugin] unknown tag - 'startExpandCollapse' (core.load_plugins.php, line 198)" string(158) "Smarty error: [in module_db_tpl:AComments;default_display line 23]: syntax error: unrecognized tag 'startExpandCollapse' (Smarty_Compiler.class.php, line 590)" string(145) "Smarty error: [in module_db_tpl:AComments;default_display line 76]: [plugin] unknown tag - 'stopExpandCollapse' (core.load_plugins.php, line 198)" string(157) "Smarty error: [in module_db_tpl:AComments;default_display line 76]: syntax error: unrecognized tag 'stopExpandCollapse' (Smarty_Compiler.class.php, line 590)"
Добавил свой ru_RU.php
В шаблоне сделал следующие изменения(внешний вид :убрал поля ввода
тема,Email,website и другие)
Code: Select all
<div id="comments">
{if $items}
<ul>
{/if}
{foreach from=$items item=entry} {*id="acomname" Имя комментатора*}
<li class="{$entry->cssclass}" id="acomname">{if $entry->comment_title}<strong>{$entry->comment_title}</strong><br />{/if}
{if $entry->comment_author}
{if $entry->author_website}<a href="{$entry->author_website}" target="_blank">{$entry->comment_author}</a> -
{else}{$entry->comment_author} -
{/if}
{else if $entry->author_website}<a href="{$entry->author_website}" target="_blank">{$entry->author_website}</a> -
{/if}
{$entry->date}<hr />
<div id="acomdata">{$entry->comment_data}</div> {*id="acomdata Сам комментарий*}
</li>
{/foreach}
{if $items}
</ul>
{/if}
{if FALSE == $errormessage}
{startExpandCollapse id="name" title="$addacomment"}
{else}
{$errormessage}
{/if}
<div id="acomm"><h3>{$addacomment}</h3> {*id="acomm" Форма ввода комментария*}
{$startform}
{*<form id="{$id}moduleform_1" method="post" action="{$returnurl}" class="cms_form">*}
{$image}
<table> {*style="display:none" Убираются поля форм:заголовок,вэбсайт,Email*}
<tr style="display:none">
<td>{$titletxt}:</td>
<td>{$inputtitle}</td>
</tr>
<tr>
<td>{$yournametxt}(*):</td>
<td>{$inputyourname}</td>
</tr>
<tr style="display:none">
<td>{$emailtxt}:</td>
<td>{$inputemail}</td>
</tr>
<tr style="display:none">
<td>{$notifytxt}:</td>
<td>{$inputnotify}</td>
</tr>
<tr style="display:none">
<td>{$websitetxt}:</td>
<td>{$inputwebsite}</td>
</tr>
<tr>
<td>{$commenttxt}(*):</td>
<td>{$inputcomment}</td>
</tr>
{if $spamprotect}
<tr>
<td>{$entercodetxt}:</td>
<td>{$spamprotectimage}<br />{$inputentercode}</td>
</tr>
{/if}
<tr>
<td> </td>
<td>{$submit} {$cancel}</td>
</tr>
</table></div>
{*</form>*}
{$endform}
{if FALSE == $errormessage}
{stopExpandCollapse}
{/if}
{if $trackback == 1}
<span class="trackback"><a href="{$trackbackurl}" rel="nofollow">Trackback-URL</a></span>
<!--
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:trackback="{$trackbackurl}">
<rdf:Description
rdf:about="{$redirecturl}"
dc:title="{$pagetitle}"
dc:identifier="{$redirecturl}"
trackback:ping="{$trackbackurl}" />
</rdf:RDF>
-->
{/if}
</div>