Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Large commit to fix some HTML rendering errors. These were ignored by

most (all?) browsers but were nonetheless errors.  This doesn't fix
everything but it's a middling-big bite out of Slash's noncompliance
with the HTML 3.2 standard.  In theory, this should have almost no
effect on how pages are actually rendered.
  • Loading branch information...
commit 3ff1c85d4f6b83250f0ec64bd0498ecce8c2d947 1 parent 3f59a93
Jamie McCarthy jamiemccarthy authored
Showing with 61 additions and 57 deletions.
  1. +1 −1  Slash/Slash.pm
  2. +3 −3 plugins/Admin/templates/blockEdit;admin;default
  3. +1 −1  plugins/Admin/templates/editStory;admin;default
  4. +2 −2 plugins/Admin/templates/listStories;admin;default
  5. +1 −1  plugins/Hof/hof.pl
  6. +1 −1  plugins/Hof/templates/main;hof;default
  7. +1 −1  plugins/Journal/templates/bluebox;journal;default
  8. +1 −1  plugins/Journal/templates/generic;journal;default
  9. +2 −2 plugins/Journal/templates/pagination;journal;default
  10. +1 −1  plugins/Search/templates/nosearch;search;default
  11. +2 −2 plugins/Search/templates/pagination;search;default
  12. +1 −1  plugins/Sections/templates/listSections;sections;default
  13. +1 −1  plugins/Submit/templates/subEdAdmin;submit;default
  14. +1 −1  plugins/Submit/templates/subEdUser;submit;default
  15. +1 −1  plugins/YASS/templates/index;sites;default
  16. +1 −1  sbin/portald
  17. +1 −1  themes/slashcode/templates/changePasswd;users;default
  18. +1 −1  themes/slashcode/templates/currentAdminUsers;misc;default
  19. +1 −1  themes/slashcode/templates/data;index;default
  20. +5 −5 themes/slashcode/templates/display;article;default
  21. +5 −5 themes/slashcode/templates/footer;misc;admin
  22. +1 −1  themes/slashcode/templates/footer;misc;light
  23. +7 −7 themes/slashcode/templates/getOlderStories;misc;default
  24. +2 −2 themes/slashcode/templates/messages;users;default
  25. +2 −2 themes/slashcode/templates/pagination;comments;default
  26. +2 −2 themes/slashcode/templates/pollbooth;misc;default
  27. +3 −3 themes/slashcode/templates/portalmap;misc;default
  28. +5 −2 themes/slashcode/templates/printCommentsMain;misc;default
  29. +2 −1  themes/slashcode/templates/printCommentsNone;misc;default
  30. +1 −1  themes/slashcode/templates/three;misc;default
  31. +1 −1  themes/slashcode/templates/tildeEd;users;default
  32. +1 −1  themes/slashcode/templates/userlogin;misc;default
