From e20f96908380ea036e154f23266f76ca18bb0f53 Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 23 Jul 2009 12:43:05 +0000 Subject: Also add request tokens to forms in page footer git-svn-id: https://svn.roundcube.net/trunk@2790 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_template.php | 1 + 1 file changed, 1 insertion(+) (limited to 'roundcubemail/program/include/rcube_template.php') 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
tags have a valid request token $template = preg_replace_callback('/]+)>/Ui', array($this, 'alter_form_tag'), $template); + $this->footer = preg_replace_callback('/]+)>/Ui', array($this, 'alter_form_tag'), $this->footer); // call super method parent::write($template, $this->config['skin_path']); -- cgit v1.2.3