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

  • Committer: elof.bigestans at gmail
  • Date: 2013-05-23 07:58:51 UTC
  • mto: This revision was merged to the branch mainline in revision 94.
  • Revision ID: elof.bigestans@gmail.com-20130523075851-hb6ldq0wvgf5kz4p
Further cleaned up ManageCourses

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
         * tempLogin and tempLogout are temporary functions to debug user validation functionality
7
7
         * They should be removed when lenasys is complete
8
8
         */
9
 
        
 
9
 
10
10
        public function tempLogin() {
11
11
                $this->load->model('user');
12
12
                $loginDetails = array(
170
170
                        }
171
171
                }
172
172
        }
 
173
 
 
174
        public function manageCourse($cid) {
 
175
                $cid = urldecode($cid);
 
176
                $this->load->model('admin/Admin_model');
 
177
                $categories = $this->Admin_model->getCategories($cid);
 
178
                $this->load->view('admin/header', array("title" => "Manage course - ".$cid));
 
179
                $menu = $this->Admin_model->getMenu();
 
180
                $this->load->view('admin/menu', array("menu" => $menu));
 
181
                $this->load->view('admin/manage_course', array("categories" => $categories, "cid" => $cid));
 
182
        }
173
183
        
174
184
}
175
185