]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Template/_thread.pm
version checks added, fixed comments
[selfforum.git] / selfforum-cgi / shared / Template / _thread.pm
index 5f105a66f4e4ab0e6ba820544b35a5c0fd7b8b7c..c47f28c3ee4a577d8b411b0978cfcdba8eca96fa 100644 (file)
@@ -4,27 +4,37 @@ package Template::_thread;
 #                                                                              #
 # File:        shared/Template/_thread.pm                                      #
 #                                                                              #
 #                                                                              #
 # File:        shared/Template/_thread.pm                                      #
 #                                                                              #
-# Authors:     Andre Malo <nd@o3media.de>, 2001-04-02                          #
+# Authors:     Andre Malo <nd@o3media.de>, 2001-06-16                          #
 #                                                                              #
 # Description: convert parsed thread to HTML                                   #
 #                                                                              #
 ################################################################################
 
 use strict;
 #                                                                              #
 # Description: convert parsed thread to HTML                                   #
 #                                                                              #
 ################################################################################
 
 use strict;
+use vars qw(
+  @EXPORT
+  $VERSION
+);
 
 use Encode::Plain; $Encode::Plain::utf8 = 1;
 use Posting::_lib qw(short_hr_time);
 use Template;
 use Template::_query;
 
 
 use Encode::Plain; $Encode::Plain::utf8 = 1;
 use Posting::_lib qw(short_hr_time);
 use Template;
 use Template::_query;
 
+################################################################################
+#
+# Version check
+#
+$VERSION = do { my @r =(q$Revision$ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+
 ################################################################################
 #
 # Export
 #
 use base qw(Exporter);
 ################################################################################
 #
 # Export
 #
 use base qw(Exporter);
-@Template::_thread::EXPORT = qw(html_thread);
+@EXPORT = qw(html_thread);
 
 
-### sub html_thread ($$$) ######################################################
+### html_thread () #############################################################
 #
 # create HTML string
 #
 #
 # create HTML string
 #
@@ -173,7 +183,7 @@ sub html_thread ($$$) {
   \$html;
 }
 
   \$html;
 }
 
-# keep require happy
+# keep 'require' happy
 1;
 
 #
 1;
 
 #

patrick-canterino.de