summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/BootmenuController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers/BootmenuController.php')
-rw-r--r--application/modules/user/controllers/BootmenuController.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/application/modules/user/controllers/BootmenuController.php b/application/modules/user/controllers/BootmenuController.php
index f4b2638..214946c 100644
--- a/application/modules/user/controllers/BootmenuController.php
+++ b/application/modules/user/controllers/BootmenuController.php
@@ -468,6 +468,22 @@ class user_BootmenuController extends Zend_Controller_Action
if($this->membership->getGroupID() != $bootmenu->getGroupID() || (!Pbs_Acl::checkRight('booee') && !Pbs_Acl::checkRight('booeem')))
$this->_redirect('/user/bootmenu/index/type/'.$this->type.'/page/'.$this->page.'/modifyresult/forbidden');
}
+
+ $neworder = $this->_request->getParam('neworder');
+ if($neworder != ''){
+ if($neworder == 'undefined')
+ $neworder = $maxorder-1;
+
+ $_POST = array(
+ 'title' => $bootmenuentry->getTitle(),
+ 'bootosID' => $bootmenuentry->getBootosID(),
+ 'kcl' => $bootmenuentry->getKcl(),
+ 'kclappend' => $bootmenuentry->getKclappend(),
+ 'configID' => $bootmenuentry->getConfigID(),
+ 'order' => $neworder,
+ 'editbootmenuentry' => 'Edit Bootmenuentry',
+ );
+ }
if (!isset($_POST["editbootmenuentry"])){
if(!isset($_POST['bootosID']))