Show
Ignore:
Timestamp:
07/05/08 12:06:23 (5 months ago)
Author:
aarkerio
Message:

Internatiantilzation

Files:
1 modified

Legend:

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

    r627 r628  
    366366            {  
    367367              $msg  = "<h2>You have been registered!</h2> <p>A confirmation email has been sent to: ".$this->data['User']['email']; 
    368               $msg .= " In order to complete the registration process, please click on the link contained on the email.</p>"; 
     368          $msg .= " In order to complete the registration process, please click on the link contained on the email.</p>"; 
    369369              $this->set('message', array("Suceess"=>$msg));  
    370370              $this->set('ok', true); 
     
    550550    $conditions    = null; //array("Entry.user_id"=>$this->Auth->user('id')); 
    551551        
    552     if ($order == null) 
     552    if ($order === null) 
    553553    { 
    554554         $order = "User.id"; 
    555555    } 
    556556        
    557     if ($group_id != null && intval($group_id) ) 
    558     { 
     557    if ($group_id != null && intval($group_id) ): 
    559558           $conditions['User.group_id'] = $group_id; 
    560     } 
     559    endif; 
     560 
    561561    $this->set('data', $this->User->findAll($conditions));        
    562562 }