# File: shared/Posting/Admin.pm #
# (was: ~Handle.pm) #
# #
-# Authors: Frank Schoenmann <fs@tower.de>, 2001-03-13 #
-# Andre Malo <nd@o3media.de>, 2001-03-29 #
+# Authors: Frank Schönmann <fs@tower.de> #
+# André Malo <nd@o3media.de> #
# #
# Description: Allow administration of postings #
# #
use strict;
use vars qw(
@EXPORT
- $VERSION
);
use Lock qw(:READ);
#
# 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'}
################################################################################
#
#
#
-### end of Posting::Admin ######################################################
+### end of Posting::Admin ######################################################
\ No newline at end of file
# #
# File: shared/Posting/Cache.pm #
# #
-# Authors: André Malo <nd@o3media.de>, 2001-06-22 #
+# Authors: André Malo <nd@o3media.de> #
# #
# Description: Views/Voting Cache class #
# #
################################################################################
use strict;
-use vars qw(
- $VERSION
-);
-
use Fcntl;
use File::Path;
use Lock;
#
# 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'}
my $O_BINARY = eval "O_BINARY";
$O_BINARY = 0 if ($@);
# #
# File: shared/Posting/Write.pm #
# #
-# Authors: André Malo <nd@o3media.de>, 2001-04-08 #
+# Authors: André Malo <nd@o3media.de> #
# #
# Description: Save a posting #
# #
use vars qw(
%error
@EXPORT
- $VERSION
);
use Encode::Plain; $Encode::Plain::utf8 = 1;
#
# 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'}
################################################################################
#
# #
# File: shared/Posting/_lib.pm #
# #
-# Authors: André Malo <nd@o3media.de>, 2001-06-11 #
-# Frank Schoenmann <fs@tower.de>, 2001-06-04 #
+# Authors: André Malo <nd@o3media.de> #
+# Frank Schönmann <fs@tower.de> #
# #
# Description: Message access interface, time format routines #
# #
use strict;
use vars qw(
@EXPORT_OK
- $VERSION
);
use Encode::Plain; $Encode::Plain::utf8 = 1;
#
# 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'}
################################################################################
#
for (@smsg) {
++$z;
splice @smsg,$z,0,@{$mhash{$_ -> {mid}}} if ($_ -> {answers});
- delete $_ -> {kids};}
+ delete $_ -> {kids};
+ }
# return
\@smsg;
my $xml =
'<?xml version="1.0" encoding="UTF-8"?>'."\n"
. '<!DOCTYPE Forum SYSTEM "'.$param -> {dtd}.'">'."\n"
- . '<Forum lastMessage="'.$param -> {lastMessage}.'" lastThread="'.$param -> {lastThread}.'">';
+ . '<Forum lastMessage="m'.$param -> {lastMessage}.'" lastThread="t'.$param -> {lastThread}.'">';
for $thread (sort {$b <=> $a} keys %$threads) {
$xml .= '<Thread id="t'.$thread.'">';