aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/swatch.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-08-22 00:28:45 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-08-22 00:28:45 +0000
commit61a19df599dae87998e9d9f7d2b56b06ce727e2f (patch)
tree194a799fab8fa9fa0825e5b7be1b47471031d993 /phpBB/adm/swatch.php
parentb9e00bba7dcaa19c9f3dc11048a776e4b0cadbb4 (diff)
downloadforums-61a19df599dae87998e9d9f7d2b56b06ce727e2f.tar
forums-61a19df599dae87998e9d9f7d2b56b06ce727e2f.tar.gz
forums-61a19df599dae87998e9d9f7d2b56b06ce727e2f.tar.bz2
forums-61a19df599dae87998e9d9f7d2b56b06ce727e2f.tar.xz
forums-61a19df599dae87998e9d9f7d2b56b06ce727e2f.zip
specialchars data in swatch, rejiggle index variable setting and comparisons, replace .php with $phpEx in styles for swatch
git-svn-id: file:///svn/phpbb/trunk@4416 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/swatch.php')
-rw-r--r--phpBB/adm/swatch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/swatch.php b/phpBB/adm/swatch.php
index 768824b2ed..2c5123b5e8 100644
--- a/phpBB/adm/swatch.php
+++ b/phpBB/adm/swatch.php
@@ -47,7 +47,7 @@ td {
function cell(color)
{
- opener.document.forms['<?php echo $_GET['form']; ?>'].<?php echo $_GET['name']; ?>.value = '#' + color;
+ opener.document.forms['<?php echo htmlspecialchars($_GET['form']); ?>'].<?php echo htmlspecialchars($_GET['name']); ?>.value = '#' + color;
}
//-->
</script>