From fbe400c7b5f6c888f78402e1d3d3ba4433886a34 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 13 Jan 2006 02:36:19 +0000 Subject: [PATCH] Use the new package system to get pagination to work --- pagination.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pagination.php b/pagination.php index 69f507c..1a228b6 100644 --- a/pagination.php +++ b/pagination.php @@ -34,6 +34,10 @@ * and then the input variables for page number and perpage. This will * then create a page navigator and manage the SQL LIMIT statements. * +* Templates required: +* pagenav_bit - The individual page numbers in the page navigator +* pagenav - The entirity of the page navigtaor +* * @author Iris Studios, Inc. * @copyright Copyright ©2002 - [#]year[#], Iris Studios, Inc. * @version $Revision$ @@ -342,12 +346,12 @@ class Pagination $nolink = false; } - eval('$pagebits[] .= "' . $bugsys->template->fetch('pagenav_bit') . '";'); + eval('$pagebits[] .= "' . $this->registry->modules['template']->fetch('pagenav_bit') . '";'); } $pagebits = implode(",\n", $pagebits); - eval('$pagenav = "' . $bugsys->template->fetch('pagenav') . '";'); + eval('$pagenav = "' . $this->registry->modules['template']->fetch('pagenav') . '";'); return $pagenav; } -- 2.43.5