pageCount <= 1) return; $fromto = $this->translate('%d to %d of %d'); $total = $this->totalItemCount; $limit = $this->itemCountPerPage; $title_prev = sprintf( $fromto, ($this->current - 2) * $limit + 1, ($this->current - 1) * $limit, $total ); $title_next = sprintf( $fromto, ($this->current) * $limit + 1, ($this->current + 1) * $limit, $total ); ?>