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

From: Date: Thu, 14 Aug 2008 09:16:54 +0000
Subject: cvs: bugtracker /template/generic/bug index.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-2418@lists.php.net to get a copy of this message
bcarlyon Thu Aug 14 09:16:54 2008 UTC Modified files: /bugtracker/template/generic/bug index.php Log: Alter bug display to allow closed to be fixed wrt, to time/date of and who did it http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/index.php?r1=1.38&r2=1.39&diff_format=u Index: bugtracker/template/generic/bug/index.php diff -u bugtracker/template/generic/bug/index.php:1.38 bugtracker/template/generic/bug/index.php:1.39 --- bugtracker/template/generic/bug/index.php:1.38 Thu Aug 14 09:09:39 2008 +++ bugtracker/template/generic/bug/index.php Thu Aug 14 09:16:54 2008 @@ -37,7 +37,7 @@ * @author Barry Carlyon <bcarlyon@php.net> * @copyright 2008-2008 Barry Carlyon * @license http://www.opensource.org/licenses/bsd-license.php BSD License -* @version CVS: $Id: index.php,v 1.38 2008/08/14 09:09:39 bcarlyon Exp $ +* @version CVS: $Id: index.php,v 1.39 2008/08/14 09:16:54 bcarlyon Exp $ * @link http://gsoc.barrycarlyon.servegame.org/ */ @@ -142,7 +142,7 @@ <tr> <td><h4>Bug: #{DSP_BUG_ID}</h4></td> <td colspan="3" style="width: 220px;">{DSP_SUMMARY}</td> </tr> <tr> <td><h4>{DSP_STATUS}</h4></td> <td>Opened:</td> <td>{DSP_REPORTED_ON}</td> <td>{DSP_REPORTED_BY}</td> </tr> {DSP_ASSIGNED} -{DSP_SHOW_CLOSED} <tr> <td>&nbsp;</td> <td>Closed:</td> <td>{DSP_CLOSED_ON}</td> <td>{DSP_CLOSED_BY}</td> </tr>{DSP_END_CLOSED} +{DSP_SHOW_CLOSED} <tr> <td>&nbsp;</td> <td>{CLOSEFIX}:</td> <td>{DSP_CLOSED_ON}</td> <td>{DSP_CLOSED_BY}</td> </tr>{DSP_END_CLOSED} {DSP_SHOW_UPDATED} <tr> <td>&nbsp;</td> <td>Last Updated:</td> <td colspan="2">{DSP_UPDATED}</td> </tr>{DSP_END_UPDATED} <tr> <td>&nbsp;</td> <td colspan="2" style="text-align: right;">Version:</td> <td>{DSP_PHP_VERSION}</td> </tr> <tr> <td>&nbsp;</td> <td colspan="2" style="text-align: right;">Type:</td> <td>{DSP_BUG_TYPE}</td> </tr> @@ -184,6 +184,11 @@ if ($bug_row['UNIX_TIMESTAMP(closed_on)'] != '0') { $bug_row['show_closed'] = $bug_row['end_closed'] = ''; + if ($bug_row['status'] == FIXED) { + $html = $template->swap('closefix', 'Fixed', $html); + } else { + $html = $template->swap('closefix', 'Closed', $html); + } } if (isset($bug_row['reproduce'])) {

« previous php.webmaster (#2418) next »