Show
Ignore:
Timestamp:
05/20/08 12:57:16 (7 months ago)
Author:
aarkerio
Message:

Login box fixed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/elements/login_hide.ctp

    r366 r529  
    11<!-- hide by default --> 
    2 <div id="cover" style="display:none;" onclick="hide('cover', 'loginpopup')"> 
     2<div id="cover" style="display:none;" onclick="ocultar()"> 
    33    
    44</div> 
    55<div id="loginpopup" style="display:none"> 
    6 <div style="border-right: 2px solid #D3D3D3; vertical-align: top; padding-right:10px"> 
    7 <?php echo $html->link($html->image('close.gif', array('alt'=>'Close window', 'title'=>'Close window')), 
     6<div style="border:3px solid orange; vertical-align: top; padding:3px 10px 4px 4px"> 
     7<?php  
     8echo $html->div(null,$html->link($html->image('close.gif', array('alt'=>'Close window', 'title'=>'Close window')), 
    89               '#', 
    9                        array("onclick"=>"javascript:hide('loginpopup', 'cover');"),  
    10                        false,  
     10                       array("onclick"=>"ocultar()"), 
     11               null,  
    1112                       false 
    12                       ); 
     13                      ), array('style'=>'width:150px;float:right;')); 
     14  
     15echo  $html->div(null, 'Login', array('style'=>'width:250px;float:left;')); 
     16echo  $html->div(null, '', array('style'=>'clear:both;')); 
     17echo  $form->create('User',array("action"=>"login","onsubmit"=>"return validateLogin()"));  
    1318?> 
    14 <h1>login</h1> 
    15  <p>Already have an account and just want to login?</p> 
    16  
    17 <?php echo  $form->create('User',array("action"=>"login","onsubmit"=>"return validateLogin()")); ?> 
    1819<fieldset> 
    1920<legend>Login</legend> 
     
    2526   echo $form->label('remember_me', 'Remember me:'); 
    2627   echo  $form->checkbox("User.cokie", array("value" => 1)); 
    27 ?> 
    28   <br /> 
    29  </fieldset> 
    30  <?php  
    31        echo $form->end('Login'); 
    32        echo $html->para(null, $html->link('Join us!', '/users/register')); 
    33        echo $html->para(null, $html->link('forgot your password?', '/recovers/recover'));  
     28 
     29   echo $form->end('Login'); 
     30   echo '</fieldset>'; 
     31 
     32   echo $html->div(null, $html->link('Join us!', '/users/register')); 
     33   echo $html->div(null, $html->link('forgot your password?', '/recovers/recover'));  
    3434 ?> 
    3535</div>