HomeHelpTrac

Changeset 15590 for trunk/templates


Ignore:
Timestamp:
10/10/11 20:38:17 (8 months ago)
Author:
Alexander Trofimov
Message:

Ticket #2636

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/base/scripts/BxBaseCmtsView.php

    r15338 r15590  
    265265     */ 
    266266    function _getCommentHeadBox (&$a) { 
    267         $aMood = array( 
    268             '-1' => '_sys_txt_cmt_mood_negative', 
    269             '0' => '_sys_txt_cmt_mood_neutral', 
    270             '1' => '_sys_txt_cmt_mood_positive', 
    271         ); 
    272267        if ($a['cmt_author_id'] && $a['cmt_author_name']) 
    273268            $sAuthor = '<a href="' . getProfileLink($a['cmt_author_id']) . '" class="cmt-author">' . bx_process_output($a['cmt_author_name']) . '</a>'; 
     
    275270            $sAuthor = _t('_Anonymous'); 
    276271 
    277         $sRet = '<tr class="cmt-head"><td class="' . $this->_sStylePrefix . '-head-l">&nbsp;</td><td class="' . $this->_sStylePrefix . '-head-m">' . bx_process_output($sAuthor) . ' ' . _t('_wrote') . ' <span class="cmt-posted-ago">' . $a['cmt_ago'] . ' (' . _t($aMood[$a['cmt_mood']]) . ')</span></td><td class="' . $this->_sStylePrefix . '-head-r">&nbsp;</td></tr>'; 
     272        $sRet = '<tr class="cmt-head"><td class="' . $this->_sStylePrefix . '-head-l">&nbsp;</td><td class="' . $this->_sStylePrefix . '-head-m">' . bx_process_output($sAuthor) . ' ' . _t('_wrote') . ' <span class="cmt-posted-ago">' . $a['cmt_ago'] . ' (<span class="cmt-mood-text">' . _t($this->_aMoodText[$a['cmt_mood']]) . '</span>)</span></td><td class="' . $this->_sStylePrefix . '-head-r">&nbsp;</td></tr>'; 
    278273 
    279274        return $sRet; 
Note: See TracChangeset for help on using the changeset viewer.