X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/f547127c637332119b42329ca78d0e1a659d9739..3819e4c2e9c2114e95d556bcc083ba835f36c6a2:/widget/nieuws.php diff --git a/widget/nieuws.php b/widget/nieuws.php index 73258b2..10e31a3 100644 --- a/widget/nieuws.php +++ b/widget/nieuws.php @@ -1,6 +1,6 @@ \n"; @@ -19,7 +19,16 @@ function shownews($input, $limit = 1000) '
' . $article->teaser; + if ($article->story != "
{$article->teaser}
\n\n") { + print ' (Meer op de site)'; + } + print "\n"; + } + else { + print $article->story; + } print ''; print "\n\n"; @@ -44,7 +53,7 @@ function printtoc($input, $class = FALSE) $html .= sprintf(' %s', showdate($dateparts)); if ($class == 'gallery' and $article->img) { $html = "