Tatsuki SUGIURA
sugi****@users*****
2006年 7月 12日 (水) 20:41:49 JST
Index: slashjp/plugins/Hof/templates/data;hof;default diff -u slashjp/plugins/Hof/templates/data;hof;default:1.1.1.1 slashjp/plugins/Hof/templates/data;hof;default:1.2 --- slashjp/plugins/Hof/templates/data;hof;default:1.1.1.1 Wed Jan 28 06:54:57 2004 +++ slashjp/plugins/Hof/templates/data;hof;default Wed Jul 12 20:41:49 2006 @@ -26,4 +26,4 @@ __seclev__ 10000 __version__ -$Id: data;hof;default,v 1.1.1.1 2004/01/27 21:54:57 oliver Exp $ +$Id: data;hof;default,v 1.2 2006/07/12 11:41:49 sugi Exp $ Index: slashjp/plugins/Hof/templates/main;hof;default diff -u slashjp/plugins/Hof/templates/main;hof;default:1.2 slashjp/plugins/Hof/templates/main;hof;default:1.3 --- slashjp/plugins/Hof/templates/main;hof;default:1.2 Fri Dec 31 21:36:48 2004 +++ slashjp/plugins/Hof/templates/main;hof;default Wed Jul 12 20:41:49 2006 @@ -18,54 +18,53 @@ __name__ main __template__ -[% USE Slash %] -<P>[% PROCESS titlebar title => 'Most Active Stories' %] +<p>[% PROCESS titlebar title => 'Most Active Stories' %] [% FOREACH item = actives %] -<B><FONT SIZE="4">[% item.3 %]</FONT></B> +<b>[% item.3 %]</b> [% storylinks = Slash.linkStory({ link => item.1, section => item.2, sid => item.0 }) %] -<A HREF="[% storylinks.0 %]"[% IF storylinks.2 %] TITLE="[% storylinks.2 %]"[% END %]>[% storylinks.1 %]</A> -by [% item.4 %]<BR> -[% END %]</P> +<a href="[% storylinks.0 %]"[% IF storylinks.2 %] TITLE="[% storylinks.2 %]"[% END %]>[% storylinks.1 %]</a> +by [% item.4 %]<br> +[% END %]</p> -<P>[% PROCESS titlebar title => 'Most Visited Stories' %] +<p>[% PROCESS titlebar title => 'Most Visited Stories' %] [% FOREACH item = visited %] -<B><FONT SIZE="4">[% item.3 %]</FONT></B> +<b>[% item.3 %]</b> [% storylinks = Slash.linkStory({ link => item.1, section => item.2, sid => item.0 }) %] -<A HREF="[% storylinks.0 %]"[% IF storylinks.2 %] TITLE="[% storylinks.2 %]"[% END %]>[% storylinks.1 %]</A> -by [% item.4 %]<BR> -[% END %]</P> +<a href="[% storylinks.0 %]"[% IF storylinks.2 %] TITLE="[% storylinks.2 %]"[% END %]>[% storylinks.1 %]</a> +by [% item.4 %]<br> +[% END %]</p> -<P>[% PROCESS titlebar title => 'Most Active Authors' %] +<p>[% PROCESS titlebar title => 'Most Active Authors' %] [% FOREACH item = activea %] -<B>[% item.0 %]</B> <A HREF="[% item.2 %]">[% item.1 %]</A><BR> -[% END %]</P> +<b>[% item.0 %]</b> [% IF item.2 %]<a href="[% item.2 %]">[% END %][% item.1 %][% IF item.2 %]</a>[% END %]<br> +[% END %]</p> -<P>[% PROCESS titlebar title => 'Most Active Submitters' %] +<p>[% PROCESS titlebar title => 'Most Active Submitters' %] [% FOREACH item = activesub %] -<B>[% item.0 %]</B> <A HREF="[% gSkin.rootdir %]/~[% item.1 | fixparam %]/">[% item.1 %]</A><BR> -[% END %]</P> +<b>[% item.0 %]</b> <a href="[% gSkin.rootdir %]/~[% item.1 | strip_paramattr %]/">[% item.1 %]</a><br> +[% END %]</p> -<P>[% PROCESS titlebar title => 'Most Active Poll Topics' %] +<p>[% PROCESS titlebar title => 'Most Active Poll Topics' %] [% FOREACH item = activep %] -<B>[% item.0 %]</B> <A HREF="[% gSkin.rootdir %]/pollBooth.pl?qid=[% item.2 %]">[% item.1 %]</A><BR> -[% END %]</P> +<b>[% item.0 %]</b> <a href="[% gSkin.rootdir %]/pollBooth.pl?qid=[% item.2 %]">[% item.1 %]</a><br> +[% END %]</p> [% IF topcomments.size > 0 %] -<P>[% PROCESS titlebar title => 'Top 10 Comments' %] +<p>[% PROCESS titlebar title => 'Top 10 Comments' %] [% FOREACH top = topcomments %] -<B>[% top.score %]</B> - <A HREF="[% gSkin.rootdir %]/comments.pl?sid=[% top.sid %]&pid=[% top.pid %]#[% top.cid %]">[% top.subj %]</A> - by <A HREF="mailto:[% top.fakeemail | fixparam %]">[% top.nickname | strip_literal %]</A> on [% top.cdate %]<BR> - - <FONT SIZE="2">attached to [% storylinks = Slash.linkStory({ link => top.title, section => top.section, sid => top.sid }) %] -<A HREF="[% storylinks.0 %]"[% IF storylinks.2 %] TITLE="[% storylinks.2 %]"[% END %]>[% storylinks.1 %]</A> - posted on [% top.sdate %] by [% top.anickname %]</FONT><BR><BR> -[% END %]</P> +<b>[% top.score %]</b> + <a href="[% gSkin.rootdir %]/comments.pl?sid=[% top.sid %]&pid=[% top.pid %]#[% top.cid %]">[% top.subj %]</a> + by <a href="mailto:[% top.fakeemail | strip_paramattr_nonhttp %]">[% top.nickname | strip_literal %]</a> on [% top.cdate %]<br> + + attached to [% storylinks = Slash.linkStory({ link => top.title, section => top.section, sid => top.sid }) %] +<a href="[% storylinks.0 %]"[% IF storylinks.2 %] TITLE="[% storylinks.2 %]"[% END %]>[% storylinks.1 %]</a> + posted on [% top.sdate %] by [% top.anickname %]<br><br> +[% END %]</p> [% END %] -<P><FONT SIZE="2"><CENTER>generated on [% currtime %]</CENTER></FONT></P> +<p><center>generated on [% currtime %]</center></p> __seclev__ 10000 __version__ -$Id: main;hof;default,v 1.2 2004/12/31 12:36:48 oliver Exp $ +$Id: main;hof;default,v 1.3 2006/07/12 11:41:49 sugi Exp $