| 1 | <!-- hide by default --> |
|---|
| 2 | <div id="cover" style="display:none;" onclick="ocultar()"> |
|---|
| 3 | |
|---|
| 4 | </div> |
|---|
| 5 | <div id="loginpopup" style="display:none"> |
|---|
| 6 | <div style="border:3px solid orange; vertical-align: top; padding:3px 10px 4px 4px"> |
|---|
| 7 | <?php |
|---|
| 8 | echo $html->div(null,$html->link($html->image('close.gif', array('alt'=>'Close window', 'title'=>'Close window')), |
|---|
| 9 | '#', |
|---|
| 10 | array("onclick"=>"ocultar()"), |
|---|
| 11 | null, |
|---|
| 12 | false |
|---|
| 13 | ), array('style'=>'width:150px;float:right;')); |
|---|
| 14 | |
|---|
| 15 | echo $html->div(null, __('Login', true), array('style'=>'width:250px;float:left;font:bold italic large Palatino')); |
|---|
| 16 | echo $html->div(null, '', array('style'=>'clear:both;')); |
|---|
| 17 | echo $form->create('User', array('action'=>'login')); |
|---|
| 18 | ?> |
|---|
| 19 | <fieldset> |
|---|
| 20 | <legend><?php __('Login');?> </legend> |
|---|
| 21 | <?php |
|---|
| 22 | echo $form->input('User.email', array('size' => 30, 'maxlength'=>50, 'between' => ': <br />')) . "<br />"; |
|---|
| 23 | |
|---|
| 24 | echo $form->input('User.pwd', array('between'=>'<br />', 'type' => 'password', 'label'=>'Password:', 'size' => 9, 'maxlength'=> 9)); |
|---|
| 25 | |
|---|
| 26 | echo $form->label('remember_me', __('Remember me', true)); |
|---|
| 27 | echo $form->checkbox('User.remember_me'); |
|---|
| 28 | |
|---|
| 29 | echo $form->end(__('Login', true)); |
|---|
| 30 | echo '</fieldset>'; |
|---|
| 31 | |
|---|
| 32 | echo $html->div(null, $html->link(__('Join us!', true), '/users/register', array('style'=>'font-size:7pt'))); |
|---|
| 33 | echo $html->div(null, $html->link(__('Forgot your password?', true), '/recovers/recover', array('style'=>'font-size:7pt'))); |
|---|
| 34 | ?> |
|---|
| 35 | </div> |
|---|
| 36 | </div> |
|---|
| 37 | <!-- End hide login element --> |
|---|