X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/882347cba815e99ba8e7ad28d077420aa986e7c5..e2e6d4c1c37aff2e6b50331cb31af9d59536624f:/foto/index.php?ds=sidebyside diff --git a/foto/index.php b/foto/index.php index f438cb9..d3e9898 100644 --- a/foto/index.php +++ b/foto/index.php @@ -1,9 +1,7 @@ admin) { +if ($User and $User->admin('foto')) { $access = 'ð Openbaar'; if (isset($PageAccess)) { $access = "ð Bewoners"; @@ -19,7 +17,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 "