//use Tools methods instead of $_GET/$_POST
Merge pull request #1067 from PrestaEdit/patch-61

//use Tools methods instead of $_GET/$_POST