HomeHelpTrac

Changeset 15733 for trunk/templates


Ignore:
Timestamp:
12/08/11 00:02:57 (6 months ago)
Author:
Alexander Trofimov
Message:

Groups - some corrections

Location:
trunk/templates/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/base/css/common.css

    r15716 r15733  
    133133 
    134134.bx-db-header { 
    135     height:40px; 
    136135} 
    137136 
  • trunk/templates/base/scripts/BxBaseCmtsView.php

    r15664 r15733  
    88 
    99bx_import('BxDolCmts'); 
    10 bx_import('BxDolPaginate'); 
     10bx_import('BxTemplPaginate'); 
    1111 
    1212/** 
     
    2323 
    2424        $this->_sJsObjName = 'oCmts' . ucfirst($sSystem) . $iId; 
    25         $this->_oPaginate = new BxDolPaginate(array( 
     25        $this->_oPaginate = new BxTemplPaginate(array( 
    2626            'page_url' => 'javascript:void(0);', 
    2727            'start' => 0, 
    28             'count' => $this->_oQuery->getObjectCommentsCount($this->getId(), 0), 
     28            //'count' => $this->_oQuery->getObjectCommentsCount($this->getId(), 0), 
    2929            'per_page' => $this->getPerView(), 
    3030            'sorting' => $this->_sOrder, 
     
    402402 
    403403    function _getBrowse() { 
     404        return "TODO: cmts browse"; 
     405/* 
    404406        $sRet = ' 
    405             <div class="cmt-order">' . $this->_oPaginate->getSorting(array('asc' => '_oldest first', 'desc' => '_newest first')) . ' 
     407            <div class="cmt-order">' . $this->_oPaginate->getSorting(array('asc' => '_oldest first', 'desc' => '_newest first')) . '  
    406408                <input type="checkbox" id="cmt-expand" name="cmt-expand" onclick="javascript:' . $this->_sJsObjName . '.expandAll(this)"/><label for="cmt-expand">' . _t('_expand all') . '</label> 
    407409            </div> 
     
    409411            <div class="clear_both">&nbsp;</div>'; 
    410412        return $sRet; 
     413*/ 
    411414    } 
    412415} 
Note: See TracChangeset for help on using the changeset viewer.