[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch for gnatsweb.pl
From: |
Robert Lupton the Good |
Subject: |
patch for gnatsweb.pl |
Date: |
Mon, 16 Sep 2002 09:47:21 -0400 |
(This is my "patch.5")
This patch:
Includes the PR number in the title of the page when
viewing/editing a PR. I find this useful while e.g. checking
in the patch and I simply want to know the PR number.
R
*** gnatsweb.pl Thu Sep 12 08:59:55 2002
--- /u/dss/cgi-bin/gnatsweb-v4.pl Thu Sep 12 09:28:11 2002
***************
*** 1346,1357 ****
sub view
{
my($viewaudit, $tmp) = @_;
! my $page = 'View PR';
page_start_html($page);
- # $pr must be 'local' to be available to site callback
- local($pr) = $q->param('pr');
# strip out leading category (and any other non-digit trash) from $pr
$pr =~ s/\D//g;
--- 1346,1357 ----
sub view
{
my($viewaudit, $tmp) = @_;
+ # $pr must be 'local' to be available to site callback
+ local($pr) = $q->param('pr');
! my $page = "View PR $pr";
page_start_html($page);
# strip out leading category (and any other non-digit trash) from $pr
$pr =~ s/\D//g;
***************
*** 1472,1483 ****
#
sub edit
{
! my $page = 'Edit PR';
page_start_html($page);
#my $debug = 0;
- my($pr) = $q->param('pr');
# strip out leading category (and any other non-digit trash) from
# $pr, since it will unduly confuse gnats when we try to submit the
--- 1472,1484 ----
#
sub edit
{
! my($pr) = $q->param('pr');
!
! my $page = "Edit PR $pr";
page_start_html($page);
#my $debug = 0;
# strip out leading category (and any other non-digit trash) from
# $pr, since it will unduly confuse gnats when we try to submit the
- Patch for gnatsweb.pl, (continued)
- Patch for gnatsweb.pl, Robert Lupton the Good, 2002/09/16
- Re: Patch for gnatsweb.pl, Yngve Svendsen, 2002/09/17
- Re: Patch for gnatsweb.pl, Lars Henriksen, 2002/09/22
- Re: Patch for gnatsweb.pl, Lars Henriksen, 2002/09/25
- Re: Patch for gnatsweb.pl, Yngve Svendsen, 2002/09/25
- Re: Patch for gnatsweb.pl, Lars Henriksen, 2002/09/25
- Patch for gnatsweb.pl, Robert Lupton the Good, 2002/09/26
- Patch for gnatsweb.pl, Robert Lupton the Good, 2002/09/26
- Re: Patch for gnatsweb.pl, Lars Henriksen, 2002/09/29
Patch for gnatsweb.pl, Robert Lupton the Good, 2002/09/16
patch for gnatsweb.pl,
Robert Lupton the Good <=
patch for gnatsweb.pl, Robert Lupton the Good, 2002/09/16