[AppDB] Change extra comments to match other textareas

Rosanne DiMesio dimesio at earthlink.net
Mon Sep 11 10:09:52 CDT 2017


Makes the input field on the test report form wysiwyg and
removes the pre-formatted text styling from the test results display
so that it matches the other textareas in the test report.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
 include/testData.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/testData.php b/include/testData.php
index 7f05db2..86771d2 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -584,7 +584,7 @@ class testData{
                "<p><b>Workarounds</b></p>\n<p>{$this->shWorkarounds}</p>\n".               
                "<p><b>What was not tested</b></p>\n<p>{$this->shWhatNotTested}</p>\n".
                "<p><b>Hardware tested</b></p>\n<p><i>Graphics: </i></ul><li>GPU: {$this->sGpuMfr}</li><li>Driver: {$this->sGraphicsDriver}</li></ul></p>".
-               "<p><b>Additional Comments</b></p>\n<pre style='white-space: pre-wrap;'>{$this->sComments}</pre>\n";
+               "<p><b>Additional Comments</b></p>\n<p>{$this->sComments}</p>\n";
     }
 
     function CreateTestTable()
@@ -907,7 +907,7 @@ class testData{
         echo '<a href="https://wiki.winehq.org/AppDB_Maintainer_Rating_Definitions" target="_blank">Rating definitions</a></td></tr>',"\n";
         // extra comments
         echo '<tr valign=top><td><b>Extra comments</b></td>',"\n";
-        echo '<td><textarea name="sComments" id="extra_comments" rows=10 cols=65>';
+        echo '<td><textarea name="sComments" id="extra_comments" rows=20 cols=80 class="wysiwyg">';
         echo $this->sComments.'</textarea></td></tr>',"\n";
 
         /* Graphics hardware/driver
-- 
2.12.3




More information about the wine-patches mailing list