1 <?php echo form_open("user/login/$redirect") ?>
3 <legend><?php echo sprintf($this->lang->line('user_legend_login_normal'), $this->config->item('site_name')) ?></legend>
7 <th><?php echo $this->lang->line('user_username_or_email'). ': ' ?></th>
9 <input type="text" name="username" size="16" value="<?php echo set_value('username') ?>" />
14 <td><?php echo form_error('username') ?></td>
17 <th><?php echo $this->lang->line('user_password'). ': ' ?></th>
19 <input type="password" name="password" size="16" value="" />
24 <td><?php echo form_error('password') ?></td>
29 <input type="submit" value="<?php echo $this->lang->line('ui_nav_menu_log_in') ?>" />
35 <p><a href="<?php echo site_url('user/recover_password') ?>"><?php echo $this->lang->line('user_link_password_recovery') ?></a></p>
42 <?php echo form_open("user/login/$redirect") ?>
44 <legend><?php echo $this->lang->line('user_legend_login_openid') ?></legend>
48 <a class="login-openid" data-op="google" href="#">Google</a>
49 <a class="login-openid" data-op="yahoo" href="#">Yahoo!</a>
50 <a class="login-openid" data-op="myopenid" href="#">myOpenID</a>
55 <th><?php echo $this->lang->line('user_openid'). ': ' ?></th>
57 <input type="text" name="openid" size="64" value="<?php echo set_value('openid') ?>" />
62 <td><?php echo form_error('openid') ?></td>
68 <input type="submit" value="<?php echo $this->lang->line('ui_nav_menu_log_in') ?>" />
75 <script type="text/javascript">
79 var op = $(this).data('op');
85 openId = 'https://www.google.com/accounts/o8/id';
88 openId = 'https://me.yahoo.com/';
91 openId = 'https://myopenid.com/';
95 $.post('<?php echo site_url('user/login') ?>',
104 var op = $(this).data('op');
109 primary: 'ui-icon-' + op