From: Mischa POSLAWSKY Date: Sun, 10 Feb 2019 22:40:25 +0000 (+0100) Subject: foto: og metadata for current album title, image X-Git-Tag: v3.9~10 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/78b500b4027c74ccf7c4bf887183918f37307ddd foto: og metadata for current album title, image --- diff --git a/foto/index.php b/foto/index.php index cd939f3..ee37df1 100644 --- a/foto/index.php +++ b/foto/index.php @@ -19,6 +19,7 @@ if (!empty($User['admin'])) { $nav = explode('/', $rootdir); $nav[0] = "Foto's"; # override of root 'foto' $title = array_pop($nav); +$Place['title'] = implode(' ', $nav) . ': ' . $title; $link = ''; print "

"; @@ -76,7 +77,11 @@ if ($imgs = glob("$rootdir/*", GLOB_ONLYDIR)) { if ($imgs = glob("$rootdir/*.jpg")) { print '