Permalink
Browse files

Adding same HTML to view.php that exists in profile.php

  • Loading branch information...
1 parent eae1948 commit e4f0c78a76d3ba818456c04ab6686bef8abedef6 Patrick Malley committed Jun 30, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 user/view.php
View
@@ -211,12 +211,12 @@
}
}
-echo '<div class="profilepicture">';
+echo '<div class="userprofilebox clearfix"><div class="profilepicture">';
echo $OUTPUT->user_picture($user, array('size'=>100));
echo '</div>';
// Print the description
-echo '<div class="description">';
+echo '<div class="descriptionbox"><div class="description">';
if ($user->description && !isset($hiddenfields['description'])) {
if (!empty($CFG->profilesforenrolledusersonly) && !$DB->record_exists('role_assignments', array('userid'=>$id))) {
echo get_string('profilenotshown', 'moodle');
@@ -293,7 +293,7 @@
}
}
-echo "</table>";
+echo "</table></div></div>";
echo '<div class="fullprofilelink">';
echo html_writer::link($CFG->wwwroot.'/user/profile.php?id='.$id, get_string('fullprofile'));

0 comments on commit e4f0c78

Please sign in to comment.