$nav = explode('/', $rootdir);
$nav[0] = "Foto's"; # override of root 'foto'
$title = array_pop($nav);
-$Place['title'] = implode(' ', $nav) . ': ' . $title;
+$Article->title = implode(' ', $nav) . ': ' . $title;
$link = '';
print "<h2>";
foreach ($imgs as $img) {
if ($img == "$rootdir/index.jpg") {
# cover image of current album
- $Place['image'] = "/thumb/640x/$img";
+ $Article->image = "/$img";
continue;
}
if (!is_link($img)) continue;