Last change
on this file since 34 was 26, checked in by Kris Deugau, 15 years ago |
/trunk
checkpoint
- move login redirect to after the database init so we can check users
against the database
- add basic login handling
- tweak listings and loops to restrict access to domains/groups outside
the group tree of the logged in user
|
File size:
748 bytes
|
Line | |
---|
1 | <center>
|
---|
2 | <table id="login">
|
---|
3 | <TMPL_IF NAME=loginfailed><tr><td colspan=2 class="errmsg" align="center">Error logging in: Invalid username or password</td></tr></TMPL_IF>
|
---|
4 | <tr><td colspan=2 class="title" align="center">Please log in:</td></tr>
|
---|
5 | <form method="POST" action="dns.cgi">
|
---|
6 | <input type="hidden" name="action" value="login">
|
---|
7 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>">
|
---|
8 | <input type="hidden" name="page" value="login">
|
---|
9 | <tr><td class="inputlabel">Username:</td><td><input type="text" name="username"></td></tr>
|
---|
10 | <tr><td class="inputlabel">Password:</td><td><input type="password" name="password"></td></tr>
|
---|
11 | <tr><td colspan=2 class="tblsubmit" align="right"><input type="submit" value="Login"></td></tr>
|
---|
12 | </form>
|
---|
13 | </table>
|
---|
14 | </center>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.