diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-19 07:22:24 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-19 07:22:24 +0000 |
| commit | f131b5eb3a69c07ccc104732d7b2fb8b8d7ec16e (patch) | |
| tree | a31be8101e68188f46b2c6bc3f3b8456171584dd /roundcubemail/program/include | |
| parent | 0844d5041e46b2a8f36bb45b25fe05c11825350e (diff) | |
- support variables of type 'cookie' (for feature use)
git-svn-id: https://svn.roundcube.net/trunk@1840 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rwxr-xr-x | roundcubemail/program/include/rcube_template.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php index 6c566e563..55bf220c8 100755 --- a/roundcubemail/program/include/rcube_template.php +++ b/roundcubemail/program/include/rcube_template.php @@ -639,6 +639,9 @@ class rcube_template extends rcube_html_page case 'session': $value = $_SESSION[$name]; break; + case 'cookie': + $value = htmlspecialchars($_COOKIE[$name]); + break; } if (is_array($value)) { |
