nieuws: article lists in left layout with images
[minimedit.git] / nieuws / index.php
index 51cab26931bb9823c603fdae0f57756effa5e36a..cf57dbc0b4882d73c92b4157f33fa113e816d91e 100644 (file)
@@ -5,7 +5,7 @@ include 'nieuws.inc.php';
 
 if ($page and !is_numeric($page)) {
        $edit = !empty($User['admin']) ? htmlspecialchars(@$_GET['edit']) : NULL;
-       print shownewsarticle($Args, FALSE, $edit);
+       print shownewsarticle($Page.$Args, FALSE, $edit);
        return 1;
 }
 
@@ -26,9 +26,7 @@ if ($year) {
        }
 
        print "<h2>$title</h2>\n\n";
-       print '<div id="news">'."\n\n";
        shownews(glob($match.'*.html'));
-       print "</div>\n\n";
        return 1;
 }