thomascube
2011-02-18 798764c2bbe0834e9d73031095efe520a84fc701
program/include/rcube_html_page.php
@@ -275,10 +275,14 @@
           array($this, 'file_callback'), $output);
        $output = str_replace('$__skin_path', $base_path, $output);
        // trigger hook with final HTML content to be sent
        $hook = rcmail::get_instance()->plugins->exec_hook("send_page", array('content' => $output));
        if (!$hook['abort']) {
        if ($this->charset != RCMAIL_CHARSET)
           echo rcube_charset_convert($output, RCMAIL_CHARSET, $this->charset);
                echo rcube_charset_convert($hook['content'], RCMAIL_CHARSET, $this->charset);
       else
           echo $output;
                echo $hook['content'];
        }
    }
    
    /**