File: linkComment%3Bmisc%3Bdefault

package info (click to toggle)
slash 2.2.6-8etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 3,672 kB
  • ctags: 1,915
  • sloc: perl: 23,113; sql: 1,878; sh: 433; makefile: 233
file content (43 lines) | stat: -rwxr-xr-x 1,315 bytes parent folder | download | duplicates (3)
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 %]&amp;op=[% op %]&amp;threshold=[% threshold %]&amp;commentsort=[% commentsort %]&amp;mode=[% mode %][% IF startat %]&amp;startat=[% startat %][% END %][% IF comment %]&amp;cid=[% cid %][% ELSE %]&amp;pid=[% pid %][% IF cid %]#[% cid %][% END %][% END %]">[% subject %]</A>

[% IF nickname %]
	[% IF adminflag %]
	by <A HREF="[% constants.rootdir %]/users.pl?op=userinfo&amp;userfield_flag=nickname&amp;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