summaryrefslogtreecommitdiffstats
path: root/application/modules
diff options
context:
space:
mode:
authorSimon2011-04-01 16:56:01 +0200
committerSimon2011-04-01 16:56:01 +0200
commitaa8252b0a4fd482611bf948ab927aa8260fc309f (patch)
tree09704aac5066b795fcbf1a2618b157a237fa9fdb /application/modules
parentPagination in Bootmenu (diff)
downloadpbs2-aa8252b0a4fd482611bf948ab927aa8260fc309f.tar.gz
pbs2-aa8252b0a4fd482611bf948ab927aa8260fc309f.tar.xz
pbs2-aa8252b0a4fd482611bf948ab927aa8260fc309f.zip
Pagination in Bootmenu part 2
Diffstat (limited to 'application/modules')
-rw-r--r--application/modules/user/views/scripts/bootmenu/index.phtml20
1 files changed, 13 insertions, 7 deletions
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 @@
<h1>BootMenu</h1>
<?php if($this->notification != ''){echo $this->notification;} ?>
<?php echo $this->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) ?>"><img src='/media/img/edit.png' alt='Edit Bootmenu'/></a></td>
@@ -33,7 +34,8 @@
'module' => 'user',
'controller' => 'bootmenu',
'action' => 'deletebootmenu',
- 'bootmenuID' => $bootmenu->getID()
+ 'bootmenuID' => $bootmenu->getID(),
+ 'page' => $this->page
),
'default',
true) ?>"><img src='/media/img/delete.png' alt='Delete Bootmenu'/></a></td>
@@ -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) ?>"><img src='/media/img/add.png' alt='Add Entry'/></a></td>
@@ -75,7 +78,8 @@
'controller' => 'resource',
'action' => 'getbootmenuentry',
'bootmenuentryID' => $bootmenuentry->getID(),
- 'alpha' => $_SESSION['alphasessionID']
+ 'alpha' => $_SESSION['alphasessionID'],,
+ 'page' => $this->page
),
'default',
true, false) ?>"><img src='/media/img/play.gif'>
@@ -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) ?>"><img src='/media/img/edit.png' alt='Edit Entry'/></a></td>
@@ -105,7 +110,8 @@
'module' => 'user',
'controller' => 'bootmenu',
'action' => 'removebootmenuentry',
- 'bootmenuentryID' => $bootmenuentry->getID()
+ 'bootmenuentryID' => $bootmenuentry->getID(),
+ 'page' => $this->page
),
'default',
true) ?>"><img src='/media/img/delete.png' alt='Remove Entry'/></a></td>