2  Slash/Slash.pm
View
@@ -1105,7 +1105,7 @@ sub _hard_dispComment {
$score_to_display .= ")";
}
- $comment_link_to_display = qq|<A HREF="$constants->{rootdir}/comments.pl?sid=$comment->{sid}&cid=$comment->{cid}">#$comment->{cid}</A>|;
+ $comment_link_to_display = qq|<A HREF="$constants->{rootdir}/comments.pl?sid=$comment->{sid}&amp;cid=$comment->{cid}">#$comment->{cid}</A>|;
if (isAnon($comment->{uid})) {
$user_to_display = $comment->{nickname};
6 plugins/Admin/templates/blockEdit;admin;default
View
@@ -104,7 +104,7 @@ __template__
<TR>
<TD>&nbsp;</TD>
<TD ALIGN="left" COLSPAN="2">
- <TABLE BORDER="1" BGCOLOR="FFFFFF">
+ <TABLE BORDER="1" BGCOLOR="#FFFFFF">
<TR>
<TD><CODE> [% rss_template_code | strip_literal %] </CODE></TD>
</TR>
@@ -179,8 +179,8 @@ __template__
</TABLE>
</FORM>
-<B><A HREF="[% constants.rootdir %]/sections.pl?section=[% sectionbid %]&op=editsection">[% sectionbid %]</A></B>
-(<A HREF="[% constants.rootdir %]/users.pl?op=previewbox&bid=[% bid %]">preview</A>)
+<B><A HREF="[% constants.rootdir %]/sections.pl?section=[% sectionbid %]&amp;op=editsection">[% sectionbid %]</A></B>
+(<A HREF="[% constants.rootdir %]/users.pl?op=previewbox&amp;bid=[% bid %]">preview</A>)
2  plugins/Admin/templates/editStory;admin;default
View
@@ -128,7 +128,7 @@ __template__
[% IF sid %]
| <INPUT TYPE="checkbox" NAME="fastforward" [% fastforward_check %]>fastforward
- | <A HREF="[% constants.rootdir %]/pollBooth.pl?sid=[% storyref.sid | fixparam %]&qid=[% storyref.qid %]&op=edit&question=[% storyref.title | fixparam %]">
+ | <A HREF="[% constants.rootdir %]/pollBooth.pl?sid=[% storyref.sid | fixparam %]&amp;qid=[% storyref.qid %]&amp;op=edit&amp;question=[% storyref.title | fixparam %]">
Related Poll</A>
[% END %]
4 plugins/Admin/templates/listStories;admin;default
View
@@ -50,7 +50,7 @@ END %]
[% END %]
[% IF story.canedit %]
- [<A HREF="[% env.script_name %]?title=[% story.tbtitle %]&op=edit&sid=[% story.sid %]">[% story.x %]</A>]
+ [<A HREF="[% env.script_name %]?title=[% story.tbtitle %]&amp;op=edit&amp;sid=[% story.sid %]">[% story.x %]</A>]
[% ELSE %]
[[% story.x %]]
[% END %]
@@ -96,7 +96,7 @@ END %]
[% IF story.x > 0 and left > 0 %]
<P ALIGN="RIGHT">
<B>
-<A HREF="[% env.script_name %]?section=[% form.section %]&op=list&next=[% story.x %]">[% left %] More</A></B></P>
+<A HREF="[% env.script_name %]?section=[% form.section %]&amp;op=list&amp;next=[% story.x %]">[% left %] More</A></B></P>
[% END %]
2  plugins/Hof/hof.pl
View
@@ -77,7 +77,7 @@ sub main {
# $titles{$bid} =~ s/<(.*?)>//g;
# print <<EOT;
#
-# <B>$b{$bid}</B> <A HREF="$I{rootdir}/users.pl?op=preview&bid=$bid">$titles{$bid}</A><BR>
+# <B>$b{$bid}</B> <A HREF="$I{rootdir}/users.pl?op=preview&amp;bid=$bid">$titles{$bid}</A><BR>
# EOT
# last if $x > 10;
# }
2  plugins/Hof/templates/main;hof;default
View
@@ -51,7 +51,7 @@ __template__
<P>[% PROCESS titlebar title => 'Top 10 Comments' %]
[% FOREACH top = topcomments %]
<B>[% top.score %]</B>
- <A HREF="[% constants.rootdir %]/comments.pl?sid=[% top.sid %]&pid=[% top.pid %]#[% top.cid %]">[% top.subj %]</A>
+ <A HREF="[% constants.rootdir %]/comments.pl?sid=[% top.sid %]&amp;pid=[% top.pid %]#[% top.cid %]">[% top.subj %]</A>
by <A HREF="mailto:[% top.fakeemail | fixparam %]">[% top.nickname %]</A> on [% top.cdate %]<BR>
<FONT SIZE="2">attached to [% Slash.linkStory({ link => top.title, section => top.section, sid => top.sid }) %]
2  plugins/Journal/templates/bluebox;journal;default
View
@@ -46,7 +46,7 @@ __template__
[% IF !user.is_anon && uid && uid != user.uid %]
</TD></TR>
<TR VALIGN="TOP" BGCOLOR="#FFFFFF">
- <TD ALIGN="RIGHT" BGCOLOR="#FFFFFF"><A HREF="[% constants.rootdir %]/zoo.pl?op=addcheck&amp;uid=[% uid %]&type=friend">Add Friend</A></TD>
+ <TD ALIGN="RIGHT" BGCOLOR="#FFFFFF"><A HREF="[% constants.rootdir %]/zoo.pl?op=addcheck&amp;uid=[% uid %]&amp;type=friend">Add Friend</A></TD>
</TR>
[% END %]
2  plugins/Journal/templates/generic;journal;default
View
@@ -53,7 +53,7 @@ __template__
</TD></TR>
<TR VALIGN="TOP" BGCOLOR="[% user.bg.0 %]">
<TD ALIGN="RIGHT" BGCOLOR="[% user.bg.0 %]">
- <A HREF="[% constants.rootdir %]/zoo.pl?op=addcheck&amp;uid=[% uid %]&type=friend">Add Friend</A>
+ <A HREF="[% constants.rootdir %]/zoo.pl?op=addcheck&amp;uid=[% uid %]&amp;type=friend">Add Friend</A>
[% END %]
</TD></TR></TABLE>
4 plugins/Journal/templates/pagination;journal;default
View
@@ -17,13 +17,13 @@ __template__
<TR VALIGN="TOP" BGCOLOR="#FFFFFF">
<TD ALIGN="RIGHT" BGCOLOR="#FFFFFF">
[% IF forward %]
- <A HREF="[% constants.rootdir %]/journal.pl?op=display&uid=[% uid %]&start=[% forward %]">&lt;Next [% constants.journal_default_display %] entries</A>
+ <A HREF="[% constants.rootdir %]/journal.pl?op=display&amp;uid=[% uid %]&amp;start=[% forward %]">&lt;Next [% constants.journal_default_display %] entries</A>
[% END %]
[% IF (back > -1) && forward %]
|
[% END %]
[% IF (back > -1) %]
- <A HREF="[% constants.rootdir %]/journal.pl?op=display&uid=[% uid %]&start=[% back %]">Last [% constants.journal_default_display %] entries&gt;</A>
+ <A HREF="[% constants.rootdir %]/journal.pl?op=display&amp;uid=[% uid %]&amp;start=[% back %]">Last [% constants.journal_default_display %] entries&gt;</A>
[% END %]
</TD>
</TR>
2  plugins/Search/templates/nosearch;search;default
View
@@ -15,7 +15,7 @@ __template__
Until it's back up, you may wish to search
[% constants.sitename %] through Google:<br>
<FORM METHOD="GET" ACTION="http://www.google.com/search">
-<INPUT TYPE="NAME" NAME="query" VALUE="[% form.query | strip_attribute %]" WIDTH="20" SIZE="20" LENGTH="20">
+<INPUT TYPE="TEXT" NAME="query" VALUE="[% form.query | strip_attribute %]" WIDTH="20" SIZE="20" LENGTH="20">
<INPUT TYPE="HIDDEN" NAME="as_sitesearch" VALUE="[% constants.basedomain %]">
<INPUT TYPE="SUBMIT" VALUE="Google [% constants.sitename %]">
</FORM>
4 plugins/Search/templates/pagination;search;default
View
@@ -14,13 +14,13 @@ __template__
[% back = back || 0;
IF (back > -1) || forward %]
[% IF (back > -1) %]
- <A HREF="[% constants.rootdir %]/search.pl?[% args %]&start=[% back %]">&lt;Last [% constants.search_default_display %] matches</A>
+ <A HREF="[% constants.rootdir %]/search.pl?[% args %]&amp;start=[% back %]">&lt;Last [% constants.search_default_display %] matches</A>
[% END %]
[% IF (back > -1) && forward %]
|
[% END %]
[% IF forward %]
- <A HREF="[% constants.rootdir %]/search.pl?[% args %]&start=[% forward %]">Next [% constants.search_default_display %] matches&gt;</A>
+ <A HREF="[% constants.rootdir %]/search.pl?[% args %]&amp;start=[% forward %]">Next [% constants.search_default_display %] matches&gt;</A>
[% END %]
[% END %]
__seclev__
2  plugins/Sections/templates/listSections;sections;default
View
@@ -14,7 +14,7 @@ __name__
listSections
__template__
<B>[% FOREACH section = sections %][% IF section.1 %]
-<P><A HREF="[% env.script_name %]?section=[% section.0 %]&op=editsection">[% section.0 %]</A> [% section.1 %]</P>[% END %]</B>
+<P><A HREF="[% env.script_name %]?section=[% section.0 %]&amp;op=editsection">[% section.0 %]</A> [% section.1 %]</P>[% END %]</B>
[% END %]
<FORM ACTION="[% env.script_name %]">
2  plugins/Submit/templates/subEdAdmin;submit;default
View
@@ -36,7 +36,7 @@ __template__
[% sub.time %]&nbsp;
[% END %]
</TD><TD>
- <A HREF="[% env.script_name %]?op=viewsub&subid=[% sub.subid %]&note=[% form.note %][% sub.stitle%][% sub.ssection %]"
+ <A HREF="[% env.script_name %]?op=viewsub&amp;subid=[% sub.subid %]&amp;note=[% form.note %][% sub.stitle%][% sub.ssection %]"
>[% sub.strs.0 %]&nbsp;</A>
</TD><TD><FONT SIZE="2">[% sub.strs.1 %]
[% UNLESS sub.is_anon %]
2  plugins/Submit/templates/subEdUser;submit;default
View
@@ -24,7 +24,7 @@ __template__
[% sub.time %]&nbsp;
[% END %]
</TD><TD>
- <A HREF="[% env.script_name %]?op=viewsub&subid=[% sub.subid %]&note=[% form.note %][% sub.stitle %]"
+ <A HREF="[% env.script_name %]?op=viewsub&amp;subid=[% sub.subid %]&amp;note=[% form.note %][% sub.stitle %]"
>[% sub.strs.0 %]&nbsp;</A>
</TD><TD><FONT SIZE="-1">[% sub.strs.1 %]<BR>[% sub.strs.2 %]</FONT></TD></TR>
<TR><TD COLSPAN="6"><IMG SRC="[% constants.imagedir %]/pix.gif" ALT="" HEIGHT="3"></TD></TR>
2  plugins/YASS/templates/index;sites;default
View
@@ -29,7 +29,7 @@ __template__
<TD>
<H2>All Sites:</H2>
[% FOREACH site = all_sites %]
- <A HREF="[% site.url %]">[% site.title %]</A> ([% IF user.is_admin %]<A HREF="[% constants.rootdir %]/admin.pl?op=edit&sid=[% site.sid %]">Edit</A>|[% END %]<A HREF="[% constants.rootdir %]/article.pl?sid=[% site.sid %]">original announcement</A>[% IF form.all && site.failures %]|<B>FAILURE</B>[% END %])<br>
+ <A HREF="[% site.url %]">[% site.title %]</A> ([% IF user.is_admin %]<A HREF="[% constants.rootdir %]/admin.pl?op=edit&amp;sid=[% site.sid %]">Edit</A>|[% END %]<A HREF="[% constants.rootdir %]/article.pl?sid=[% site.sid %]">original announcement</A>[% IF form.all && site.failures %]|<B>FAILURE</B>[% END %])<br>
<FONT size="-1">[% site.url %]</FONT><br><br>
[% END %]
</TD>
2  sbin/portald
View
@@ -76,7 +76,7 @@ sub getTop10Comments {
my($sid, $title, $cid, $subj, $d, $nickname, $points) = @$_;
$block .= <<EOT;
-<LI><B><A HREF="$constants->{rootdir}/comments.pl?sid=$sid&cid=$cid">$subj</A>
+<LI><B><A HREF="$constants->{rootdir}/comments.pl?sid=$sid&amp;cid=$cid">$subj</A>
($points points) by $nickname</B> on $d <FONT SIZE="1">attached to
<A HREF="$constants->{rootdir}/article.pl?sid=$sid">$title</A></FONT>
EOT
2  themes/slashcode/templates/changePasswd;users;default
View
@@ -23,7 +23,7 @@ __template__
<TR>
<TD>
<P>You can automatically login by clicking
- <A HREF="[% constants.rootdir %]/index.pl?op=userlogin&upasswd=[% useredit.passwd | fixparam %]&unickname=[% useredit.nickname | fixparam %]">This Link</A> and Bookmarking the resulting page.
+ <A HREF="[% constants.rootdir %]/index.pl?op=userlogin&amp;upasswd=[% useredit.passwd | fixparam %]&amp;unickname=[% useredit.nickname | fixparam %]">This Link</A> and Bookmarking the resulting page.
This is totally insecure, but very convenient.
</P>
<BR>
2  themes/slashcode/templates/currentAdminUsers;misc;default
View
@@ -15,7 +15,7 @@ en_US
__name__
currentAdminUsers
__template__
-<TABLE HEIGHT="100%" BORDER="0" CELLPADDING="2" CELLSPACING="0">
+<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0">
[% FOREACH author = ids %]
[% id = author.0;
2  themes/slashcode/templates/data;index;default
View
@@ -51,7 +51,7 @@ __template__
[% END %]
[% CASE 'editstory' %]
- <A HREF="[% constants.rootdir %]/admin.pl?op=edit&sid=[% sid %]">Edit</A>
+ <A HREF="[% constants.rootdir %]/admin.pl?op=edit&amp;sid=[% sid %]">Edit</A>
[% END %]
10 themes/slashcode/templates/display;article;default
View
@@ -53,7 +53,7 @@ ELSE;
[% IF user.seclev > 99 && user.uid;
M = BLOCK %]
[% M %] | <A HREF="[% constants.rootdir %]/admin.pl">Admin</A> |
- <A HREF="[% constants.rootdir %]/admin.pl?op=edit&sid=[% story.sid %]">Editor</A>
+ <A HREF="[% constants.rootdir %]/admin.pl?op=edit&amp;sid=[% story.sid %]">Editor</A>
[% END;
END;
M = "$M ]<P>\n";
@@ -67,10 +67,10 @@ for instructions. (<B>updated 9.9!</B>)
<P>
-<LI>You can't post & moderate the same discussion.
-<LI>Concentrate on Promoting more than Demoting.
-<LI>Browse at -1 to keep an eye out for abuses.
-<LI><A HREF="mailto:[% constants.adminmail %]">Mail the admin</A> URLs showing abuse
+&middot; You can't post & moderate the same discussion.
+<BR>&middot; Concentrate on Promoting more than Demoting.
+<BR>&middot; Browse at -1 to keep an eye out for abuses.
+<BR>&middot; <A HREF="mailto:[% constants.adminmail %]">Mail the admin</A> URLs showing abuse
(the cid link please!).
[% END;
END;
10 themes/slashcode/templates/footer;misc;admin
View
@@ -19,15 +19,15 @@ __template__
</TABLE>
-<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0" BGCOLOR="505050" WIDTH="100%"><TR><TD>
+<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0" BGCOLOR="#505050" WIDTH="100%"><TR><TD>
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="100%" ALIGN="CENTER"><TR>
- <TD BGCOLOR="CCCCCC" ALIGN="RIGHT">
+ <TD BGCOLOR="#CCCCCC" ALIGN="RIGHT">
[% Slash.currentAdminUsers() %]
</TD>
- <TD BGCOLOR="CCCCCC" ALIGN="CENTER"><FONT SIZE="2">[% Slash.horizmenu() %]</FONT></TD>
- <TD BGCOLOR="505050" VALIGN="CENTER">
+ <TD BGCOLOR="#CCCCCC" ALIGN="CENTER"><FONT SIZE="2">[% Slash.horizmenu() %]</FONT></TD>
+ <TD BGCOLOR="#505050" VALIGN="CENTER">
<FONT SIZE="2" COLOR="#FFFFFF"><FORM METHOD="GET" ACTION="[% constants.rootdir %]/search.pl">
- &nbsp;<INPUT TYPE="TEXT" NAME="query" VALUE="" WIDTH="15" SIZE="15" LENGTH="15">
+ &nbsp;<INPUT TYPE="TEXT" NAME="query" VALUE="" WIDTH="15" SIZE="15">
<INPUT TYPE="SUBMIT" VALUE="Search">&nbsp;
</FORM></FONT>
</TD>
2  themes/slashcode/templates/footer;misc;light
View
@@ -15,7 +15,7 @@ __template__
<P>[% Slash.horizmenu() %]
<FORM METHOD="GET" ACTION="[% constants.rootdir %]/search.pl">
- <INPUT TYPE="name" NAME="query" VALUE="" WIDTH="20" SIZE="20" LENGTH="20">
+ <INPUT TYPE="TEXT" NAME="query" VALUE="" WIDTH="20" SIZE="20">
<INPUT TYPE="submit" VALUE="Search [% constants.sitename %]">
</FORM>
14 themes/slashcode/templates/getOlderStories;misc;default
View
@@ -30,33 +30,33 @@ __template__
today = "$story.w $story.m $story.d";
IF !section or section.section == 'index' %]
<P><B>[% IF cur_time && story.secs && cur_time-story.secs > 7*86400
- %]<FONT SIZE="4"><A HREF="[% constants.rootdir %]/index.pl?issue=[% story.day %]&mode=[% user.currentMode %]"
+ %]<FONT SIZE="4"><A HREF="[% constants.rootdir %]/index.pl?issue=[% story.day %]&amp;mode=[% user.currentMode %]"
>[% story.m %] [% story.d %]</A></FONT>[%
ELSE
- %]<FONT SIZE="4"><A HREF="[% constants.rootdir %]/index.pl?issue=[% story.day %]&mode=[% user.currentMode %]"
+ %]<FONT SIZE="4"><A HREF="[% constants.rootdir %]/index.pl?issue=[% story.day %]&amp;mode=[% user.currentMode %]"
>[% story.w %]</A></FONT> [% story.m %] [% story.d %][%
END %]</B></P>
[% ELSIF section.issue && section.issue > 1 %]
- <P><B><FONT SIZE="4"><A HREF="[% constants.rootdir %]/index.pl?section=[% section.section %]&issue=[% story.day %]&mode=[% user.currentMode %]"
+ <P><B><FONT SIZE="4"><A HREF="[% constants.rootdir %]/index.pl?section=[% section.section %]&amp;issue=[% story.day %]&amp;mode=[% user.currentMode %]"
>[% story.w %]</A></FONT> [% story.m %] [% story.d %]</B></P>
[% ELSE %]
<P><B><FONT SIZE="4">[% story.w %]</FONT> [% story.m %] [% story.d %]</B></P>
[% END;
END %]
- <LI>[% story.link %] ([% story.commentcount %])</LI>
+ &middot; [% story.link %] ([% story.commentcount %])<BR>
[% END %]
[% IF !section or section.section == 'index' %]
<P ALIGN="RIGHT"><B><A HREF="[% constants.rootdir %]/search.pl?start=[% start %]">Older Articles</A></B>
-<BR><B><A HREF="[% constants.rootdir %]/index.pl?mode=[% user.currentMode %]&issue=[% yesterday %]"
+<BR><B><A HREF="[% constants.rootdir %]/index.pl?mode=[% user.currentMode %]&amp;issue=[% yesterday %]"
>Yesterday's Edition</A></B>
[% ELSIF section.issue %]
<P ALIGN="RIGHT">
[% IF section.issue == 1 || section.issue == 3 %]
-<BR><B><A HREF="[% constants.rootdir %]/search.pl?section=[% section.section %]&start=[% start %]"
+<BR><B><A HREF="[% constants.rootdir %]/search.pl?section=[% section.section %]&amp;start=[% start %]"
>Older Articles</A></B>
[% END %][% IF section.issue == 2 || section.issue == 3 %]
-<BR><A HREF="[% constants.rootdir %]/index.pl?section=[% section.section %]&mode=[% user.currentMode %]&issue=[% yesterday %]"
+<BR><A HREF="[% constants.rootdir %]/index.pl?section=[% section.section %]&amp;mode=[% user.currentMode %]&amp;issue=[% yesterday %]"
>Yesterday's Edition</A></B>
[% END %]
[% END %]
4 themes/slashcode/templates/messages;users;default
View
@@ -37,7 +37,7 @@ __template__
<B>passwd</B>=mailed to [% form.email | strip_literal %]<BR>
[% IF suadmin_flag %]
<P>Now you can edit the newly created user
- <A HREF="[% constants.rootdir %]/users.pl?op=userinfo&userfield=[% uid %]">
+ <A HREF="[% constants.rootdir %]/users.pl?op=userinfo&amp;userfield=[% uid %]">
[% form.newusernick %], UID [% uid %]</A></P>
[% ELSE %]
<P>Once you receive your password, you can log in and
@@ -49,7 +49,7 @@ __template__
Your new password is [% newpasswd %]. Your old password will still work until
this password is used. Go to the URL below to log in:
-<[% constants.absolutedir %]/index.pl?op=userlogin&upasswd=[% newpasswd %]&unickname=[% tempnick %]&returnto%3D%2Fusers.pl%3Fop=changepasswd>
+<[% constants.absolutedir %]/index.pl?op=userlogin&amp;upasswd=[% newpasswd %]&amp;unickname=[% tempnick %]&amp;returnto%3D%2Fusers.pl%3Fop=changepasswd>
Make sure you then CHANGE YOUR PASSWORD!
4 themes/slashcode/templates/pagination;comments;default
View
@@ -15,13 +15,13 @@ __template__
[% back = back || 0;
IF (back > -1) || forward %]
[% IF (back > -1) %]
- <A HREF="[% constants.rootdir %]/comments.pl?[% IF args %][% args %]&[% END %]start=[% back %]">&lt;Last [% constants.discussion_display_limit %] discussions</A>
+ <A HREF="[% constants.rootdir %]/comments.pl?[% IF args %][% args %]&amp;[% END %]start=[% back %]">&lt;Last [% constants.discussion_display_limit %] discussions</A>
[% END %]
[% IF (back > -1) && forward %]
|
[% END %]
[% IF forward %]
- <A HREF="[% constants.rootdir %]/comments.pl?[% IF args %][% args %]&[% END %]start=[% forward %]">Next [% constants.discussion_display_limit %] discussions&gt;</A>
+ <A HREF="[% constants.rootdir %]/comments.pl?[% IF args %][% args %]&amp;[% END %]start=[% forward %]">Next [% constants.discussion_display_limit %] discussions&gt;</A>
[% END %]
[% END %]
__seclev__
4 themes/slashcode/templates/pollbooth;misc;default
View
@@ -28,7 +28,7 @@ __template__
[% END %]
<P><EM>(You've already voted.)</EM><BR>
-[ <A HREF="[% constants.rootdir %]/pollBooth.pl?section=[% sect %]&qid=[% qid %]&aid=-1"><B>Results</B></A> |
+[ <A HREF="[% constants.rootdir %]/pollBooth.pl?section=[% sect %]&amp;qid=[% qid %]&amp;aid=-1"><B>Results</B></A> |
<A HREF="[% constants.rootdir %]/pollBooth.pl?section=[% sect %]"><B>Polls</B></A> ] <BR>
Comments:<B>[% comments %]</B> | Votes:<B>[% voters %]</B>
@@ -46,7 +46,7 @@ Comments:<B>[% comments %]</B> | Votes:<B>[% voters %]</B>
[% END %]
<BR><INPUT TYPE="submit" VALUE="Vote">
-[ <A HREF="[% constants.rootdir %]/pollBooth.pl?section=[% sect %]&qid=[% qid %]&aid=-1"><B>Results</B></A> |
+[ <A HREF="[% constants.rootdir %]/pollBooth.pl?section=[% sect %]&amp;qid=[% qid %]&amp;aid=-1"><B>Results</B></A> |
<A HREF="[% constants.rootdir %]/pollBooth.pl?section=[% sect %]"><B>Polls</B></A> ] <BR>
Comments:<B>[% comments %]</B> | Votes:<B>[% voters %]</B>
</FORM>
6 themes/slashcode/templates/portalmap;misc;default
View
@@ -15,9 +15,9 @@ __name__
portalmap
__template__
<MAP NAME="[% bid %]">
-<AREA SHAPE="rect" COORDS="0,0,7,7" HREF="[% env.script_name %]?op=d&bid=[% bid %]" ALT="Down">
-<AREA SHAPE="rect" COORDS="8,0,14,7" HREF="[% env.script_name %]?op=x&bid=[% bid %]" ALT="Kill">
-<AREA SHAPE="rect" COORDS="15,0,21,7" HREF="[% env.script_name %]?op=u&bid=[% bid %]" ALT="Up">
+<AREA SHAPE="rect" COORDS="0,0,7,7" HREF="[% env.script_name %]?op=d&amp;bid=[% bid %]" ALT="Down">
+<AREA SHAPE="rect" COORDS="8,0,14,7" HREF="[% env.script_name %]?op=x&amp;bid=[% bid %]" ALT="Kill">
+<AREA SHAPE="rect" COORDS="15,0,21,7" HREF="[% env.script_name %]?op=u&amp;bid=[% bid %]" ALT="Up">
</MAP>
<IMG SRC="[% constants.imagedir %]/portalmap.gif" WIDTH="21" HEIGHT="7" HSPACE="1" VSPACE="1"
7 themes/slashcode/templates/printCommentsMain;misc;default
View
@@ -78,8 +78,9 @@ __template__
<FONT COLOR="[% user.fg.3 %]">Search Discussion</FONT></A></FONT>
</TD></TR>
- <TR><TD BGCOLOR="[% user.bg.2 %]" ALIGN="CENTER"><FONT SIZE="2">
+ <TR><TD BGCOLOR="[% user.bg.2 %]" ALIGN="CENTER">
<FORM ACTION="[% constants.rootdir %]/comments.pl">
+ <FONT SIZE="2">
<INPUT TYPE="HIDDEN" NAME="sid" VALUE="[% sid %]">
<INPUT TYPE="HIDDEN" NAME="cid" VALUE="[% cid %]">
<INPUT TYPE="HIDDEN" NAME="pid" VALUE="[% pid %]">
@@ -98,13 +99,15 @@ __template__
[% UNLESS user.state.discussion_archived %]
<INPUT TYPE="submit" NAME="op" VALUE="Reply">
[% END %]
+ </FONT>
+ </FORM>
</TD></TR>
<TR><TD BGCOLOR="[% user.bg.3 %]" ALIGN="CENTER">
<FONT COLOR="[% user.fg.3 %]" SIZE="1">
<B>The Fine Print:</B>
The following comments are owned by whoever posted them.
We are not responsible for them in any way.
-</FONT></FORM></TD></TR>
+</FONT></TD></TR>
[% IF user.mode == 'nocomment' %]
</TABLE>
3  themes/slashcode/templates/printCommentsNone;misc;default
View
@@ -72,13 +72,14 @@ __template__
[% END %]
<INPUT TYPE="submit" NAME="op" VALUE="Change">
+ </FORM>
</TD></TR>
<TR><TD BGCOLOR="[% user.bg.3 %]" ALIGN="CENTER">
<FONT COLOR="[% user.fg.3 %]" SIZE="1">
<B>The Fine Print:</B>
The following comments are owned by whoever posted them.
We are not responsible for them in any way.
-</FONT></FORM></TD></TR>
+</FONT></TD></TR>
</TABLE>
__seclev__
2  themes/slashcode/templates/three;misc;default
View
@@ -11,7 +11,7 @@ __name__
three
__template__
[% FOREACH story = stories.keys.sort %]
-<LI><A HREF="[% constants.rootdir %]/admin.pl?title=new%20story&op=edit&sid=[% story %]">[% stories.$story.title %]</A></LI>
+<LI><A HREF="[% constants.rootdir %]/admin.pl?title=new%20story&amp;op=edit&amp;sid=[% story %]">[% stories.$story.title %]</A></LI>
[% END %]
2  themes/slashcode/templates/tildeEd;users;default
View
@@ -74,7 +74,7 @@ __template__
[% END %]
<INPUT TYPE="CHECKBOX" NAME="exboxes_[% bid %]"[% section_descref.$bid.checked %]>
- <A HREF="[% env.script_name %]?op=previewbox&bid=[% bid %]">
+ <A HREF="[% env.script_name %]?op=previewbox&amp;bid=[% bid %]">
[% IF bid == 'srandblock' %]
Semi-Random Box
2  themes/slashcode/templates/userlogin;misc;default
View
@@ -18,7 +18,7 @@ __template__
<INPUT TYPE="TEXT" NAME="unickname" SIZE="20" VALUE=""><BR>
<B>Password:</B><BR>
<INPUT TYPE="HIDDEN" NAME="returnto" VALUE="[% FILTER fixurl; return_url ? return_url : "/index.pl"; END %]">
-<INPUT TYPE="HIDDEN" NAME="op" VALUE="userlogin" %]">
+<INPUT TYPE="HIDDEN" NAME="op" VALUE="userlogin">
<INPUT TYPE="PASSWORD" NAME="upasswd" SIZE="20"><BR>
<INPUT TYPE="SUBMIT" NAME="userlogin" VALUE="Login">
</FORM>
Please sign in to comment.
Something went wrong with that request. Please try again.