diff options
author | thomascube <thomas@roundcube.net> | 2009-07-23 12:43:05 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-07-23 12:43:05 +0000 |
commit | efbe9ea781154c32ff8913eae95965c2f2ae8d9a (patch) | |
tree | ae945242a011e3a19d77d08d331711ee604435e3 /program/include | |
parent | 8f6a46663afed0c0ba967f8c0a28af3e8064319e (diff) |
Also add request tokens to forms in page footer
Diffstat (limited to 'program/include')
-rwxr-xr-x | program/include/rcube_template.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index af5164f86..d4c3464db 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -329,6 +329,7 @@ class rcube_template extends rcube_html_page // 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']); |