X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/b95195ed4540a07ac0f31c363101698ada841d67..686de24f732b400e770df83b469c37bf4e6d4874:/nieuws.inc.php diff --git a/nieuws.inc.php b/nieuws.inc.php index 8af5694..3f3f163 100644 --- a/nieuws.inc.php +++ b/nieuws.inc.php @@ -25,7 +25,7 @@ function shownewsarticle($url, $link = TRUE, $title = NULL) $title = sprintf( $link ? '

%s

' : '

%s

', getoutput([1 => ' '.$date.'']), - preg_replace('/\.html$/', '', $url) + $url ); return preg_replace('{

(.*?)

}', $title, $html); } @@ -37,7 +37,7 @@ function shownews($input, $limit = 1000) print "
"; ob_start(); include $url; - print shownewsarticle($url); + print shownewsarticle(preg_replace('/\.html$/', '', $url)); print "
\n\n"; if (--$limit <= 0) break;