1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

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
This commit is contained in:
Paul S. Owen
2003-08-22 00:28:45 +00:00
parent b9e00bba7d
commit 61a19df599
3 changed files with 28 additions and 33 deletions

View File

@@ -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>