mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Adding same HTML to view.php that exists in profile.php
This commit is contained in:
parent
eae1948cee
commit
e4f0c78a76
1 changed files with 3 additions and 3 deletions
|
@ -211,12 +211,12 @@ if (is_mnet_remote_user($user)) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<div class="profilepicture">';
|
echo '<div class="userprofilebox clearfix"><div class="profilepicture">';
|
||||||
echo $OUTPUT->user_picture($user, array('size'=>100));
|
echo $OUTPUT->user_picture($user, array('size'=>100));
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
// Print the description
|
// Print the description
|
||||||
echo '<div class="description">';
|
echo '<div class="descriptionbox"><div class="description">';
|
||||||
if ($user->description && !isset($hiddenfields['description'])) {
|
if ($user->description && !isset($hiddenfields['description'])) {
|
||||||
if (!empty($CFG->profilesforenrolledusersonly) && !$DB->record_exists('role_assignments', array('userid'=>$id))) {
|
if (!empty($CFG->profilesforenrolledusersonly) && !$DB->record_exists('role_assignments', array('userid'=>$id))) {
|
||||||
echo get_string('profilenotshown', 'moodle');
|
echo get_string('profilenotshown', 'moodle');
|
||||||
|
@ -293,7 +293,7 @@ if (!isset($hiddenfields['mycourses'])) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table></div></div>";
|
||||||
|
|
||||||
echo '<div class="fullprofilelink">';
|
echo '<div class="fullprofilelink">';
|
||||||
echo html_writer::link($CFG->wwwroot.'/user/profile.php?id='.$id, get_string('fullprofile'));
|
echo html_writer::link($CFG->wwwroot.'/user/profile.php?id='.$id, get_string('fullprofile'));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue