account activation and password recovery implemented
[living-lab-site.git] / application / views / user / login_view.php
index 4389cdb..b066866 100644 (file)
@@ -1,5 +1,4 @@
-
-<?php echo form_open('user/login') ?>
+<?php echo form_open("user/login/$redirect") ?>
 <table class="form">
        <tr>
                <th><?php echo $this->lang->line('user_username_or_email'). ': ' ?></th>
                        <input type="submit" value="<?php echo $this->lang->line('ui_nav_menu_log_in') ?>" />
                </td>
        </tr>
+       <tr>
+               <td></td>
+               <td>
+                       <p><a href="<?php echo site_url('user/recover_password') ?>"><?php echo $this->lang->line('user_link_password_recovery') ?></a></p>
+               </td>
+       </tr>
 </table>
 </form>
\ No newline at end of file