X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/b168fd753d54b23c1da6871d231017e75d05cd8c..a09479494778e395ffe2dc75eb858ab3537ef14a:/foto/index.php diff --git a/foto/index.php b/foto/index.php index a97ec1c..0ce4d20 100644 --- a/foto/index.php +++ b/foto/index.php @@ -2,15 +2,17 @@ $rootdir = $Page . $Args; if ($User->admin('foto')) { - $access = '🔓 Openbaar'; if (!empty($PageAccess)) { - $access = "🔒 Bewoners"; + $access = '🔒 Bewoners'; if ($PageAccess != $rootdir) { $access .= sprintf(' vanaf %s', "/$PageAccess", pathinfo($PageAccess, PATHINFO_FILENAME) ); } } + else { + $access = '🔓 Openbaar'; + } print "\n\n"; }