]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Template/_conf.pm
_thread.pm: If main forum view is displayed by another script than the
[selfforum.git] / selfforum-cgi / shared / Template / _conf.pm
index 626815b5f995c10b7d52cbfb57f782ae8ccbf913..01100a5d272968d1b02d12b49b2dc32a644e42cc 100644 (file)
@@ -4,7 +4,7 @@ package Template::_conf;
 #                                                                              #
 # File:        shared/Template/_conf.pm                                        #
 #                                                                              #
 #                                                                              #
 # File:        shared/Template/_conf.pm                                        #
 #                                                                              #
-# Authors:     AndrĂ© Malo <nd@o3media.de>, 2001-06-16                          #
+# Authors:     AndrĂ© Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: combine user and default config                                 #
 #                                                                              #
 #                                                                              #
 # Description: combine user and default config                                 #
 #                                                                              #
@@ -13,14 +13,17 @@ package Template::_conf;
 use strict;
 use vars qw(
   @EXPORT
 use strict;
 use vars qw(
   @EXPORT
-  $VERSION
 );
 
 ################################################################################
 #
 # Version check
 #
 );
 
 ################################################################################
 #
 # Version check
 #
-$VERSION = do { my @r =(q$Revision$ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+# last modified:
+#    $Date$ (GMT)
+# by $Author$
+#
+sub VERSION {(q$Revision$ =~ /([\d.]+)\s*$/)[0] or '0.0'}
 
 ################################################################################
 #
 
 ################################################################################
 #
@@ -57,4 +60,4 @@ sub get_view_params ($) {
 
 #
 #
 
 #
 #
-### end of Template::_conf #####################################################
+### end of Template::_conf #####################################################
\ No newline at end of file

patrick-canterino.de