Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function display($tpl = null)
- {
- $this->items = $this->get('Items');
- $this->pagination = $this->get('Pagination'); <-- IMPORTANT
- $this->state = $this->get('State');
- NewsfeedsHelper::addSubmenu('newsfeeds');
- // Check for errors.
- if (count($errors = $this->get('Errors')))
- {
- JError::raiseError(500, implode("n", $errors));
- return false;
- }
- $this->addToolbar();
- $this->sidebar = JHtmlSidebar::render();
- parent::display($tpl);
- }
- <div class="btn-group pull-right hidden-phone">
- <label for="limit" class="element-invisible">
- <?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?>
- </label>
- <?php echo $this->pagination->getLimitBox(); ?>
- </div>
- <tfoot>
- <tr>
- <td colspan="11">
- <?php echo $this->pagination->getListFooter(); ?>
- </td>
- </tr>
- </tfoot>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement