alecpl
2011-11-24 e4a4ca19480690193e36e14ef6b9d592e73e9e9c
program/include/rcube_template.php
@@ -434,7 +434,11 @@
        // 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));
        $output = $this->parse_with_globals($hook['content']);
        // save some memory
        $output = $hook['content'];
        unset($hook['content']);
        $output = $this->parse_with_globals($output);
        // make sure all <form> tags have a valid request token
        $output = preg_replace_callback('/<form\s+([^>]+)>/Ui', array($this, 'alter_form_tag'), $output);