git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
451864c
)
nieuws: replace placeholders in article contents
author
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 7 Aug 2018 01:26:56 +0000
(
03:26
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 7 Aug 2018 01:50:11 +0000
(
03:50
+0200)
Support contact form include.
nieuws.php
patch
|
blob
|
history
diff --git
a/nieuws.php
b/nieuws.php
index 6bf66160fa594a6c56d24da89b3eaf93a176adc0..fda142e62c50985599785298f8d1bb1be22077ae 100644
(file)
--- a/
nieuws.php
+++ b/
nieuws.php
@@
-1,4
+1,6
@@
<?php
include_once 'nieuws.inc.php';
$articles = (ltrim($Args, '/') ?: 'nieuws') . '/????';
<?php
include_once 'nieuws.inc.php';
$articles = (ltrim($Args, '/') ?: 'nieuws') . '/????';
+ob_start();
shownews($articles, @$Place['n'] ?: 5);
shownews($articles, @$Place['n'] ?: 5);
+print getoutput();