function renderEntries(Search_ResultSet $entries)
 {
     global $smarty;
     $smarty->loadPlugin('smarty_block_pagination_links');
     $arguments = $this->arguments;
     $arguments['resultset'] = $entries;
     $pagination = smarty_block_pagination_links($arguments, '', $smarty, $tmp = false);
     if ($this->getFormat() == Search_Formatter_Plugin_Interface::FORMAT_WIKI) {
         $pagination = "~np~{$pagination}~/np~";
     }
     return $this->parent->renderEntries($entries) . $pagination;
 }
	function renderEntries(Search_ResultSet $entries)
	{
		global $smarty;
		$smarty->loadPlugin('smarty_block_pagination_links');
		$pagination = smarty_block_pagination_links(array('_onclick' => $this->onclick, 'offset_jsvar' => $this->offset_jsvar, 'resultset' => $entries), '', $smarty, $tmp = false);

		if ($this->getFormat() == Search_Formatter_Plugin_Interface::FORMAT_WIKI) {
			$pagination = "~np~$pagination~/np~";
		}
		return $this->parent->renderEntries($entries) . $pagination;
	}