Subversion Repositories SmartDukaan

Rev

Rev 13695 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div id="push"></div>
<p class="text-center">
    <h2>Login with your Facebook account</h2>
    <p class="text-info">We'll never post anything on your Facebook wall without your permission.</p>
        <a title="<?php echo __('Authorize with Facebook');?>" href="<?php echo $dialog_url;?>" class="fb" id="fblogin"><img src="<?php echo $base_url;?>img/facebook-connect.jpg" alt="" /></a>
</p>
<?php //echo '<a title="'. __('Authorize with Twitter').'" class="twitterbutton" href="' . $twitterObj->getAuthorizationUrl() . '"></a>'; ?>

<h3 class="or-separator signpainter">or</h3>
<div style="margin: 0pt; padding: 0pt; display: inline;">
<?php echo $this->Form->create('User',array('class'=>'form-signin'));?>
        <div id="UserUsername" class="textInput">
            <?php echo $this->Form->input('username',array('placeholder'=>'myself@example.com','class'=>"input-block-level"));?>
        </div>
        <div id="inputPassword" class="textInput">
            <?php echo $this->Form->input('password', array('type' => 'password','placeholder'=>'Password','class'=>"input-block-level"));?>
        </div>
        <div class="clear"></div>
        <div class="formActions clearfix">
            <button class="btn btn-large btn-primary" type="submit"><?php echo __('Sign in');?></button>
            <div class="extra-actions clearfix">
                <a class="forgotPassword" href="<?php echo $base_url;?>users/forgotten_password"><?php echo __('Forgot password');?>?</a> <span class="dot">ยท</span>
                <a href="<?php echo $base_url;?>users/register"><?php echo __('Need an account');?>?</a>
            </div>
        </div>
<?php echo $this->Form->end();?>
</div>