diff options
| author | michael pereira | 2011-04-01 13:57:24 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-01 13:57:24 +0200 |
| commit | 1fb3a11a72f1d27aba069a9b5d4cf88d1daf30d0 (patch) | |
| tree | 36680922a92f94715ef26b80f4021de1b0ef18a9 /application/modules/user/views/scripts | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| parent | pagination in Bootos & Bootiso (diff) | |
| download | pbs2-1fb3a11a72f1d27aba069a9b5d4cf88d1daf30d0.tar.gz pbs2-1fb3a11a72f1d27aba069a9b5d4cf88d1daf30d0.tar.xz pbs2-1fb3a11a72f1d27aba069a9b5d4cf88d1daf30d0.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/views/scripts')
| -rw-r--r-- | application/modules/user/views/scripts/bootiso/index.phtml | 10 | ||||
| -rw-r--r-- | application/modules/user/views/scripts/bootos/index.phtml | 12 |
2 files changed, 15 insertions, 7 deletions
diff --git a/application/modules/user/views/scripts/bootiso/index.phtml b/application/modules/user/views/scripts/bootiso/index.phtml index 4e1d15d..c41d8d2 100644 --- a/application/modules/user/views/scripts/bootiso/index.phtml +++ b/application/modules/user/views/scripts/bootiso/index.phtml @@ -35,7 +35,8 @@ 'controller' => 'bootiso', 'action' => 'downloadbootiso', 'prebootID' => $bootiso->getprebootID(), - 'bootisoID' => $bootiso->getID() + 'bootisoID' => $bootiso->getID(), + 'page' => $this->page ), 'default', true, false) ?>"><img src='/media/img/download.png' alt='Download BootMedium' /></a></td> @@ -44,7 +45,8 @@ 'module' => 'user', 'controller' => 'bootiso', 'action' => 'editbootiso', - 'bootisoID' => $bootiso->getID() + 'bootisoID' => $bootiso->getID(), + 'page' => $this->page ), 'default', true, false) ?>"><img src='/media/img/edit.png' alt='Edit BootISO' /></a></td> @@ -53,13 +55,15 @@ 'module' => 'user', 'controller' => 'bootiso', 'action' => 'deletebootiso', - 'bootisoID' => $bootiso->getID() + 'bootisoID' => $bootiso->getID(), + 'page' => $this->page ), 'default', true) ?>"><img src='/media/img/delete.png' alt='Delete BootISO'/></a></td> </tr> <?php endforeach; ?> </table> +<?php echo $this->pagination; ?> 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; ?> |
