Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. public function display($tpl = null)
  2. {
  3. $this->items = $this->get('Items');
  4. $this->pagination = $this->get('Pagination'); <-- IMPORTANT
  5. $this->state = $this->get('State');
  6.  
  7. NewsfeedsHelper::addSubmenu('newsfeeds');
  8.  
  9. // Check for errors.
  10. if (count($errors = $this->get('Errors')))
  11. {
  12. JError::raiseError(500, implode("n", $errors));
  13. return false;
  14. }
  15.  
  16. $this->addToolbar();
  17. $this->sidebar = JHtmlSidebar::render();
  18. parent::display($tpl);
  19. }
  20.  
  21. <div class="btn-group pull-right hidden-phone">
  22. <label for="limit" class="element-invisible">
  23. <?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?>
  24. </label>
  25. <?php echo $this->pagination->getLimitBox(); ?>
  26. </div>
  27.  
  28. <tfoot>
  29. <tr>
  30. <td colspan="11">
  31. <?php echo $this->pagination->getListFooter(); ?>
  32. </td>
  33. </tr>
  34. </tfoot>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement