Revision #8 has been created by Maurizio Domba Cerin on Feb 2, 2011, 10:31:30 AM with the memo:
proper ident
« previous (#7)
Changes
Title
unchanged
How to create nice modal login widget with a CJuiDialog
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
user, login, modal, widget
Content
changed
[...]
if(isset($_POST['User']))
{
$form->attributes=$_POST['User'];
if($form->validate() && $form->login()){
$url = $this->controller->createUrl('user/index');
$this->controller->redirect($url);
}
}
$this->render('UserLogin',array('form'=>$form));
}
}
```[...]