function render_top() { if ($this->is_first_page()) { return false; } return parent::render_top(); }
function render_jump_set() { if ($this->_qty_total < $this->_qty_page) { return false; } if (empty($this->_jump_values)) { return parent::render_jump_set(); } return $this->_renderer->label('offset', AMP_TEXT_GO_TO_PAGE, array('class' => 'searchform_label')) . $this->_renderer->select('offset', $this->url_offset($this->get_offset()), $this->_jump_values, array('onChange' => 'window.location.href=this.value', 'class' => 'searchform_element')); }