Permalink
Browse files

Replace deprecation

  • Loading branch information...
1 parent 6b2a387 commit 324bd780eb152af8a42845825cd8c7344a2a6749 @pudge pudge committed Dec 8, 2004
@@ -1652,7 +1652,7 @@ Hashref of cleaned-up data.
approved artcount art_offset bseclev
buymore cid clbig clsmall cm_offset
commentlimit commentsort commentspill
- del displaystatus
+ del displaystatus limit
filter_id hbtm height highlightthresh
issue last maillist max
maxcommentsize maximum_length maxstories
@@ -1674,7 +1674,7 @@ Hashref of cleaned-up data.
# fields that have ONLY a-zA-Z0-9_
my %alphas = map {($_ => 1)} qw(
- fieldname formkey commentstatus
+ fieldname formkey commentstatus filter
hcanswer mode op section thisname type
);
@@ -17,7 +17,7 @@ __name__
otherLinks
__template__
[% FOR tid = tids %]
-&middot; <A HREF="[% gSkin.rootdir %]/search.pl?topic=[% tid | fixparam %]">More [% topics.$tid.textname %] stories</A><BR>
+&middot; <A HREF="[% gSkin.rootdir %]/search.pl?tid=[% tid | fixparam %]">More [% topics.$tid.textname %] stories</A><BR>
[% END %]
&middot; <A HREF="[% gSkin.rootdir %]/search.pl?op=stories&amp;author=[% uid | fixparam %]">Also by [% aid %]</A>
__seclev__
@@ -20,7 +20,7 @@ __template__
[% FOREACH event=events %]
<TR>
<TD>
- [<A HREF="[% gSkin.rootdir %]/search.pl?topic=[% event.tid %]">[% event.alttext %]</A>] &nbsp;
+ [<A HREF="[% gSkin.rootdir %]/search.pl?tid=[% event.tid %]">[% event.alttext %]</A>] &nbsp;
</TD>
<TD>
<A HREF="[% gSkin.rootdir %]/article.pl?sid=[% event.sid %]">[% event.title %]</A> &nbsp;
@@ -26,7 +26,7 @@ __template__
</TR>
<TR VALIGN="TOP">
<TD> [% diatribe.article %]
- <A HREF="[% gSkin.rootdir %]/search.pl?topic=[% diatribe.topic.tid %]">
+ <A HREF="[% gSkin.rootdir %]/search.pl?tid=[% diatribe.topic.tid %]">
<IMG SRC="[% constants.imagedir %]/topics/[% diatribe.topic.image %]" WIDTH="[% diatribe.topic.width %]"
HEIGHT="[% diatribe.topic.height %]" BORDER="0" ALIGN="RIGHT"
HSPACE="20" VSPACE="10" ALT="[% diatribe.topic.textname %]"></A>
@@ -31,7 +31,7 @@ __template__
<TR VALIGN="TOP"><TD>
<FONT FACE="[% constants.mainfontface %]" SIZE="3" COLOR="[% user.colors.fg_2 %]">
[% diatribe.article %]
- <A HREF="[% gSkin.rootdir %]/search.pl?topic=[% diatribe.topic.tid %]"
+ <A HREF="[% gSkin.rootdir %]/search.pl?tid=[% diatribe.topic.tid %]"
><IMG SRC="[% constants.imagedir %]/topics/[% diatribe.topic.image %]" WIDTH="[% diatribe.topic.width %]"
HEIGHT="[% diatribe.topic.height %]" BORDER="0" ALIGN="RIGHT"
HSPACE="20" VSPACE="10" ALT="[% diatribe.topic.textname %]"></A>
@@ -30,7 +30,7 @@ __template__
<B><FONT FACE="[% constants.mainfontface %]" SIZE="1">[% diatribe.description %]</FONT></B>
<P>
[% diatribe.article %]
- <A HREF="[% gSkin.rootdir %]/search.pl?topic=[% diatribe.topic.tid %]"
+ <A HREF="[% gSkin.rootdir %]/search.pl?tid=[% diatribe.topic.tid %]"
><IMG SRC="[% constants.imagedir %]/topics/[% diatribe.topic.image %]" WIDTH="[% diatribe.topic.width %]"
HEIGHT="[% diatribe.topic.height %]" BORDER="0" ALIGN="RIGHT"
HSPACE="20" VSPACE="10" ALT="[% diatribe.topic.textname %]"></A>
@@ -20,7 +20,7 @@ __seclev__
10000
__template__
[% UNLESS form.nohtml;
- topic = "<A HREF=\"$gSkin.absolutedir/search.pl?topic=$topic.tid\">$topic.alttext</A>";
+ topic = "<A HREF=\"$gSkin.absolutedir/search.pl?tid=$topic.tid\">$topic.alttext</A>";
ELSE;
topic = topic.alttext;
END -%]
@@ -31,7 +31,7 @@ __template__
[% END %]
[% PROCESS titlebar width="100%" title=submission.subj %]
-<A HREF="[% gSkin.rootdir %]/search.pl?topic=[% topic.tid %]"><IMG
+<A HREF="[% gSkin.rootdir %]/search.pl?tid=[% topic.tid %]"><IMG
SRC="[% constants.imagedir %]/topics/[% topic.image %]"
WIDTH="[% topic.width %]" HEIGHT="[% topic.height %]" BORDER="0"
ALIGN="RIGHT" HSPACE="20" VSPACE="10"
@@ -252,8 +252,8 @@ INSERT INTO stories (stoid, sid, uid, dept, time, hits, primaryskid, discussion,
# Dumping data for table 'story_text'
#
-INSERT INTO story_text (stoid, title, introtext, bodytext, relatedtext) VALUES ('1','You\'ve Installed Slash!','You should play around with the admin stuff. Configure things to\r\nyour tastes. You should also edit the variables (in the admin menu) to define things like your websites name and slogan. You should also donate some money to the <A href=http://www.fsf.org>FSF</A> and <A href=http://slashdot.org>Read Slashdot</A>.\r\n','','<LI><A href=http://www.fsf.org>FSF</A></LI>\n<LI><A href=http://slashdot.org>Read Slashdot</A></LI>\n<LI><A HREF=\"//www.example.com/search.pl?topic=slash\">More on Slash</A></LI>\r\n<LI><A HREF=\"//www.example.com/search.pl?author=God\">Also by God</A></LI>');
-INSERT INTO story_text (stoid, title, introtext, bodytext, relatedtext) VALUES ('2','Now What?','So it took some doing (hopefully not too much), and it looks like you\'ve got Slash installed and ready to rock. You can now use <A href="/admin.pl">backSlash</A>, the Slash Code Administration tool, if you are logged in as the admin user you set up during installation. And you might wanna start posting some stories too.','','<LI><A href=/admin.pl>backSlash</A></LI>\n<LI><A HREF=\"//www.example.com/search.pl?topic=slash\">More on Slash</A></LI>\r\n<LI><A HREF=\"//www.example.com/search.pl?author=God\">Also by God</A></LI>');
+INSERT INTO story_text (stoid, title, introtext, bodytext, relatedtext) VALUES ('1','You\'ve Installed Slash!','You should play around with the admin stuff. Configure things to\r\nyour tastes. You should also edit the variables (in the admin menu) to define things like your websites name and slogan. You should also donate some money to the <A href=http://www.fsf.org>FSF</A> and <A href=http://slashdot.org>Read Slashdot</A>.\r\n','','<LI><A href=http://www.fsf.org>FSF</A></LI>\n<LI><A href=http://slashdot.org>Read Slashdot</A></LI>\n<LI><A HREF=\"//www.example.com/search.pl?tid=4\">More on Slash</A></LI>\r\n<LI><A HREF=\"//www.example.com/search.pl?author=God\">Also by God</A></LI>');
+INSERT INTO story_text (stoid, title, introtext, bodytext, relatedtext) VALUES ('2','Now What?','So it took some doing (hopefully not too much), and it looks like you\'ve got Slash installed and ready to rock. You can now use <A href="/admin.pl">backSlash</A>, the Slash Code Administration tool, if you are logged in as the admin user you set up during installation. And you might wanna start posting some stories too.','','<LI><A href=/admin.pl>backSlash</A></LI>\n<LI><A HREF=\"//www.example.com/search.pl?tid=4\">More on Slash</A></LI>\r\n<LI><A HREF=\"//www.example.com/search.pl?author=God\">Also by God</A></LI>');
#
# Dumping data for table 'story_dirty'
@@ -58,8 +58,8 @@ END %]
<TD BACKGROUND="[% constants.imagedir %]/wl.gif"><IMG SRC="[% constants.imagedir %]/pix.gif" WIDTH="11" HEIGHT="11" ALT=""></TD>
<TD BGCOLOR="[% user.colors.bg_1 %]" WIDTH="100%">
<TABLE WIDTH="100%" BORDER="0" CELLPADDING="5" CELLSPACING="0"><TR><TD BGCOLOR="[% user.colors.bg_1 %]">
- [% IF user.noicons %][ <A HREF="[% gSkin.rootdir %]/search.pl?topic=[% topic.tid %]"><B>[% topic.textname %]</B></A> ]
- [% ELSE %]<A HREF="[% gSkin.rootdir %]/search.pl?topic=[% topic.tid %]"
+ [% IF user.noicons %][ <A HREF="[% gSkin.rootdir %]/search.pl?tid=[% topic.tid %]"><B>[% topic.textname %]</B></A> ]
+ [% ELSE %]<A HREF="[% gSkin.rootdir %]/search.pl?tid=[% topic.tid %]"
><IMG SRC="[% topic.image %]" WIDTH="[% topic.width %]"
HEIGHT="[% topic.height %]" BORDER="0" ALIGN="RIGHT"
HSPACE="20" VSPACE="10" ALT="[% topic.textname %]"></A>
@@ -67,9 +67,9 @@ END %]
<TABLE ALIGN="RIGHT"><TR><TD ALIGN="RIGHT">
[% seen_topics.${topic.tid} = 1 %]
[% IF user.noicons %]
- [ <A HREF="[% gSkin.rootdir %]/search.pl?topic=[% topic.tid %]"><B>[% topic.textname %]</B></A> ]<BR>
+ [ <A HREF="[% gSkin.rootdir %]/search.pl?tid=[% topic.tid %]"><B>[% topic.textname %]</B></A> ]<BR>
[% ELSIF topic.image %]
- <A HREF="[% gSkin.rootdir %]/search.pl?topic=[% topic.tid %]">
+ <A HREF="[% gSkin.rootdir %]/search.pl?tid=[% topic.tid %]">
<IMG
SRC="[% constants.imagedir %]/topics/[% topic.image %]"
WIDTH="[% topic.width %]" HEIGHT="[% topic.height %]" BORDER="0"
@@ -82,9 +82,9 @@ END %]
[% seen_topics.$tid = 1 %]
[% topic2 = Slash.db.getTopic(tid) %]
[% IF user.noicons %]
- [ <A HREF="[% gSkin.rootdir %]/search.pl?topic=[% topic2.tid %]"><B>[% topic2.textname %]</B></A> ]<BR>
+ [ <A HREF="[% gSkin.rootdir %]/search.pl?tid=[% topic2.tid %]"><B>[% topic2.textname %]</B></A> ]<BR>
[% ELSIF topic2.image %]
- <A HREF="[% gSkin.rootdir %]/search.pl?topic=[% topic2.tid %]">
+ <A HREF="[% gSkin.rootdir %]/search.pl?tid=[% topic2.tid %]">
<IMG
SRC="[% constants.imagedir %]/topics/[% topic2.image %]"
WIDTH="[% topic2.width %]" HEIGHT="[% topic2.height %]" BORDER="0"
@@ -30,7 +30,7 @@ END %]
[% PROCESS titlebar future=story.is_future %]
-<A HREF="[% gSkin.rootdir %]/search.pl?topic=[% topic.tid %]">[% topic.textname %]</A> |
+<A HREF="[% gSkin.rootdir %]/search.pl?tid=[% topic.tid %]">[% topic.textname %]</A> |
<B>Posted by [% author.nickname | strip_literal %] [% story.atstorytime %]</B><BR>
[% IF constants.use_dept && story.dept %]
@@ -29,7 +29,7 @@ __template__
[% IF user.is_admin %]
<a href="[% gSkin.rootdir %]/admin.pl?op=topics&amp;nexttid=[% tree.$tid.tid %]">[% IF tree.$tid.nexus; '<b>'; END %][% tree.$tid.textname %][% IF tree.$tid.nexus; '</b>'; END %]</a>
[% ELSE %]
- <a href="[% gSkin.rootdir %]/search.pl?topic=[% tree.$tid.tid %]">[% IF tree.$tid.nexus; '<b>'; END %][% tree.$tid.textname %][% IF tree.$tid.nexus; '</b>'; END %]</a>
+ <a href="[% gSkin.rootdir %]/search.pl?tid=[% tree.$tid.tid %]">[% IF tree.$tid.nexus; '<b>'; END %][% tree.$tid.textname %][% IF tree.$tid.nexus; '</b>'; END %]</a>
[% END %]
</li>
@@ -22,7 +22,7 @@ __template__
[% x = 0 %]
[% FOREACH topic = topics.sort("textname"); x = x + 1; "</tr><tr>" IF (x mod 6) == 1 %]
<td align="center">
- <a href="[% gSkin.rootdir %]/search.pl?topic=[% topic.tid %]"><img
+ <a href="[% gSkin.rootdir %]/search.pl?tid=[% topic.tid %]"><img
src="[% constants.imagedir %]/topics/[% topic.image %]"
alt="[% topic.textname %]" width="[% topic.width %]"
height="[% topic.height %]" border="0">[% IF user.is_admin %]</a>
@@ -14,12 +14,12 @@ recentTopics
__instructions__
placeholder
__template__
- <TD><A HREF="[% gSkin.rootdir %]/search.pl?topic=news"><IMG
+ <TD><A HREF="[% gSkin.rootdir %]/search.pl?tid=6"><IMG
SRC="[% constants.imagedir %]/topics/topicnews.gif"
WIDTH="34" HEIGHT="44"
BORDER="0" ALT="News"></A>
</TD>
- <TD><A HREF="[% gSkin.rootdir %]/search.pl?topic=slashdot"><IMG
+ <TD><A HREF="[% gSkin.rootdir %]/search.pl?tid=8"><IMG
SRC="[% constants.imagedir %]/topics/topicslashdot.gif"
WIDTH="100" HEIGHT="34"
BORDER="0" ALT="Slashdot"></A>
@@ -15,7 +15,7 @@ setrectop_img
__template__
[% USE Slash %]
-<TD><A HREF="[% gSkin.rootdir %]/search.pl?topic=[% id %]"><IMG
+<TD><A HREF="[% gSkin.rootdir %]/search.pl?tid=[% id %]"><IMG
SRC="[% image %]"
WIDTH="[% width %]" HEIGHT="[% height %]"
BORDER="0" ALT="[% textname %]" TITLE="[% textname %]"></A>
@@ -22,7 +22,7 @@ __template__
<TR><TD ALIGN="RIGHT" VALIGN="TOP>
<FONT SIZE="6" COLOR="[% user.colors.bg_3 %]">[% topic.textname %]</FONT>
<BR>( [% topic.count %] )
- <A HREF="[% gSkin.rootdir %]/search.pl?topic=[% topic.tid %]"><IMG
+ <A HREF="[% gSkin.rootdir %]/search.pl?tid=[% topic.tid %]"><IMG
SRC="[% constants.imagedir %]/topics/[% topic.image %]"
BORDER="0" ALT="[% topic.textname %]" ALIGN="RIGHT" VALIGN="TOP"
HSPACE="0" VSPACE="10" WIDTH="[% topic.width %]"

0 comments on commit 324bd78

Please sign in to comment.