X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/9bbd31c352bd9bba51508b40bfad9890a46731b9..11c30da0ff491c29301ec1a42e7873d556364c74:/nieuws/index.php
diff --git a/nieuws/index.php b/nieuws/index.php
index 51cab26..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;
}
@@ -26,12 +35,14 @@ if ($year) {
}
print "$title
\n\n";
- print ''."\n\n";
shownews(glob($match.'*.html'));
- print "
\n\n";
return 1;
}
+$html = ob_get_clean();
+printf(''."\n", "/$Page/feed");
+print $html;
+
print ''."\n\n";
foreach (array_reverse(glob("$Page/2???")) as $page) {
@@ -47,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";
}