Show
Ignore:
Timestamp:
02/22/08 13:58:35 (9 months ago)
Author:
aarkerio
Message:

Changes on users and entries

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/controllers/users_controller.php

    r244 r246  
    331331 { 
    332332    $this->layout    = 'portal'; 
    333      
    334     //$this->Group = new Group; 
     333  
    335334    $conditions = array("id"=>'>1', "id"=>"<5"); 
    336     // old: $this->set('groups', $this->User->Group->generateList($conditions, 'name', null, '{n}.Group.id', '{n}.Group.name')); 
    337335 
    338336    $this->set('groups', Set::combine($this->User->Group->find('all'), "{n}.Group.id","{n}.Group.name")); 
    339     //$this->set('Element', $this->Portal->statics()); // Using Portal component 
     337    //$this->set('Element', $this->Portal->statics()); // Using Portal components 
    340338     
    341339 }