Proyectos de Subversion Moodle

Rev

Rev 126 | Rev 132 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 126 Rev 131
Línea 23... Línea 23...
23
    $parentconfig = theme_config::load('universe');
23
    $parentconfig = theme_config::load('universe');
24
    // Call a function from our parent themes lib.php file to fetch the content of the themes main SCSS file based on it's own config, not ours.
24
    // Call a function from our parent themes lib.php file to fetch the content of the themes main SCSS file based on it's own config, not ours.
25
    return theme_universe_get_main_scss_content($parentconfig);
25
    return theme_universe_get_main_scss_content($parentconfig);
26
};
26
};
27
$THEME->prescsscallback = 'theme_universe_child_get_pre_scss';
27
$THEME->prescsscallback = 'theme_universe_child_get_pre_scss';
-
 
28
 
-
 
29
$THEME->layouts = [
-
 
30
    'course' => array(
-
 
31
        'file' => 'tmpl-course.php',
-
 
32
        'regions' => array(
-
 
33
            'coursetab-a',
-
 
34
            'coursetab-b',
-
 
35
            'coursetab-c',
-
 
36
            'coursetab-d',
-
 
37
            'coursetab-e',
-
 
38
            'side-pre',
-
 
39
            'ctopbl',
-
 
40
            'cbottombl',
-
 
41
            'cstopbl',
-
 
42
            'csbottombl',
-
 
43
            'bellow-custom'
-
 
44
        ),
-
 
45
        'defaultregion' => 'bellow-custom',
-
 
46
        'options' => array('langmenu' => true),
-
 
47
    ),
-
 
48
    'incourse' => array(
-
 
49
        'file' => 'tmpl-incourse.php',
-
 
50
        'regions' => array('side-pre', 'bellow-custom'),
28
$CFG->defaultblocks_override = 'comments, messageteacher';
51
        'defaultregion' => 'bellow-custom',
-
 
52
    ),
-
 
53
];