Changeset 529 for trunk/app/views/elements
- Timestamp:
- 05/20/08 12:57:16 (7 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/elements/login_hide.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/elements/login_hide.ctp
r366 r529 1 1 <!-- hide by default --> 2 <div id="cover" style="display:none;" onclick=" hide('cover', 'loginpopup')">2 <div id="cover" style="display:none;" onclick="ocultar()"> 3 3 4 4 </div> 5 5 <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 8 echo $html->div(null,$html->link($html->image('close.gif', array('alt'=>'Close window', 'title'=>'Close window')), 8 9 '#', 9 array("onclick"=>" javascript:hide('loginpopup', 'cover');"),10 false,10 array("onclick"=>"ocultar()"), 11 null, 11 12 false 12 ); 13 ), array('style'=>'width:150px;float:right;')); 14 15 echo $html->div(null, 'Login', array('style'=>'width:250px;float:left;')); 16 echo $html->div(null, '', array('style'=>'clear:both;')); 17 echo $form->create('User',array("action"=>"login","onsubmit"=>"return validateLogin()")); 13 18 ?> 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()")); ?>18 19 <fieldset> 19 20 <legend>Login</legend> … … 25 26 echo $form->label('remember_me', 'Remember me:'); 26 27 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')); 34 34 ?> 35 35 </div>
