1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-27 05:08:11 +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

@ -9,8 +9,15 @@
<div class="folding"></div>
<div id="comment_content_id_{$oComment->getId()}" class="content">
{$oComment->getText()}
<div id="comment_content_id_{$oComment->getId()}" class="content">
{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>