From: pete Date: Thu, 4 Mar 2010 18:09:46 +0000 (+0000) Subject: Removed horizontal nav from avatar edit view and debug string from sidebar. Added... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7dc0e1c44e15189687636ef8632c41aa58a2b1be;p=lorea%2Felgg.git Removed horizontal nav from avatar edit view and debug string from sidebar. Added temp fix for large avatar upload image scaling git-svn-id: http://code.elgg.org/elgg/trunk@5286 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/mod/profile/profile_lib.php b/mod/profile/profile_lib.php index d92ad29b3..c52ad0fcf 100644 --- a/mod/profile/profile_lib.php +++ b/mod/profile/profile_lib.php @@ -57,7 +57,6 @@ function profile_get_user_profile_html($user, $section = 'activity') { */ function profile_get_user_edit_content($user, $page) { $section = (isset($page[2])) ? $page[2] : 'details'; - $content = elgg_view('profile/profile_navigation', array('section' => $section, 'entity' => $user)); switch ($section) { case 'icon': diff --git a/mod/profile/start.php b/mod/profile/start.php index 44a6d4e74..8a78be3d9 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -154,7 +154,7 @@ function profile_page_handler($page) { } $content = profile_get_user_edit_content($user, $page); - $content = elgg_view_layout($layout, 'asdf', $content); + $content = elgg_view_layout($layout, '', $content); break; default: diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php index b475b6bdd..3820ca7fd 100644 --- a/mod/profile/views/default/profile/css.php +++ b/mod/profile/views/default/profile/css.php @@ -276,6 +276,10 @@ form#edit_profile { width: 100px; height: 100px; } +/* @todo fix image cropping */ +#avatar_cropping img.current_user_avatar { + max-width:560px; +} /* ***************************************