From 41fec62fe34d4864b74b741a43ebfbccf6705199 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 12 Jun 2011 01:33:23 +0000 Subject: using divs for group profile fields to work around html validation issues with the out/tags view using a div git-svn-id: http://code.elgg.org/elgg/trunk@9188 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/groups/css.php | 4 ++++ mod/groups/views/default/groups/profile/fields.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'mod/groups/views/default') diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php index 06b86d1ee..37fc5dc10 100644 --- a/mod/groups/views/default/groups/css.php +++ b/mod/groups/views/default/groups/css.php @@ -32,6 +32,10 @@ margin-bottom: 7px; } +.groups-profile-fields .elgg-output { + margin: 0; +} + #groups-tools > .elgg-module { float: left; margin-bottom: 40px; diff --git a/mod/groups/views/default/groups/profile/fields.php b/mod/groups/views/default/groups/profile/fields.php index 5cd06025f..14827f11a 100644 --- a/mod/groups/views/default/groups/profile/fields.php +++ b/mod/groups/views/default/groups/profile/fields.php @@ -26,12 +26,12 @@ if (is_array($profile_fields) && count($profile_fields) > 0) { $options['tag_names'] = $key; } - echo "

"; + echo "

"; echo ""; echo elgg_echo("groups:$key"); echo ": "; echo elgg_view("output/$valtype", $options); - echo "

"; + echo "
"; $even_odd = ($even_odd == 'even') ? 'odd' : 'even'; } -- cgit v1.2.3