X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/212c5051484f6ee08b95f284c133337896c42f41..11c30da0ff491c29301ec1a42e7873d556364c74:/nieuws/index.php
diff --git a/nieuws/index.php b/nieuws/index.php
index cf57dbc..b4191ce 100644
--- a/nieuws/index.php
+++ b/nieuws/index.php
@@ -1,11 +1,20 @@
'.$article->date.'';
+ print preg_replace('{(?<=
)(.*?)(?=
)}', ($edit ?: '\1').' [[1]]', ob_get_clean());
+ if ($article->image) {
+ $Place['image'] = "https://lijtweg.nl/".$article->thumb('600x');
+ }
+ if ($replyform) {
+ print placeholder_include('nieuws/replies');
+ }
return 1;
}
@@ -30,6 +39,10 @@ if ($year) {
return 1;
}
+$html = ob_get_clean();
+printf(''."\n", "/$Page/feed");
+print $html;
+
print ''."\n\n";
foreach (array_reverse(glob("$Page/2???")) as $page) {
@@ -45,6 +58,20 @@ if ($pages = glob("$Page/19??/*.html")) {
print "
\n\n";
+if ($replyform) {
+ print "Melding rapporteren
\n";
+ $_REQUEST['subject'] = 'melding';
+ require 'contact.php';
+?>
+
+'."\n";
}