thomascube
2009-07-23 efbe9ea781154c32ff8913eae95965c2f2ae8d9a
Also add request tokens to forms in page footer

1 files modified
1 ■■■■ changed files
program/include/rcube_template.php 1 ●●●● patch | view | raw | blame | history
program/include/rcube_template.php
@@ -329,6 +329,7 @@
        
        // make sure all <form> tags have a valid request token
        $template = preg_replace_callback('/<form\s+([^>]+)>/Ui', array($this, 'alter_form_tag'), $template);
        $this->footer = preg_replace_callback('/<form\s+([^>]+)>/Ui', array($this, 'alter_form_tag'), $this->footer);
        // call super method
        parent::write($template, $this->config['skin_path']);