Changeset 1358

Show
Ignore:
Timestamp:
08/25/11 10:21:52 (9 months ago)
Author:
ort
Message:

fix comment

Location:
trunk/templates/skin
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/skin/developer-jquery/comment.tpl

    r1233 r1358  
    3737         
    3838        <div id="comment_content_id_{$oComment->getId()}" class="content">                                               
    39                 {$oComment->getText()} 
     39                {if $oComment->isBad()} 
     40                        <div style="display: none;" id="comment_text_{$oComment->getId()}"> 
     41                                {$oComment->getText()} 
     42                        </div> 
     43                         <a href="#" onclick="jQuery('#comment_text_{$oComment->getId()}').show();jQuery(this).hide();return false;">{$aLang.comment_bad_open}</a> 
     44                {else}   
     45                        {$oComment->getText()} 
     46                {/if} 
    4047        </div> 
    4148                 
  • trunk/templates/skin/new-jquery/comment.tpl

    r1312 r1358  
    1010         
    1111         
    12         <div id="comment_content_id_{$oComment->getId()}" class="content">                                               
    13                 {$oComment->getText()} 
     12        <div id="comment_content_id_{$oComment->getId()}" class="content"> 
     13                {if $oComment->isBad()} 
     14                        <div style="display: none;" id="comment_text_{$oComment->getId()}"> 
     15                                {$oComment->getText()} 
     16                        </div> 
     17                         <a href="#" onclick="jQuery('#comment_text_{$oComment->getId()}').show();jQuery(this).hide();return false;">{$aLang.comment_bad_open}</a> 
     18                {else}   
     19                        {$oComment->getText()} 
     20                {/if} 
    1421        </div> 
    1522