From aa8252b0a4fd482611bf948ab927aa8260fc309f Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 1 Apr 2011 16:56:01 +0200 Subject: Pagination in Bootmenu part 2 --- .../modules/user/views/scripts/bootmenu/index.phtml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'application/modules') diff --git a/application/modules/user/views/scripts/bootmenu/index.phtml b/application/modules/user/views/scripts/bootmenu/index.phtml index 3109497..dbb7048 100644 --- a/application/modules/user/views/scripts/bootmenu/index.phtml +++ b/application/modules/user/views/scripts/bootmenu/index.phtml @@ -1,7 +1,7 @@

BootMenu

notification != ''){echo $this->notification;} ?> formButton('createbootmenu', 'Create BootMenu', array( - 'onclick' => 'self.location="/user/bootmenu/createbootmenu"', + 'onclick' => 'self.location="/user/bootmenu/createbootmenu/page/'.$this->page.'"', 'class' => 'addbutton'))?> @@ -24,7 +24,8 @@ 'module' => 'user', 'controller' => 'bootmenu', 'action' => 'editbootmenu', - 'bootmenuID' => $bootmenu->getID() + 'bootmenuID' => $bootmenu->getID(), + 'page' => $this->page ), 'default', true, false) ?>">Edit Bootmenu @@ -33,7 +34,8 @@ 'module' => 'user', 'controller' => 'bootmenu', 'action' => 'deletebootmenu', - 'bootmenuID' => $bootmenu->getID() + 'bootmenuID' => $bootmenu->getID(), + 'page' => $this->page ), 'default', true) ?>">Delete Bootmenu @@ -43,7 +45,8 @@ 'controller' => 'bootmenu', 'action' => 'addbootmenuentry', 'bootmenuID' => $bootmenu->getID(), - 'maxorder' => count($this->bootmenuentrylist[$bootmenu->getID()]) + 'maxorder' => count($this->bootmenuentrylist[$bootmenu->getID()]), + 'page' => $this->page ), 'default', true) ?>">Add Entry @@ -75,7 +78,8 @@ 'controller' => 'resource', 'action' => 'getbootmenuentry', 'bootmenuentryID' => $bootmenuentry->getID(), - 'alpha' => $_SESSION['alphasessionID'] + 'alpha' => $_SESSION['alphasessionID'],, + 'page' => $this->page ), 'default', true, false) ?>"> @@ -96,7 +100,8 @@ 'bootmenuentryID' => $bootmenuentry->getID(), 'bootmenuID' => $bootmenu->getID(), 'maxorder' => count($this->bootmenuentrylist[$bootmenu->getID()]), - 'oldorder' => $bootmenuentry->getOrder() + 'oldorder' => $bootmenuentry->getOrder(), + 'page' => $this->page ), 'default', true, false) ?>">Edit Entry @@ -105,7 +110,8 @@ 'module' => 'user', 'controller' => 'bootmenu', 'action' => 'removebootmenuentry', - 'bootmenuentryID' => $bootmenuentry->getID() + 'bootmenuentryID' => $bootmenuentry->getID(), + 'page' => $this->page ), 'default', true) ?>">Remove Entry -- cgit v1.2.3-55-g7522