From 608133e70c3acdc11850f7096a56056ae1b33b31 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 19 Mar 2011 12:26:53 +0100 Subject: Filter korrigiert Zeitzone eingestellt fbgui oberfläche angepasst --- .../modules/fbgui/controllers/IndexController.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'application/modules/fbgui/controllers/IndexController.php') diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index 5a99feb..c55ea50 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -10,11 +10,15 @@ class Fbgui_IndexController extends Zend_Controller_Action public function indexAction() { - if(isset($this->_request->getParam('post')) && $this->_request->getParam('keys')){ - $data = $this->_request->getParam('post'); - $keys = $this->_request->getParam('keys'); - $_POST = array_combine ( $keys , $data ); - } + + $keys = $this->_request->getParam('keys'); + $post = $this->_request->getParam('post'); + if($post != '' && $keys != ''){ + $keys = $keys; + $post = $post; + $_POST = array_combine ( $keys , $post ); + print_a($keys, $data,$_POST); + } if(isset($_POST['bootisoID'])){ // Create a session $n = new Pbs_Session(); @@ -44,11 +48,12 @@ class Fbgui_IndexController extends Zend_Controller_Action // Request Bootmenu $pbsFilter = new Pbs_Filter(); $bootmenuID = $pbsFilter->evaluate(); + print_a('bootmenuID is ',$bootmenuID); if($bootmenuID != null){ - $this->_redirect('/dev/bootmenu/index/bootmenuid/'.$bootmenuID); + #$this->_redirect('/dev/bootmenu/index/bootmenuid/'.$bootmenuID); } else{ - $this->_redirect('/dev/auth/index/'); + #$this->_redirect('/dev/auth/index/'); } } else{ -- cgit v1.2.3-55-g7522