From a09479494778e395ffe2dc75eb858ab3537ef14a Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 1 Jan 2020 10:38:44 +0100 Subject: [PATCH] foto: lock characters from icon font Match style override to page icons introduced in the previous commit. --- foto/index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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"; } -- 2.30.0