Changeset 15733 for trunk/templates
- Timestamp:
- 12/08/11 00:02:57 (6 months ago)
- Location:
- trunk/templates/base
- Files:
-
- 2 edited
-
css/common.css (modified) (1 diff)
-
scripts/BxBaseCmtsView.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/base/css/common.css
r15716 r15733 133 133 134 134 .bx-db-header { 135 height:40px;136 135 } 137 136 -
trunk/templates/base/scripts/BxBaseCmtsView.php
r15664 r15733 8 8 9 9 bx_import('BxDolCmts'); 10 bx_import('Bx DolPaginate');10 bx_import('BxTemplPaginate'); 11 11 12 12 /** … … 23 23 24 24 $this->_sJsObjName = 'oCmts' . ucfirst($sSystem) . $iId; 25 $this->_oPaginate = new Bx DolPaginate(array(25 $this->_oPaginate = new BxTemplPaginate(array( 26 26 'page_url' => 'javascript:void(0);', 27 27 'start' => 0, 28 'count' => $this->_oQuery->getObjectCommentsCount($this->getId(), 0),28 //'count' => $this->_oQuery->getObjectCommentsCount($this->getId(), 0), 29 29 'per_page' => $this->getPerView(), 30 30 'sorting' => $this->_sOrder, … … 402 402 403 403 function _getBrowse() { 404 return "TODO: cmts browse"; 405 /* 404 406 $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')) . ' 406 408 <input type="checkbox" id="cmt-expand" name="cmt-expand" onclick="javascript:' . $this->_sJsObjName . '.expandAll(this)"/><label for="cmt-expand">' . _t('_expand all') . '</label> 407 409 </div> … … 409 411 <div class="clear_both"> </div>'; 410 412 return $sRet; 413 */ 411 414 } 412 415 }
Note: See TracChangeset
for help on using the changeset viewer.