PhilW
2013-08-26 a77504aeacd4516156267fe10eeca1bfffcacf87
program/include/rcmail_output_html.php
@@ -924,8 +924,19 @@
                }
                else if ($object == 'logo') {
                    $attrib += array('alt' => $this->xml_command(array('', 'object', 'name="productname"')));
                    if ($logo = $this->config->get('skin_logo'))
                    if (is_array($this->config->get('skin_logo'))) {
                       if (isset($attrib['type']) && array_key_exists($attrib['type'], $this->config->get('skin_logo'))) {
                           $attrib['src'] = $this->config->get('skin_logo')[$attrib['type']];
                       }
                       elseif (array_key_exists('default', $this->config->get('skin_logo'))) {
                           $attrib['src'] = $this->config->get('skin_logo')['default'];
                       }
                    }
                    elseif ($logo = $this->config->get('skin_logo')) {
                        $attrib['src'] = $logo;
                    }
                    $content = html::img($attrib);
                }
                else if ($object == 'productname') {