Browse Source

Bring back support for defining logo images via data-src-* attributes

Removed (unintentionally?) in 4c8ea71e3a
pull/8233/head
Aleksander Machniak 4 years ago
parent
commit
e0e5626802
  1. 3
      program/include/rcmail_output_html.php

3
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)) {

Loading…
Cancel
Save