root/trunk/wifidog-auth/wifidog/templates/sites/lost_username.tpl @ 958

Revision 958, 4.3 KB (checked in by max-horvath, 7 years ago)

"2006-02-18 Max Horvath <max.horvath@…>

  • refactored lost password site - now it also includes the help toolbox
  • lost password page now focuses input field automaticly (like on login or signup page)"
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1{*
2
3/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4
5// +-------------------------------------------------------------------+
6// | WiFiDog Authentication Server                                     |
7// | =============================                                     |
8// |                                                                   |
9// | The WiFiDog Authentication Server is part of the WiFiDog captive  |
10// | portal suite.                                                     |
11// +-------------------------------------------------------------------+
12// | PHP version 5 required.                                           |
13// +-------------------------------------------------------------------+
14// | Homepage:     http://www.wifidog.org/                             |
15// | Source Forge: http://sourceforge.net/projects/wifidog/            |
16// +-------------------------------------------------------------------+
17// | This program is free software; you can redistribute it and/or     |
18// | modify it under the terms of the GNU General Public License as    |
19// | published by the Free Software Foundation; either version 2 of    |
20// | the License, or (at your option) any later version.               |
21// |                                                                   |
22// | This program is distributed in the hope that it will be useful,   |
23// | but WITHOUT ANY WARRANTY; without even the implied warranty of    |
24// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     |
25// | GNU General Public License for more details.                      |
26// |                                                                   |
27// | You should have received a copy of the GNU General Public License |
28// | along with this program; if not, contact:                         |
29// |                                                                   |
30// | Free Software Foundation           Voice:  +1-617-542-5942        |
31// | 59 Temple Place - Suite 330        Fax:    +1-617-542-2652        |
32// | Boston, MA  02111-1307,  USA       gnu@gnu.org                    |
33// |                                                                   |
34// +-------------------------------------------------------------------+
35
36/**
37 * Lost username page
38 *
39 * @package    WiFiDogAuthServer
40 * @subpackage Templates
41 * @author     Philippe April
42 * @author     Benoit Gregoire <bock@step.polymtl.ca>
43 * @author     Max Horvath <max.horvath@maxspot.de>
44 * @copyright  2004-2006 Philippe April
45 * @copyright  2004-2006 Benoit Gregoire, Technologies Coeus inc.
46 * @copyright  2006 Max Horvath, maxspot GmbH
47 * @version    Subversion $Id$
48 * @link       http://www.wifidog.org/
49 */
50
51*}
52
53{if $sectionTOOLCONTENT}
54{*
55    BEGIN section TOOLCONTENT
56*}
57    <div id="login_form">
58        <h1>{"I'm having difficulties"|_}:</h1>
59
60        <ul>
61            <li><a href="{$base_ssl_path}lost_username.php">{"I Forgot my username"|_}</a></li>
62            <li><a href="{$base_ssl_path}lost_password.php">{"I Forgot my password"|_}</a></li>
63            <li><a href="{$base_ssl_path}resend_validation.php">{"Re-send the validation email"|_}</a></li>
64            <li><a href="{$base_ssl_path}faq.php">{"Frequently asked questions"|_}</a></li>
65        </ul>
66    </div>
67{*
68    END section TOOLCONTENT
69*}
70{/if}
71
72{if $sectionMAINCONTENT}
73{*
74    BEGIN section MAINCONTENT
75*}
76    <fieldset class="pretty_fieldset">
77        <legend>{"Lost username"|_}</legend>
78
79        <form name="form" method="post">
80            {if $SelectNetworkUI}
81            {$SelectNetworkUI}
82            {/if}
83
84            <table>
85                <tr>
86                    <th>{"Your email address"|_}:</th>
87                    <td><input type="text" name="email" value="{$email}" size="20" id="form_email"></td>
88                </tr>
89                <tr>
90                    <th></th>
91                    <td><input class="submit" type="submit" name="submit" value="{"Retrieve"|_}"></td>
92                </tr>
93            </table>
94        </form>
95    </fieldset>
96
97    <div id="help">
98        {if $error}
99            <div class="errormsg">{$error}</div>
100        {else}
101            {"Please enter your email address to recover your username"|_}.
102        {/if}
103    </div>
104
105    <script type="text/javascript">
106        <!--
107            document.getElementById("form_email").focus();
108        //-->
109    </script>
110{*
111    END section MAINCONTENT
112*}
113{/if}
Note: See TracBrowser for help on using the browser.