Skip to content
Snippets Groups Projects
Commit 8b05dd49 authored by rswindell's avatar rswindell
Browse files

Fixes for XHTML (whoopee).

parent 85759eca
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ load("sbbsdefs.js");
template.title=system.name+" Home Page";
write_template("header.inc");
writeln('<br>');
writeln('<br />');
writeln('<table class="main" cellspacing="2" cellpadding="2">');
writeln('<tbody>');
writeln('<tr>');
......@@ -22,10 +22,10 @@ if(user.number || (this.login!=undefined && system.matchuser("Guest")))
writeln('<a href="msgs">Message Groups</a><br />');
// FTP link
if(user.number || system.matchuser("Guest")) {
write('<a href=ftp://');
write('<a href="ftp://');
if(user.number && !(user.security.restrictions&UFLAG_G))
write(escape(user.alias) + ':' + escape(user.security.password) + '@');
writeln(http_request.host + '/00index.html>File Libraries</a>');
writeln(http_request.host + '/00index.html">File Libraries</a>');
writeln('<br />');
}
writeln('</td>');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment