Proyectos de Subversion Moodle

Rev

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

Rev 258 Rev 1286
Línea 1... Línea 1...
1
<?php
1
<?php
2
defined('MOODLE_INTERNAL') || die();
2
defined('MOODLE_INTERNAL') || die();
Línea -... Línea 3...
-
 
3
 
-
 
4
function theme_universe_themedir()
-
 
5
{
-
 
6
    global $CFG;
-
 
7
 
-
 
8
    $teme_dir = '/theme';
-
 
9
 
-
 
10
    if (isset($CFG->themedir)) {
-
 
11
        $teme_dir = $CFG->themedir;
-
 
12
        $teme_dir = str_replace($CFG->dirroot, '', $CFG->themedir);
-
 
13
    }
-
 
14
 
-
 
15
    return $teme_dir;
-
 
16
}
3
 
17
 
4
function theme_universe_child_get_setting($setting, $format = false)
18
function theme_universe_child_get_setting($setting, $format = false)
5
{
19
{
Línea 6... Línea 20...
6
    $theme = theme_config::load('universe');
20
    $theme = theme_config::load('universe');