Escape the $ and ".

This commit is contained in:
Mark Crane 2015-05-04 03:19:31 +00:00
parent 98ead97ff6
commit b757da247c
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " ".$text['label-call_timeout']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='number' name='agent_call_timeout' onmouseover="this.type='text';" onfocus="this.type='text';" onmouseout="if (!$(this).is(':focus')) { this.type='password'; }" onblur="this.type='password';" autocomplete='off' maxlength='255' min='1' step='1' value='$agent_call_timeout'>\n";
echo " <input class='formfld' type='number' name='agent_call_timeout' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!\$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" autocomplete='off' maxlength='255' min='1' step='1' value='$agent_call_timeout'>\n";
echo "<br />\n";
echo $text['description-call_timeout']."\n";
echo "</td>\n";