mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +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
|
@ -46,12 +46,11 @@ class block_html extends block_base {
|
|||
return $this->content;
|
||||
}
|
||||
|
||||
$filteropt = new stdClass;
|
||||
$filteropt->overflowdiv = true;
|
||||
if ($this->content_is_trusted()) {
|
||||
// fancy html allowed only on course, category and system blocks.
|
||||
$filteropt = new stdClass;
|
||||
$filteropt->noclean = true;
|
||||
} else {
|
||||
$filteropt = null;
|
||||
}
|
||||
|
||||
$this->content = new stdClass;
|
||||
|
|
2
blocks/html/styles.css
Normal file
2
blocks/html/styles.css
Normal file
|
@ -0,0 +1,2 @@
|
|||
.block.block_html .content {padding:0;}
|
||||
.block.block_html .content .no-overflow {padding:4px;}
|
Loading…
Add table
Add a link
Reference in a new issue