From efbe9ea781154c32ff8913eae95965c2f2ae8d9a Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Thu, 23 Jul 2009 08:43:05 -0400 Subject: [PATCH] Also add request tokens to forms in page footer --- 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 af5164f..d4c3464 100755 --- a/program/include/rcube_template.php +++ b/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']); -- Gitblit v1.9.1