From aca3fd30ca1d44f4af6add46d5c5ac3c051f3b27 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 29 Oct 2008 10:57:32 +0000 Subject: Hide 'about me' on custom profiles git-svn-id: https://code.elgg.org/elgg/trunk@2341 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/start.php | 4 +++- mod/profile/views/default/profile/userdetails.php | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'mod/profile') diff --git a/mod/profile/start.php b/mod/profile/start.php index 89e70b5ce..375cc5446 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -118,8 +118,10 @@ $n++; } - if (count($loaded_defaults)) + if (count($loaded_defaults)) { + $CONFIG->profile_using_custom = true; $profile_defaults = $loaded_defaults; + } $CONFIG->profile = trigger_plugin_hook('profile:fields', 'profile', NULL, $profile_defaults); } diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index 50f7f33ac..522152853 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -127,7 +127,7 @@ - +profile_using_custom)) {?>
@@ -137,7 +137,7 @@ - + -- cgit v1.2.3