Last change
on this file since 55 was 38, checked in by Kris Deugau, 15 years ago |
/trunk
checkpoint - big changes!
dns.cgi and DNSDB.pm:
- all output pages should validate as XHTML 1.0 Strict.
For at least another five minutes.
- add variable to control env dump (which doesn't validate...)
- fiddle username add to use "uname" as username field, since username
seems to cause HTML::Template to barf suddenly... O_o
- tweak "change current group" form URI for XHTML's idiotic "all ampersands
must be exscapededed ALL EVARWERE!!!one11!"
- check for existence of group, domain, user at beginning of respective
add* subs in DNSDB.pm
templates/*:
- adjust all templates to account for oddities and stupidities of
XHTML 1.0. Templates do NOT validate on their own, but the final
output should. WTFisms include (but are not limited to):
- escaped ampersands in links?
- "<form> can't go here"?
- <td> can't use nowrap, width?
- "<fieldset>"?
- and now that the form fields are enclosed in a fieldset... apparently
you can't right-click in "noncontent" space "inside" that element.
GRRRRRRR!!!!!
- CSS now needs work to make things appear properly, due largely to the
WTFisms above
- all this XHTML fixing got me to also normalize and clean up inconsistent
usage, general structures, and things that wouldn't even pass HTML 4.0.1
Transitional (I think) - eg missing closing tags on <tr> or <td>
- delete raw dump of Vega's login page (need to delete a couple others)
|
File size:
772 bytes
|
Line | |
---|
1 | <form method="post" action="dns.cgi">
|
---|
2 | <fieldset>
|
---|
3 | <input type="hidden" name="action" value="login" />
|
---|
4 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
|
---|
5 | <input type="hidden" name="page" value="login" />
|
---|
6 |
|
---|
7 | <table id="login">
|
---|
8 | <TMPL_IF NAME=loginfailed><tr><td colspan="2" class="errmsg" align="center">Error logging in: Invalid username or password</td></tr></TMPL_IF>
|
---|
9 | <tr><td colspan="2" class="title" align="center">Please log in:</td></tr>
|
---|
10 | <tr><td class="inputlabel">Username:</td><td><input type="text" name="username" /></td></tr>
|
---|
11 | <tr><td class="inputlabel">Password:</td><td><input type="password" name="password" /></td></tr>
|
---|
12 | <tr><td colspan="2" class="tblsubmit" align="right"><input type="submit" value="Login" /></td></tr>
|
---|
13 | </table>
|
---|
14 |
|
---|
15 | </fieldset>
|
---|
16 | </form>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.