Fix parsing errors by escapting apostophes added inside of strings

This commit is contained in:
Chris Morgan
2008-05-31 23:07:18 -04:00
parent df5b9e2b52
commit 017703632a

View File

@@ -944,7 +944,7 @@ class testData{
if(getInput('bConfirmTestedVersionChange', $aClean) != 'true') if(getInput('bConfirmTestedVersionChange', $aClean) != 'true')
{ {
echo '<tr><td class="color1">&nbsp;</td><td class="color0">'; echo '<tr><td class="color1">&nbsp;</td><td class="color0">';
echo 'You have changed the Wine version of the report. Are you sure you want to do this? Please submit a new test report for every Wine version you test; this is useful for tracking Wine's progress.<br>'; echo 'You have changed the Wine version of the report. Are you sure you want to do this? Please submit a new test report for every Wine version you test; this is useful for tracking Wine\'s progress.<br>';
echo '<input type="checkbox" name="bConfirmTestedVersionChange" value="true"> '; echo '<input type="checkbox" name="bConfirmTestedVersionChange" value="true"> ';
echo 'Yes, I want to change the Wine version'; echo 'Yes, I want to change the Wine version';
echo '</td></tr>'; echo '</td></tr>';
@@ -988,7 +988,7 @@ class testData{
getInput('bConfirmTestedVersionChange', $aValues) != 'true') getInput('bConfirmTestedVersionChange', $aValues) != 'true')
{ {
$errors .= '<li>Are you sure you want to change the Wine version of the report? Please submit a new '. $errors .= '<li>Are you sure you want to change the Wine version of the report? Please submit a new '.
'test report for every Wine version you test; this is useful for tracking Wine's progress. '. 'test report for every Wine version you test; this is useful for tracking Wine\'s progress. '.
'Tick the box above the submit button if you want to proceed</li>'; 'Tick the box above the submit button if you want to proceed</li>';
} }