Changeset 15590 for trunk/templates
- Timestamp:
- 10/10/11 20:38:17 (8 months ago)
- File:
-
- 1 edited
-
trunk/templates/base/scripts/BxBaseCmtsView.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/base/scripts/BxBaseCmtsView.php
r15338 r15590 265 265 */ 266 266 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 );272 267 if ($a['cmt_author_id'] && $a['cmt_author_name']) 273 268 $sAuthor = '<a href="' . getProfileLink($a['cmt_author_id']) . '" class="cmt-author">' . bx_process_output($a['cmt_author_name']) . '</a>'; … … 275 270 $sAuthor = _t('_Anonymous'); 276 271 277 $sRet = '<tr class="cmt-head"><td class="' . $this->_sStylePrefix . '-head-l"> </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"> </td></tr>';272 $sRet = '<tr class="cmt-head"><td class="' . $this->_sStylePrefix . '-head-l"> </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"> </td></tr>'; 278 273 279 274 return $sRet;
Note: See TracChangeset
for help on using the changeset viewer.