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: move showdate() into formatting include
[minimedit.git]
/
widget
/
nieuws.php
diff --git
a/widget/nieuws.php
b/widget/nieuws.php
index 9cf427cf23bfad67d8b47d92f09dd97f6e627363..c12efc8db3348b5b262f1c24dfe77357832bc4d5 100644
(file)
--- a/
widget/nieuws.php
+++ b/
widget/nieuws.php
@@
-17,7
+17,7
@@
function shownews($input, $limit = 1000)
print '<div>';
printf(
'<h3><a href="/%s">%s <small class="date">%s</small></a></h3>',
- $article->link, $article->title,
$article->date
+ $article->link, $article->title,
showdate($article->dateparts)
);
print $article->story;
print '</div>';