From 54d6157376b31691b145ca29ac91a20b435f1456 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Tue, 26 Apr 2011 10:59:01 +0200 Subject: home on usb and draggable bootmenulist --- .../modules/user/controllers/BootmenuController.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'application/modules/user/controllers/BootmenuController.php') 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'])) -- cgit v1.2.3-55-g7522