2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fixes lp:1255359 Translation strings with single quotes break some SQL queries

Additional fix for submit buttons where the value needs to be double quoted
This commit is contained in:
Adam Zammit
2013-11-27 12:21:37 +11:00
parent e5feb27daa
commit f5acc307a1
9 changed files with 19 additions and 19 deletions

View File

@@ -87,7 +87,7 @@ if ($chatenabled && operator_chat_enabled($operator_id))
print "<div style='display:none' id='statusavailable'>" . T_("Supervisor is available") . "</div>";
print "<div id='statusunavailable'>" . T_("Supervisor not available") . "</div>";
print "<div id='chatbox'><label for='chattext'>" . T_("Message") . ":</label><input type='text' id='chattext'/> <input type='submit' id='chatclick' value='" . TQ_("Send") . "'/></div>";
print "<div id='chatbox'><label for='chattext'>" . T_("Message") . ":</label><input type='text' id='chattext'/> <input type='submit' id='chatclick' value=\"" . T_("Send") . "\"/></div>";
//table for chat messages
print "<table class='tclass' id='chattable'><tbody><tr><th>" . T_("From") . "</th><th>" . T_("Message") . "</th></tr></tbody></table>";