aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-11 23:18:35 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-11 23:18:35 +0000
commita220cc8983e2d8badf7502522e06c48709c63ef8 (patch)
tree106bc56e6ed424655d5a427d7f4025ae59fb3c3e /mod/profile/views
parentbde04c7297a49da5ae8e06c71f35890c4fe06b23 (diff)
downloadelgg-a220cc8983e2d8badf7502522e06c48709c63ef8.tar.gz
elgg-a220cc8983e2d8badf7502522e06c48709c63ef8.tar.bz2
convert profile details to use divs so that we don't have invalid html due to output/tags
git-svn-id: http://code.elgg.org/elgg/trunk@9187 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views')
-rw-r--r--mod/profile/views/default/profile/details.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/profile/views/default/profile/details.php b/mod/profile/views/default/profile/details.php
index 04d95001d..3af5cb756 100644
--- a/mod/profile/views/default/profile/details.php
+++ b/mod/profile/views/default/profile/details.php
@@ -25,12 +25,12 @@ if (is_array($profile_fields) && sizeof($profile_fields) > 0) {
//This function controls the alternating class
$even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even';
?>
- <p class="<?php echo $even_odd; ?>">
+ <div class="<?php echo $even_odd; ?>">
<b><?php echo elgg_echo("profile:{$shortname}"); ?>: </b>
<?php
echo elgg_view("output/{$valtype}", array('value' => $user->$shortname));
?>
- </p>
+ </div>
<?php
}
}
@@ -45,7 +45,7 @@ if (!elgg_get_config('profile_custom_fields')) {
if ($user->description) {
echo "<p class='profile-aboutme-title'><b>" . elgg_echo("profile:aboutme") . "</b></p>";
echo "<div class='profile-aboutme-contents'>";
- echo elgg_view('output/longtext', array('value' => $user->description));
+ echo elgg_view('output/longtext', array('value' => $user->description, 'class' => 'mtn'));
echo "</div>";
}
}