Proyectos de Subversion Moodle

Rev

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

Rev 156 Rev 161
Línea 2... Línea 2...
2
defined('MOODLE_INTERNAL') || die();
2
defined('MOODLE_INTERNAL') || die();
Línea 3... Línea 3...
3
 
3
 
4
$THEME->name = 'universe_child';
4
$THEME->name = 'universe_child';
Línea -... Línea 5...
-
 
5
$THEME->parents = ['universe'];
-
 
6
 
5
$THEME->parents = ['universe'];
7
require_once(__DIR__ . '/lib.php');
6
 
8
 
7
$THEME->sheets = ['styles', 'quiz'];
9
$THEME->sheets = ['styles', 'quiz'];
8
$THEME->editor_sheets = [];
10
$THEME->editor_sheets = [];
9
$THEME->editor_scss = ['styles'];
11
$THEME->editor_scss = ['styles'];
Línea 23... Línea 25...
23
    // We need to load the config for our parent theme because that is where the preset setting is defined.
25
    // We need to load the config for our parent theme because that is where the preset setting is defined.
24
    $parentconfig = theme_config::load('universe');
26
    $parentconfig = theme_config::load('universe');
25
    // 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.
27
    // 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.
26
    return theme_universe_get_main_scss_content($parentconfig);
28
    return theme_universe_get_main_scss_content($parentconfig);
27
};
29
};
28
 
-
 
29
$THEME->prescsscallback = 'theme_universe_child_get_pre_scss';
30
$THEME->prescsscallback = 'theme_universe_child_get_pre_scss';