Changeset 242 for trunk/app/controllers/users_controller.php
- Timestamp:
- 02/20/08 19:08:38 (11 months ago)
- Files:
-
- 1 modified
-
trunk/app/controllers/users_controller.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/controllers/users_controller.php
r241 r242 2 2 /** 3 3 * Karamelo E-Learning Platform 4 * Chipotle Software 2002-200 74 * Chipotle Software 2002-2008 5 5 * GPL manuel<arroba>mononeurona<punto>org 6 6 */ … … 334 334 //$this->Group = new Group; 335 335 $conditions = array("id"=>'>1', "id"=>"<5"); 336 $this->set('groups', $this->User->Group->generateList($conditions, 'name', null, '{n}.Group.id', '{n}.Group.name')); 337 $this->set('Element', $this->Portal->statics()); // Using Portal component 336 // old: $this->set('groups', $this->User->Group->generateList($conditions, 'name', null, '{n}.Group.id', '{n}.Group.name')); 337 338 $this->set('groups', Set::combine($this->User->Group->find('all'), "{n}.Group.id","{n}.Group.description")); 339 //$this->set('Element', $this->Portal->statics()); // Using Portal component 338 340 339 341 }
