summaryrefslogtreecommitdiffstats
path: root/pages/editor/phpexec.xml
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-04-18 21:57:05 +0200
committerneoraider <devnull@localhost>2006-04-18 21:57:05 +0200
commit8657d3fb5cbd25f78bc668ea9a0a8b17913dd490 (patch)
tree4d4f15af80bf0bad4027e288f867767daea108cc /pages/editor/phpexec.xml
parent7b622dca2d4a24221202d85c15ba68d0974b432c (diff)
downloadneon-8657d3fb5cbd25f78bc668ea9a0a8b17913dd490.tar
neon-8657d3fb5cbd25f78bc668ea9a0a8b17913dd490.zip
Ein paar unn?tige Aufrufe von strtr durch htmlspecialchars ersetzt.
Diffstat (limited to 'pages/editor/phpexec.xml')
-rw-r--r--pages/editor/phpexec.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/editor/phpexec.xml b/pages/editor/phpexec.xml
index 633106d..051fc8f 100644
--- a/pages/editor/phpexec.xml
+++ b/pages/editor/phpexec.xml
@@ -22,7 +22,7 @@
<input type="hidden" name="type" value="<?PHP echo $data['_data']['_type']; ?>" />
<input type="hidden" name="backlink" value="<?PHP echo htmlspecialchars($data['_backlink']); ?>" />
<textarea name="data_code" class="pageedit spaced-bottom" rows="25" cols="70"><?PHP
- echo strtr($data['_data']['code'], array('<' => '&lt;', '>' => '&gt;', '&' => '&amp;', '"' => '&quot;'));
+ echo htmlspecialchars($data['_data']['code']);
?></textarea><br />
<input type="submit" value="Änderungen übernehmen" />
<input type="submit" name="back" value="Zurück" />