Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit e4f0c78a76d3ba818456c04ab6686bef8abedef6 1 parent eae1948
Patrick Malley authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 user/view.php
View
6 user/view.php
@@ -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'));
Please sign in to comment.
Something went wrong with that request. Please try again.