mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
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:
parent
2412f8b882
commit
367a75fae4
125 changed files with 3366 additions and 2062 deletions
|
@ -267,7 +267,7 @@ function print_user_entry($user, $keywords, $count) {
|
|||
$user->descriptionformat = FORMAT_MOODLE;
|
||||
}
|
||||
|
||||
$html .= '<td align="left">'.format_text($user->description, $user->descriptionformat).'</td>';
|
||||
$html .= '<td align="left">'.format_text($user->description, $user->descriptionformat, array('overflowdiv'=>true)).'</td>';
|
||||
$html .= '<td width="100px" align="center">';
|
||||
$html .= '<button onclick="M.report_spamcleaner.del_user(this,'.$user->id.')">'.get_string('deleteuser', 'admin').'</button><br />';
|
||||
$html .= '<button onclick="M.report_spamcleaner.ignore_user(this,'.$user->id.')">'.get_string('ignore', 'admin').'</button>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue