1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-17 15:20:51 +03:00

fix comment

This commit is contained in:
Mzhelskiy Maxim 2011-08-25 06:21:52 +00:00
parent 000c39b614
commit a7d7be188a
2 changed files with 17 additions and 3 deletions

View file

@ -36,7 +36,14 @@
<div id="comment_content_id_{$oComment->getId()}" class="content">
{$oComment->getText()}
{if $oComment->isBad()}
<div style="display: none;" id="comment_text_{$oComment->getId()}">
{$oComment->getText()}
</div>
<a href="#" onclick="jQuery('#comment_text_{$oComment->getId()}').show();jQuery(this).hide();return false;">{$aLang.comment_bad_open}</a>
{else}
{$oComment->getText()}
{/if}
</div>

View file

@ -10,7 +10,14 @@
<div id="comment_content_id_{$oComment->getId()}" class="content">
{$oComment->getText()}
{if $oComment->isBad()}
<div style="display: none;" id="comment_text_{$oComment->getId()}">
{$oComment->getText()}
</div>
<a href="#" onclick="jQuery('#comment_text_{$oComment->getId()}').show();jQuery(this).hide();return false;">{$aLang.comment_bad_open}</a>
{else}
{$oComment->getText()}
{/if}
</div>