cvs: pearweb /public_html/bugs bug.php

From: Date: Sat, 23 May 2009 16:49:26 +0000
Subject: cvs: pearweb /public_html/bugs bug.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-8432@lists.php.net to get a copy of this message
clockwerx Sat May 23 16:49:26 2009 UTC Modified files: /pearweb/public_html/bugs bug.php Log: Bug #16231 - Swaps to the use of css (pre-wrap) instead of the <pre> element, and adds faint background color http://cvs.php.net/viewvc.cgi/pearweb/public_html/bugs/bug.php?r1=1.209&r2=1.210&diff_format=u Index: pearweb/public_html/bugs/bug.php diff -u pearweb/public_html/bugs/bug.php:1.209 pearweb/public_html/bugs/bug.php:1.210 --- pearweb/public_html/bugs/bug.php:1.209 Sat May 23 16:33:48 2009 +++ pearweb/public_html/bugs/bug.php Sat May 23 16:49:25 2009 @@ -15,7 +15,7 @@ * @package Bugs * @copyright Copyright (c) 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: bug.php,v 1.209 2009/05/23 16:33:48 clockwerx Exp $ + * @version $Id: bug.php,v 1.210 2009/05/23 16:49:25 clockwerx Exp $ */ /* @@ -761,7 +761,7 @@ } else { $preview .= $pbu->spamProtect(htmlspecialchars($from)); } - $preview .= "</strong>\n<br /><span class=\"note\" style=\"white-space: pre\">"; + $preview .= "</strong>\n<br /><span class=\"note\" style=\"white-space: pre-wrap\">"; $comment = $ncomment; $preview .= make_ticket_links(addlinks($comment)); $preview .= "</span>\n"; @@ -1061,7 +1061,7 @@ $p = $patches->listPatches($id); ?> <h2>Patches</h2> - <a href="patch-add.php?bug_id=<?php echo $id; ?>">Add a Patch</a><br /><br /> + <p><a href="patch-add.php?bug_id=<?php echo $id; ?>">Add a Patch</a><br /><br /> <?php foreach ($p as $name => $revisions) { $obsolete = $patches->getObsoletingPatches($bug['id'], $name, $revisions[0][0]); @@ -1070,7 +1070,7 @@ echo urlencode($name) ?>&revision=latest" <?php echo $style; ?>><?php echo clean($name) ?></a> (last revision <?php echo format_date($revisions[0][0]) ?> by <?php echo $revisions[0][1] ?>)<br /><?php echo "\n"; } - echo '<br />'; + echo '</p>'; if ($edit == 1 || $edit == 2) { ?> @@ -1288,7 +1288,7 @@ if ($edit === 1 && $com_id !== 0 && auth_check('pear.dev')) { echo "&nbsp<a href=\"bug.php?id=$id&amp;edit=1&amp;hide_comment=$com_id\">[delete]</a>\n"; } - echo '<pre class="note">'. "\n"; + echo '<div class="note" style="white-space: pre-wrap; width: 60em; overflow: auto; max-height: 20em; padding: 1.0em; margin: 1.0em; background-color: rgb(240, 240, 240)">'; // This has to be done so we don't wordwrap the changeset part again $fix = $comment; @@ -1307,7 +1307,7 @@ echo $comment; - echo "</pre>\n"; + echo "</div>\n"; echo '</div>' . "\n"; }

« previous php.pear.core (#8432) next »