From b6e69c16f11efa6b6043e658a99f97630283505f Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 16 Aug 2008 17:36:09 +0000 Subject: Removed avatar context menu from large profile picture git-svn-id: https://code.elgg.org/elgg/trunk@1974 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/icon.php | 21 ++++++++++++++++++--- mod/profile/views/default/profile/userdetails.php | 3 ++- 2 files changed, 20 insertions(+), 4 deletions(-) (limited to 'mod/profile/views') diff --git a/mod/profile/views/default/profile/icon.php b/mod/profile/views/default/profile/icon.php index de9cf370b..49d87a95f 100644 --- a/mod/profile/views/default/profile/icon.php +++ b/mod/profile/views/default/profile/icon.php @@ -38,9 +38,15 @@ } else { $align = ""; } - -?> + // Override + if (isset($vars['override']) && $vars['override'] == true) { + $override = true; + } else $override = false; + + if (!$override) { + +?>
@@ -66,11 +72,20 @@ ?>
- title="name, null, 'UTF-8'); ?>" /> + title="name, null, 'UTF-8'); ?>" /> \ No newline at end of file diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index dae093bfb..a946e8efb 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -38,7 +38,8 @@ "profile/icon", array( 'entity' => $vars['entity'], //'align' => "left", - 'size' => $iconsize, + 'size' => $iconsize, + 'override' => true, ) ); -- cgit v1.2.3