cvs: bugtracker /template/generic/bug index.php

From: Date: Thu, 10 Jul 2008 21:23:34 +0000
Subject: cvs: bugtracker /template/generic/bug index.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-2077@lists.php.net to get a copy of this message
bcarlyon Thu Jul 10 21:23:34 2008 UTC Modified files: /bugtracker/template/generic/bug index.php Log: Fixed HTML on bug display page http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/index.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/template/generic/bug/index.php diff -u bugtracker/template/generic/bug/index.php:1.4 bugtracker/template/generic/bug/index.php:1.5 --- bugtracker/template/generic/bug/index.php:1.4 Thu Jul 10 20:56:41 2008 +++ bugtracker/template/generic/bug/index.php Thu Jul 10 21:23:34 2008 @@ -55,26 +55,28 @@ $content .= '<h2>Bug Display</h2>'; $content .= '<table id="bug">'; -$content .= '<tr><td style="width: 100px;">BugId: ' . $bug['bug_id'] . '</td><td style="width: 200px;">' . $bug['summary'] . '</td><td>Reported By: <strong>' . $bug['reported_by'] . '</strong></td></tr>'; +$content .= '<tr><td style="width: 100px;">Bug: #' . $bug['bug_id'] . '</td><td style="width: 200px;">' . $bug['summary'] . '</td><td>Reported By: <strong>' . $bug['reported_by'] . '</strong></td></tr>'; $content .= '<tr><td>'; // $content .= '<img src="/images/bug_status/' . $status[$bug['status']] . '.png" alt="' . $status[$bug['status']] . '" />'; - $content .= '<strong>' . $status[$bug['status']] . '</strong>'; + $content .= '<h4>' . $status[$bug['status']] . '</h4>'; +$content .= '</td><td colspan="2">Opened: ' . date('d/m/Y h:i O',$bug['UNIX_TIMESTAMP(reported_on)']); if ($bug['status'] != 0) { - $content .= 'on ' . date('d/m/Y h:i',$bug['UNIX_TIMESTAMP(assigned_on)']); - $content .= 'Opened: ' . data('d/m/Y h:i',$bug['UNIX_TIMESTAMP(reported_in)']); + $content .= 'Assigned to: ' . $bug['assigned_to'] . '<br />'; + $content .= 'Assigned on: ' . date('d/m/Y h:i',$bug['UNIX_TIMESTAMP(assigned_on)']); } +$content .= '</td></tr>'; -$content .= '</td><td></td><td>'; -//$content .= '<table>'; +$content .= '<tr><td></td><td style="text-align: right;">Version:</td><td>' . $php_version[$bug['php_version']] . '</td></tr>'; $content .= '<tr><td></td><td style="text-align: right;">Type:</td><td>' . $bug_type[$bug['bug_type']] . '</td></tr>'; $content .= '<tr><td></td><td style="text-align: right;">OS:</td><td>' . $os_version[$bug['os_version']] . '</td></tr>'; -//$content .= '</table>'; -$content .= '</td></tr>'; + $content .= '<tr><td></td><td colspan="2">'; $content .= $bug['description']; -$content .= '<br />&nbsp;</td></tr>'; +$content .= '<br />&nbsp;'; + +$content .= '</td></tr>'; if (isset($bug['reproduce'])) { $content .= "\n";

« previous php.webmaster (#2077) next »