summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-07-23 12:43:05 +0000
committerthomascube <thomas@roundcube.net>2009-07-23 12:43:05 +0000
commitefbe9ea781154c32ff8913eae95965c2f2ae8d9a (patch)
treeae945242a011e3a19d77d08d331711ee604435e3 /program
parent8f6a46663afed0c0ba967f8c0a28af3e8064319e (diff)
Also add request tokens to forms in page footer
Diffstat (limited to 'program')
-rwxr-xr-xprogram/include/rcube_template.php1
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']);