/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/controllers/layout.php

  • Committer: b11johgu
  • Date: 2013-05-14 12:30:38 UTC
  • mto: This revision was merged to the branch mainline in revision 65.
  • Revision ID: b11johgu@student.his.se-20130514123038-rthxj3f34o32gpxy
ExamplesController:
- Added expand/collapse arrows for categories/subcategories.
- Added category positioning (incomplete).

more general changes made.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
class layout extends CI_Controller {
22
22
        
23
23
        public function index() {
24
 
                $headData['list'] = array('headTag', 'header', 'layout_view');
25
 
                $this->load->view('headTag', $headData);
 
24
                $headTagData = array(
 
25
                        'cssFiles' => array('header', 'layout_view'),
 
26
                        'jsFiles' => array('header', 'layout_view', 'userControls')
 
27
                );
 
28
                $this->load->view('headTag', array('headTagData' => $headTagData));
 
29
                
26
30
                $this->load->helper('form');
27
31
                $this->load->model('user');
28
32
                $userInfo = array(