themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch: * New format_text argument, overflowdiv. * New page layout Report. * Review of all format_text calls. * Added support for the report layout to all themes. * Changed forum post display from tables to divs.
This commit is contained in:
+2
-1
@@ -214,7 +214,8 @@ if ($user->description && !isset($hiddenfields['description'])) {
|
||||
echo get_string('profilenotshown', 'moodle');
|
||||
} else {
|
||||
$user->description = file_rewrite_pluginfile_urls($user->description, 'pluginfile.php', $usercontext->id, 'user', 'profile', null);
|
||||
echo format_text($user->description, $user->descriptionformat);
|
||||
$options = array('overflowdiv'=>true);
|
||||
echo format_text($user->description, $user->descriptionformat, $options);
|
||||
}
|
||||
}
|
||||
echo '</div>';
|
||||
|
||||
Reference in New Issue
Block a user