From: Mischa POSLAWSKY Date: Wed, 1 Jan 2020 09:38:44 +0000 (+0100) Subject: foto: lock characters from icon font X-Git-Tag: v4.5~13 X-Git-Url: http://git.shiar.nl/minimedit.git/commitdiff_plain/a09479494778e395ffe2dc75eb858ab3537ef14a foto: lock characters from icon font Match style override to page icons introduced in the previous commit. --- 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"; }