Proyectos de Subversion Moodle

Rev

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

Rev 1329 Rev 1330
Línea 5980... Línea 5980...
5980
        $mail->MessageID = generate_email_messageid();
5980
        $mail->MessageID = generate_email_messageid();
5981
    }
5981
    }
Línea 5982... Línea 5982...
5982
 
5982
 
5983
    if ($messagehtml && !empty($user->mailformat) && $user->mailformat == 1) {
5983
    if ($messagehtml && !empty($user->mailformat) && $user->mailformat == 1) {
5984
        // Don't ever send HTML to users who don't want it.
-
 
5985
        $header_image_url = (new moodle_url('/theme/image.php/universe_child/theme/0/logo-horizontal-cesa'))->out(false);
5984
        // Don't ever send HTML to users who don't want it.
Línea -... Línea 5985...
-
 
5985
        $themeconfig = \theme_config::load('universe_child');
-
 
5986
 
5986
        $footer_image_url = (new moodle_url('/theme/image.php/universe_child/theme/0/email-footer'))->out(false);
5987
        $header_image_url = $themeconfig->image_url('logo-horizontal-cesa', 'theme')->out(false);
5987
 
5988
        $footer_image_url = $themeconfig->image_url('email-footer', 'theme')->out(false);
5988
        // HTML del Header
5989
        // HTML del Header
5989
        $header_html = '<div style="text-align:center; margin-bottom:20px;">'
5990
        $header_html = '<div style="text-align:center; margin-bottom:20px;">'