account activation and password recovery implemented
[living-lab-site.git] / application / views / user / login_view.php
1 <?php echo form_open("user/login/$redirect") ?>
2 <table class="form">
3         <tr>
4                 <th><?php echo $this->lang->line('user_username_or_email'). ': ' ?></th>
5                 <td>
6                         <input type="text" name="username" size="16" value="<?php echo set_value('username') ?>" />
7                 </td>
8         </tr>
9         <tr>
10                 <td></td>
11                 <td><?php echo form_error('username') ?></td>
12         </tr>
13         <tr>
14                 <th><?php echo $this->lang->line('user_password'). ': ' ?></th>
15                 <td>
16                         <input type="password" name="password" size="16" value="" />
17                 </td>
18         </tr>
19         <tr>
20                 <td></td>
21                 <td><?php echo form_error('password') ?></td>
22         </tr>
23         <tr>
24                 <td></td>
25                 <td>
26                         <input type="submit" value="<?php echo $this->lang->line('ui_nav_menu_log_in') ?>" />
27                 </td>
28         </tr>
29         <tr>
30                 <td></td>
31                 <td>
32                         <p><a href="<?php echo site_url('user/recover_password') ?>"><?php echo $this->lang->line('user_link_password_recovery') ?></a></p>
33                 </td>
34         </tr>
35 </table>
36 </form>