git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
page: rename article method "body" to "story"
[minimedit.git]
/
nieuws.php
diff --git
a/nieuws.php
b/nieuws.php
index 251443842cd67d20105c0af95898bfdb631faeca..0dc8d7dcc56c52062f70ba40bb7de67748c3f8da 100644
(file)
--- a/
nieuws.php
+++ b/
nieuws.php
@@
-1,6
+1,4
@@
<?php
<?php
-include_once 'nieuws.inc.php';
-
if (!function_exists('shownews')) {
function shownews($input, $limit = 1000)
{
if (!function_exists('shownews')) {
function shownews($input, $limit = 1000)
{
@@
-20,7
+18,7
@@
function shownews($input, $limit = 1000)
'<h3><a href="/%s">%s <small class="date">%s</small></a></h3>',
$article->link, $article->title, $article->date
);
'<h3><a href="/%s">%s <small class="date">%s</small></a></h3>',
$article->link, $article->title, $article->date
);
- print $article->
bod
y;
+ print $article->
stor
y;
print '</div>';
print "</article>\n\n";
print '</div>';
print "</article>\n\n";