1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
__section__
default
__description__
Create a link to a comment
* date = date of comment
* commentsort = user's comment sorting pref
* mode = user's mode pref
* comment = make link to only one comment, not whole story (i.e., include cid= in link)
Also included are all the individual elements of the comment and its poster: sid, cid, pid, date, subject, uid, points, lastmod, reason, nickname, fakeemail, homepage, sig
__title__
__page__
misc
__lang__
en_US
__name__
linkComment
__template__
[% subject = color? "<FONT COLOR=\"$color\">$subject</FONT>" : subject %]
<A HREF="[% constants.rootdir %]/comments.pl?sid=[% sid %]&op=[% op %]&threshold=[% threshold %]&commentsort=[% commentsort %]&mode=[% mode %][% IF startat %]&startat=[% startat %][% END %][% IF comment %]&cid=[% cid %][% ELSE %]&pid=[% pid %][% IF cid %]#[% cid %][% END %][% END %]">[% subject %]</A>
[% IF nickname %]
[% IF adminflag %]
by <A HREF="[% constants.rootdir %]/users.pl?op=userinfo&userfield_flag=nickname&userfield=[% nickname %]">[% nickname %]</A>
[% ELSE %]
by [% nickname %]
[% END %]
[% END %]
[% IF not user.noscores and points %]
<FONT SIZE="-1">(Score:[% points %])</FONT>
[% END %]
[% IF date %]
<FONT SIZE="-1">[% Slash.timeCalc(time) %]</FONT>
[% END %]
__seclev__
10000
|