X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/f9b855c241ac7273399d1d405b63071b86b87faa..ae841e9139f7eb89f8f5fc2242d4b0d7c121418a:/nieuws/index.php
diff --git a/nieuws/index.php b/nieuws/index.php
index c90034f..374b9b0 100644
--- a/nieuws/index.php
+++ b/nieuws/index.php
@@ -30,7 +30,7 @@ if ($page and !is_numeric($page)) {
print '
';
foreach (glob("$pagelink/*.txt") as $reply) {
- preg_match('(\d{14}) : ([^:]*) [^/]* \.txt$>x', $reply, $replymeta);
+ preg_match('(\d{2,14}) : ([^:]*) [^/]* \.txt$>x', $reply, $replymeta);
if (!$replymeta) continue;
$replydate = str_split($replymeta[1], 2);
$replydate[1] = $replydate[0] . $replydate[1];
@@ -95,6 +95,20 @@ if ($pages = glob("$Page/19??/*.html")) {
print "\n\n";
+if ($replyform) {
+ print "Melding rapporteren
\n";
+ $_REQUEST['subject'] = 'melding';
+ require 'contact.php';
+?>
+
+'."\n";
}