X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/1abb286e88defee799e43cdd296914f74f722bde..76e9012a55abbbe190c2c97d25a17ec87426e687:/foto/index.php diff --git a/foto/index.php b/foto/index.php index f438cb9..358ef94 100644 --- a/foto/index.php +++ b/foto/index.php @@ -19,7 +19,7 @@ if ($User and $User->admin) { $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 "

"; @@ -79,7 +79,7 @@ if ($imgs = glob("$rootdir/*.jpg")) { 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;