Mercurial > hg > rc2
diff program/include/rcmail_output_html.php @ 5:3a5f959af5ae
debugging aids, all commented out
author | Charlie Root |
---|---|
date | Thu, 30 Aug 2018 16:15:17 -0400 |
parents | 4681f974d28b |
children |
line wrap: on
line diff
--- a/program/include/rcmail_output_html.php Thu Jan 18 07:47:04 2018 -0500 +++ b/program/include/rcmail_output_html.php Thu Aug 30 16:15:17 2018 -0400 @@ -605,6 +605,7 @@ $path = false; } } + #rcube::write_log('mail',"skin: $skin_path $realname $path"); // read template file if (!$path || ($templ = @file_get_contents($path)) === false) { @@ -633,6 +634,7 @@ // parse for specialtags $output = $this->parse_conditions($templ); $output = $this->parse_xml($output); + #rcube::write_log('mail',"px: ".strlen($output)); // trigger generic hook where plugins can put additional content to the page $hook = $this->app->plugins->exec_hook("render_page", array('template' => $realname, 'content' => $output)); @@ -1045,7 +1047,11 @@ // return a button case 'button': if ($attrib['name'] || $attrib['command']) { - return $this->button($attrib); + #rcube::write_log('lab',"button in: ".print_r($attrib,true)); + $but = $this->button($attrib); + #rcube::write_log('lab',"button out:\n$but"); + return $but; + } break;