Aleksander Machniak
2012-11-06 e0f7b920d5b2b94f3ab846e9d4b13f25dd4cc55e
Allow setting contentframe from template (as frame object attribute)
1 files modified
4 ■■■■ changed files
program/include/rcube_output_html.php 4 ●●●● patch | view | raw | blame | history
program/include/rcube_output_html.php
@@ -1389,8 +1389,8 @@
        $attrib['src'] = $attrib['src'] ? $this->abs_url($attrib['src'], true) : 'program/resources/blank.gif';
        // register as 'contentframe' object
        if ($is_contentframe) {
            $this->set_env('contentframe', $attrib['name']);
        if ($is_contentframe || $attrib['contentframe']) {
            $this->set_env('contentframe', $attrib['contentframe'] ? $attrib['contentframe'] : $attrib['name']);
            $this->set_env('blankpage', $attrib['src']);
        }