diff options
| author | Simon | 2011-04-01 13:56:31 +0200 |
|---|---|---|
| committer | Simon | 2011-04-01 13:56:31 +0200 |
| commit | 0033cec593e82c39cac9b1d0de5c1f9f6f7209e1 (patch) | |
| tree | de1f68c58cdf0d0ab97c425251bf0d9923f0d9af /application/modules/user/views/scripts | |
| parent | Pagination in Bootiso (diff) | |
| download | pbs2-0033cec593e82c39cac9b1d0de5c1f9f6f7209e1.tar.gz pbs2-0033cec593e82c39cac9b1d0de5c1f9f6f7209e1.tar.xz pbs2-0033cec593e82c39cac9b1d0de5c1f9f6f7209e1.zip | |
pagination in Bootos & Bootiso
Diffstat (limited to 'application/modules/user/views/scripts')
| -rw-r--r-- | application/modules/user/views/scripts/bootiso/index.phtml | 6 | ||||
| -rw-r--r-- | application/modules/user/views/scripts/bootos/index.phtml | 12 |
2 files changed, 11 insertions, 7 deletions
diff --git a/application/modules/user/views/scripts/bootiso/index.phtml b/application/modules/user/views/scripts/bootiso/index.phtml index ce0d8ce..c41d8d2 100644 --- a/application/modules/user/views/scripts/bootiso/index.phtml +++ b/application/modules/user/views/scripts/bootiso/index.phtml @@ -36,7 +36,7 @@ 'action' => 'downloadbootiso', 'prebootID' => $bootiso->getprebootID(), 'bootisoID' => $bootiso->getID(), - 'page' => $this->page + 'page' => $this->page ), 'default', true, false) ?>"><img src='/media/img/download.png' alt='Download BootMedium' /></a></td> @@ -46,7 +46,7 @@ 'controller' => 'bootiso', 'action' => 'editbootiso', 'bootisoID' => $bootiso->getID(), - 'page' => $this->page + 'page' => $this->page ), 'default', true, false) ?>"><img src='/media/img/edit.png' alt='Edit BootISO' /></a></td> @@ -56,7 +56,7 @@ 'controller' => 'bootiso', 'action' => 'deletebootiso', 'bootisoID' => $bootiso->getID(), - 'page' => $this->page + 'page' => $this->page ), 'default', true) ?>"><img src='/media/img/delete.png' alt='Delete BootISO'/></a></td> diff --git a/application/modules/user/views/scripts/bootos/index.phtml b/application/modules/user/views/scripts/bootos/index.phtml index 53d219f..92e6bbb 100644 --- a/application/modules/user/views/scripts/bootos/index.phtml +++ b/application/modules/user/views/scripts/bootos/index.phtml @@ -1,7 +1,7 @@ <h1>BootOS</h1> <?php if($this->notification != ''){echo $this->notification;} ?> <?php echo $this->formButton('checkupdate', 'Check for Updates', array( - 'onclick' => 'self.location="/user/bootos/index/checkupdate/true"', + 'onclick' => 'self.location="/user/bootos/index/page/'.$this->page.'/checkupdate/true"', 'class' => 'updatebutton', ))?> <?php echo $this->formButton('createbootos', 'Create BootOS', array( @@ -47,7 +47,8 @@ 'module' => 'user', 'controller' => 'bootos', 'action' => 'updatebootos', - 'bootosID' => $bootos->getID() + 'bootosID' => $bootos->getID(), + 'page' => $this->page ), 'default', true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a></td> @@ -60,7 +61,8 @@ 'module' => 'user', 'controller' => 'bootos', 'action' => 'editbootos', - 'bootosID' => $bootos->getID() + 'bootosID' => $bootos->getID(), + 'page' => $this->page ), 'default', true, false) ?>"><img src='/media/img/edit.png' alt='Edit BootOS' /></a></td> @@ -70,13 +72,15 @@ 'module' => 'user', 'controller' => 'bootos', 'action' => 'deletebootos', - 'bootosID' => $bootos->getID() + 'bootosID' => $bootos->getID(), + 'page' => $this->page ), 'default', true) ?>"><img src='/media/img/delete.png' alt='Delete BootOS' /></a></td> </tr> <?php endforeach; ?> </table> +<?php echo $this->pagination; ?> |
