diff options
author | neoraider <devnull@localhost> | 2006-04-18 21:57:05 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-04-18 21:57:05 +0200 |
commit | 8657d3fb5cbd25f78bc668ea9a0a8b17913dd490 (patch) | |
tree | 4d4f15af80bf0bad4027e288f867767daea108cc /templates | |
parent | 7b622dca2d4a24221202d85c15ba68d0974b432c (diff) | |
download | neon-8657d3fb5cbd25f78bc668ea9a0a8b17913dd490.tar neon-8657d3fb5cbd25f78bc668ea9a0a8b17913dd490.zip |
Ein paar unn?tige Aufrufe von strtr durch htmlspecialchars ersetzt.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/default.inc.php b/templates/default.inc.php index 9669671..5ec0c75 100644 --- a/templates/default.inc.php +++ b/templates/default.inc.php @@ -4,7 +4,7 @@ class default_template { function Get($data) { if($data['title']) - $title = strtr($data['title'], array('<' => '<', '>' => '>', '&' => '&', '"' => '"')); + $title = htmlspecialchars($data['title']); else $title = strtr($data['_page'], array(':' => ' - ')); $content = '<h2>' . $title . '</h2>' . strtr($data['content'], array('<' => '<', '>' => '>', '&' => '&', |