Changeset 941

Show
Ignore:
Timestamp:
06/12/10 19:57:53 (20 months ago)
Author:
deniart
Message:

исправлены баги с катом и комментариями в шаблоне developer

Location:
trunk/templates/skin/developer
Files:
3 modified

Legend:

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

    r923 r941  
    5050                 
    5151                {if $oComment->isBad()} 
    52                         <div class="bad">{$oComment->getText()}</div> 
     52                        <span class="bad">{$oComment->getText()}</span> 
    5353                {else}   
    5454                        {$oComment->getText()} 
    55  
    56                         <br /> 
    57                         {if $oUserCurrent and !$oComment->getDelete() and !$bAllowNewComment} 
    58                                 <a href="javascript:lsCmtTree.toggleCommentForm({$oComment->getId()});" class="reply-link">{$aLang.comment_answer}</a> 
    59                         {/if} 
    60                         <a href="#" title="{$aLang.comment_collapse}/{$aLang.comment_expand}" class="folding" {if $bOneComment}style="display: none;"{/if}>{$aLang.comment_fold}</a> 
    6155                {/if} 
     56                 
     57                <br /> 
     58                {if $oUserCurrent and !$oComment->getDelete() and !$bAllowNewComment} 
     59                        <a href="javascript:lsCmtTree.toggleCommentForm({$oComment->getId()});" class="reply-link">{$aLang.comment_answer}</a> 
     60                {/if} 
     61                <a href="#" title="{$aLang.comment_collapse}/{$aLang.comment_expand}" class="folding" {if $bOneComment}style="display: none;"{/if}>{$aLang.comment_fold}</a> 
    6262        </div> 
    6363{else}                           
  • trunk/templates/skin/developer/css/style.css

    r928 r941  
    341341 
    342342/* Reply Form */ 
     343.reply { padding-bottom: 10px; } 
    343344.reply textarea { height: 70px; } 
    344345.reply textarea.loader { background: #f7f7f7 url(../images/loader.gif) no-repeat center;} 
  • trunk/templates/skin/developer/topic.tpl

    r937 r941  
    4646                {/if} 
    4747 
    48                 {$oTopic->getText()} 
     48                {if !$tSingle} 
     49                        {$oTopic->getTextShort()} 
     50                        {if $oTopic->getTextShort()!=$oTopic->getText()} 
     51                                <a href="{$oTopic->getUrl()}" title="{$aLang.topic_read_more}"> 
     52                                {if $oTopic->getCutText()} 
     53                                        {$oTopic->getCutText()} 
     54                                {else} 
     55                                        {$aLang.topic_read_more} 
     56                                {/if}                            
     57                                </a> 
     58                        {/if} 
     59                {else} 
     60                        {$oTopic->getText()} 
     61                {/if} 
    4962        </div>   
    5063