From 50468a1fefa60020a50fcdd32d0913b2fc47aab9 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 26 Dec 2016 10:02:08 +0100 Subject: [PATCH] added namespace --- lam/templates/main_header.php | 3 ++- lam/templates/profedit/profilemain.php | 18 +++++++++++++++++- lam/templates/profedit/profilepage.php | 11 ++++++++++- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/lam/templates/main_header.php b/lam/templates/main_header.php index 456233a0..088b263e 100644 --- a/lam/templates/main_header.php +++ b/lam/templates/main_header.php @@ -1,4 +1,5 @@ getConfiguredTypes(); $linkList = array(); foreach ($types as $type) { diff --git a/lam/templates/profedit/profilemain.php b/lam/templates/profedit/profilemain.php index 7ac135d2..311c23f6 100644 --- a/lam/templates/profedit/profilemain.php +++ b/lam/templates/profedit/profilemain.php @@ -1,4 +1,20 @@ getConfiguredTypes(); $profileClasses = array(); $profileClassesTemp = array(); diff --git a/lam/templates/profedit/profilepage.php b/lam/templates/profedit/profilepage.php index b5f57425..07866e25 100644 --- a/lam/templates/profedit/profilepage.php +++ b/lam/templates/profedit/profilepage.php @@ -1,4 +1,13 @@ getConfiguredType($_GET['type']); if ($type->isHidden() || !checkIfWriteAccessIsAllowed($_GET['type'])) { logNewMessage(LOG_ERR, 'User tried to access hidden account type profile: ' . $_GET['type']);