summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/BootmenuController.php
diff options
context:
space:
mode:
authormichael pereira2011-04-26 10:59:01 +0200
committermichael pereira2011-04-26 10:59:01 +0200
commit54d6157376b31691b145ca29ac91a20b435f1456 (patch)
tree6d0f390a6297c75d86f6ebcccc8c7d8f1c5040d0 /application/modules/user/controllers/BootmenuController.php
parentsuspended fix (diff)
downloadpbs2-54d6157376b31691b145ca29ac91a20b435f1456.tar.gz
pbs2-54d6157376b31691b145ca29ac91a20b435f1456.tar.xz
pbs2-54d6157376b31691b145ca29ac91a20b435f1456.zip
home on usb and draggable bootmenulist
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']))