X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/f247cc770243a474bbba7845094047e0995b9746..48461d3804d1fcf87237a57ce91f8da82ce0f840:/selfforum-cgi/shared/Posting/Write.pm?ds=sidebyside diff --git a/selfforum-cgi/shared/Posting/Write.pm b/selfforum-cgi/shared/Posting/Write.pm index 72a5b25..7e6ba97 100644 --- a/selfforum-cgi/shared/Posting/Write.pm +++ b/selfforum-cgi/shared/Posting/Write.pm @@ -1,17 +1,17 @@ -# Posting/Write.pm +package Posting::Write; -# ==================================================== -# Autor: n.d.p. / 2001-01-29 -# lm : n.d.p. / 2001-02-25 -# ==================================================== -# Funktion: -# Speicherung eines Postings -# ==================================================== +################################################################################ +# # +# File: shared/Posting/Write.pm # +# # +# Authors: André Malo , 2001-02-25 # +# # +# Description: Save a posting # +# # +################################################################################ use strict; -package Posting::Write; - use vars qw(@EXPORT); use base qw(Exporter); @@ -165,9 +165,11 @@ sub write_posting ($) { lastMessage => $mid, lastThread => 't'.$param -> {lastThread}}); - save_file ($param -> {forumFile}, $forum) or return $error{forumWrite};} + save_file ($param -> {forumFile}, $forum) or return $error{forumWrite}; + } - return (0, $thread, $mid);} + return (0, $thread, $mid); + } } # ==================================================== @@ -217,7 +219,7 @@ sub create_message ($$) { $header -> appendChild ($category); $header -> appendChild ($subject); $header -> appendChild ($date); - $message -> appendChild ($header); + $message -> appendChild ($header); $message; } @@ -276,4 +278,4 @@ sub create_new_thread ($) { # ==================================================== # end of Posting::Write -# ==================================================== \ No newline at end of file +# ====================================================