package Template::_thread;
-use vars qw(@ISA @EXPORT);
-
use Encode::Plain; $Encode::Plain::utf8 = 1;
use Posting::_lib qw(short_hr_time);
use Template;
# Funktionsexport
# ====================================================
-require Exporter;
-@ISA = qw(Exporter);
-@EXPORT = qw(html_thread);
+use base qw(Exporter);
+@Template::_thread::EXPORT = qw(html_thread);
################################
# sub html_thread
my $end = $start + $msg -> [$start] -> {answers};
$start++;
@indexes = ($start..$end);
- $oldlevel = $startlevel = $msg -> [$par -> {start}] -> {level};}
+ $oldlevel = $startlevel = $msg -> [$start] -> {level};}
# HTML erzeugen
for (@$msg[@indexes]) {