X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fcontrollers%2Farticle.php;h=4ff9ba69ca1c048737fac99f5858c82c6a0201f0;hb=d4b234f611d405b8a7935a86f50ec071779c2729;hp=dda09f71b7768f84a043c066225b9f8f87ad1228;hpb=ad7daf2de4288cff974e97ec9290533ba732df3b;p=living-lab-site.git diff --git a/application/controllers/article.php b/application/controllers/article.php index dda09f7..4ff9ba6 100644 --- a/application/controllers/article.php +++ b/application/controllers/article.php @@ -43,11 +43,11 @@ class Article extends Article_Controller { $this->load->view('html_begin', $this->html_head_params); $this->load->view('header', array('selected_menu' => $method)); - $this->load->view('echo', - array('output' => $this->_load($method, $params), - 'clear' => TRUE) - ); - + $main_params['content'] = $this->_load($method, $params); + // TODO side + $main_params['side'] = '

Side Box

TODO: Put side box content here

'; + $this->load->view('main', $main_params); + $this->load->view('footer'); $this->load->view('html_end'); }