mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +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
|
@ -38,8 +38,8 @@ $THEME->name = 'nonzero';
|
|||
|
||||
|
||||
$THEME->parents = array(
|
||||
'canvas',
|
||||
'base',
|
||||
'canvas',
|
||||
'base',
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
@ -54,8 +54,8 @@ $THEME->parents = array(
|
|||
|
||||
|
||||
$THEME->sheets = array(
|
||||
'core',
|
||||
'pagelayout',
|
||||
'core',
|
||||
'pagelayout',
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
@ -64,12 +64,12 @@ $THEME->sheets = array(
|
|||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents_exclude_sheets = array(
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
|
@ -155,7 +155,7 @@ $THEME->layouts = array(
|
|||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'embedded' => array(
|
||||
'theme' => 'canvas',
|
||||
'theme' => 'canvas',
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
|
@ -166,7 +166,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
|
||||
),
|
||||
|
||||
'report' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
);
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue