From owner-svn-doc-head@FreeBSD.ORG Sun Jun 8 08:00:18 2014 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD3A06A2; Sun, 8 Jun 2014 08:00:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97E412D3F; Sun, 8 Jun 2014 08:00:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5880I7i020932; Sun, 8 Jun 2014 08:00:18 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5880IP3020931; Sun, 8 Jun 2014 08:00:18 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201406080800.s5880IP3020931@svn.freebsd.org> From: Eitan Adler Date: Sun, 8 Jun 2014 08:00:18 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r45027 - head/en_US.ISO8859-1/htdocs/cgi X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2014 08:00:18 -0000 Author: eadler Date: Sun Jun 8 08:00:18 2014 New Revision: 45027 URL: http://svnweb.freebsd.org/changeset/doc/45027 Log: During the temporary period, drop the footer on the gnats PRs. Modified: head/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi Modified: head/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi ============================================================================== --- head/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi Sun Jun 8 06:41:05 2014 (r45026) +++ head/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi Sun Jun 8 08:00:18 2014 (r45027) @@ -861,42 +861,7 @@ sub FooterLinks my $url = $q->url(-full => 1, -query => 1); - my $pr = $q->escapeHTML($gnatspr->FieldSingle('Number')); - my $cat = $q->escapeHTML($gnatspr->FieldSingle('Category')); - my $synopsis = $q->escapeHTML($gnatspr->FieldSingle('Synopsis')); - - my $mail = $gnatspr->Header('From'); - - # Try to extract just the e-mail address from the 'From' header - if ($mail) { - $mail =~ s/^\s*(.*)\s*$/$1/; - $mail =~ s/.*<(.*)>.*/$1/; - $mail =~ s/\s*\(.*\)\s*//; - } - - my $replyto = $gnatspr->Header('Reply-To'); - - # ... same with the 'Reply-To' header - if ($replyto) { - $replyto =~ s/^\s*(.*)\s*$/$1/; - $replyto =~ s/.*<(.*)>.*/$1/; - $replyto =~ s/\s*\(.*\)\s*//; - } - - # Prefer 'Reply-To' if present - $mail = $replyto if ($replyto); - $mail .= '@FreeBSD.org' unless ($mail =~ /@/); - - # Prepare for mailto: link - $synopsis =~ s/[^a-zA-Z+.@-]/"%" . sprintf("%02X", unpack("C", $&))/eg; - $mail =~ s/[^a-zA-Z+.@-]/"%" . sprintf("%02X", unpack("C", $&))/eg; - - my $maillink = 'mailto:bug-followup@FreeBSD.org,' - . "$mail?subject=Re:%20$cat/$pr:%20$synopsis"; - return $q->div({-class => 'footerlinks'}, - $q->a({-href => $maillink}, 'Submit Followup') - . ' | ' . $q->a({-href => $url . '&f=raw'}, 'Raw PR') - . ' | ' . $q->a({-href => 'query-pr-summary.cgi?query'}, 'Find another PR') + . $q->a({-href => $url . '&f=raw'}, 'Raw PR') ); }