line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Template::Plugin::ForumCode; |
2
|
|
|
|
|
|
|
# vim: ts=8 sts=4 et sw=4 sr sta |
3
|
2
|
|
|
2
|
|
113058
|
use strict; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
623
|
|
4
|
2
|
|
|
2
|
|
14
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
86
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
12
|
use base qw{ Template::Plugin }; |
|
2
|
|
|
|
|
21
|
|
|
2
|
|
|
|
|
7064
|
|
7
|
2
|
|
|
2
|
|
38081
|
use base qw{ Template::Plugin::HTML }; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
2894
|
|
8
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
|
8499
|
use version; our $VERSION = qv('0.0.5')->numify; |
|
2
|
|
|
|
|
6174
|
|
|
2
|
|
|
|
|
15
|
|
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
216
|
use base qw{HTML::ForumCode}; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
1849
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub new { |
14
|
1
|
|
|
1
|
1
|
14
|
my ($class, $context, @args) = @_; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# TODO - I'm sure this could be nicer |
17
|
1
|
|
|
|
|
4
|
my $new_obj = bless {}, $class; |
18
|
1
|
|
|
|
|
19
|
$new_obj->init; |
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
|
|
3
|
return $new_obj; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
__END__ |