diff options
author | Aleksander Machniak <alec@alec.pl> | 2021-09-30 14:46:48 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2021-09-30 14:46:48 +0300 |
commit | e0e5626802f201b756b61928c13217abc942940a (patch) | |
tree | 365bf1b7a7101ac82e40a24ff97b362fb11de1a8 /program | |
parent | 2c00ececf8c32a26d5873be6d3899fbaec9cdb18 (diff) |
Bring back support for defining logo images via data-src-* attributes
Removed (unintentionally?) in 4c8ea71e3a0dd9bebdf8002e973fd33fd6d66a83
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcmail_output_html.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php index 420b2f7a6..58dcc2968 100644 --- a/program/include/rcmail_output_html.php +++ b/program/include/rcmail_output_html.php @@ -1508,6 +1508,9 @@ EOF; if (($template_logo = $this->get_template_logo($type)) !== null) { $additional_logos[$type] = $this->abs_url($template_logo); } + else if (!empty($attrib['data-src-' . $type])) { + $additional_logos[$type] = $this->abs_url($attrib['data-src-' . $type]); + } } if (!empty($additional_logos)) { |