Proyectos de Subversion Moodle

Rev

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

Rev 1343 Rev 1351
Línea 1163... Línea 1163...
1163
$string['rolestudent'] = 'Student';
1163
$string['rolestudent'] = 'Student';
1164
$string['roleauthenticateduser'] = 'Authenticated user';
1164
$string['roleauthenticateduser'] = 'Authenticated user';
Línea 1165... Línea 1165...
1165
 
1165
 
1166
global $CFG, $PAGE, $OUTPUT;
1166
global $CFG, $PAGE, $OUTPUT;
1167
$logo_img = '';
1167
$logo_img = '';
Línea 1168... Línea 1168...
1168
$theme = theme_config::load('universe');
1168
$theme = theme_config::load('universe_child');
1169
 
1169
 
1170
 
1170
 
1171
if (!empty(get_config('theme_universe', 'email_logo_file'))) {
1171
if (!empty(get_config('theme_universe', 'email_logo_file'))) {
1172
    $logo_img = 'https:' . $PAGE->theme->setting_file_url('email_logo_file', 'email_logo_file');
1172
    $logo_img = 'https:' . $PAGE->theme->setting_file_url('email_logo_file', 'email_logo_file');
Línea 1173... Línea 1173...
1173
} else {
1173
} else {
1174
    $logo_img = 'https:' . $PAGE->theme->setting_file_url('customlogo', 'customlogo');
1174
    $logo_img = 'https:' . $PAGE->theme->setting_file_url('customlogo', 'customlogo');
1175
}
1175
}
1176
 
1176
 
1177
$footer_text = get_config('theme_universe', 'email_footer_text');
1177
$footer_text = get_config('theme_universe_child', 'email_footer_text');
1178
$footer_copyright = get_config('theme_universe', 'email_footer_copyright');
1178
$footer_copyright = get_config('theme_universe_child', 'email_footer_copyright');
1179
$email_logo_alt = get_config('theme_universe', 'email_logo_alt');
1179
$email_logo_alt = get_config('theme_universe_child', 'email_logo_alt');
1180
$email_logo_height = get_config('theme_universe', 'email_logo_height');
1180
$email_logo_height = get_config('theme_universe_child', 'email_logo_height');
1181
$email_logo_href = get_config('theme_universe', 'email_logo_href');
1181
$email_logo_href = get_config('theme_universe_child', 'email_logo_href');
1182
$email_footer_displaylogo = get_config('theme_universe', 'email_footer_displaylogo');
1182
$email_footer_displaylogo = get_config('theme_universe_child', 'email_footer_displaylogo');
1183
$email_typo_link_color = get_config('theme_universe', 'email_typo_link_color');
1183
$email_typo_link_color = get_config('theme_universe_child', 'email_typo_link_color');
1184
$email_typo_footer_fontsize = get_config('theme_universe', 'email_typo_footer_fontsize');
1184
$email_typo_footer_fontsize = get_config('theme_universe_child', 'email_typo_footer_fontsize');
Línea 1185... Línea 1185...
1185
$email_typo_footer_color = get_config('theme_universe', 'email_typo_footer_color');
1185
$email_typo_footer_color = get_config('theme_universe_child', 'email_typo_footer_color');
1186
$email_typo_text_fontsize = get_config('theme_universe', 'email_typo_text_fontsize');
1186
$email_typo_text_fontsize = get_config('theme_universe_child', 'email_typo_text_fontsize');
1187
$email_typo_fontfamily = get_config('theme_universe', 'email_typo_fontfamily');
1187
$email_typo_fontfamily = get_config('theme_universe_child', 'email_typo_fontfamily');
1188
$email_typo_text_color = get_config('theme_universe', 'email_typo_text_color');
1188
$email_typo_text_color = get_config('theme_universe_child', 'email_typo_text_color');