/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/cms.php

  • Committer: a11andoh
  • Date: 2013-05-24 12:01:47 UTC
  • mto: This revision was merged to the branch mainline in revision 98.
  • Revision ID: a11andoh@student.his.se-20130524120147-ijkmlse1023ermr7
change from hardcoded categorylisting

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
                        $activeCourse = $this->user->getActiveCourse();
51
51
                        //Creates an array with all courses.
52
52
                        $courses = $this->admin_model->getCourses();
53
 
                        $categories = $this->admin_model->getCategories('DA525G');
 
53
                        $categories = $this->admin_model->getCategories($activeCourse);
54
54
                        //Creates an array with the variables that the bannermenu-view is expecting.
55
55
                        $data = array(
56
56
                                'userType' => $userType,