summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-23 12:43:05 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-23 12:43:05 +0000
commite20f96908380ea036e154f23266f76ca18bb0f53 (patch)
tree4094b19d328df0ba65505367dc07d62ed9760c3f
parentc146945c324218c57ea2af0130945b7edbbdbe7a (diff)
Also add request tokens to forms in page footer
git-svn-id: https://svn.roundcube.net/trunk@2790 208e9e7b-5314-0410-a742-e7e81cd9613c
-rwxr-xr-xroundcubemail/program/include/rcube_template.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php
index af5164f86..d4c3464db 100755
--- a/roundcubemail/program/include/rcube_template.php
+++ b/roundcubemail/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']);