From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4222 invoked from network); 25 Jul 2002 18:10:17 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by sources.redhat.com with SMTP; 25 Jul 2002 18:10:17 -0000 Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Xmtm-0005E7-00; Thu, 25 Jul 2002 13:59:38 -0400 Received: from gnats by fencepost.gnu.org with local (Exim 3.35 #1 (Debian)) id 17Ut3I-0000Af-00; Wed, 17 Jul 2002 13:57:28 -0400 From: hogsett@csl.sri.com To: pdm-gnats@zamazal.org,gnats-prs@gnu.org,bug-gnats@gnu.org Reply-To: hogsett@csl.sri.com Subject: gnatsweb/398: Missing in Login page HTML Message-Id: Sender: gnats-prs-admin@gnu.org Errors-To: gnats-prs-admin@gnu.org X-BeenThere: gnats-prs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Copies of bug tracking system messages List-Archive: Date: Thu, 25 Jul 2002 11:10:00 -0000 X-SW-Source: 2002-q3/txt/msg00002.txt.bz2 >Number: 398 >Category: gnatsweb >Synopsis: Missing in Login page HTML >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Jul 17 13:57:28 -0400 2002 >Originator: Michael Hogsett >Release: gnatsweb 3.99.3 >Organization: >Environment: N/A >Description: In sub login_page the following line is missing "" after the ':'. print "User Name:", This can cause problems if you wrap the output in another table using the site callbacks. >How-To-Repeat: Using site_callback create handlers for 'login_page_text' and 'page_end_html' which wrap the output in a table. Such as : if ( $cmd eq 'login_page_text' ) { my $txt = "\n"; $txt = $txt . "
\n"; $txt = $txt . "\n"; $txt = $txt . "
\n"; $txt = $txt . "Login\n"; $txt = $txt . "
\n"; $txt = $txt . "Log in as \"view\"\n"; $txt = $txt . "with password \"view\" to view PRs\n"; return ( $txt ); } - and - if ( $cmd eq 'page_end_html' ) { my $txt = "\n"; #$txt = $txt . "$cmd @args
\n"; if ( $args[0] ne "Login" ) { $txt = $txt . "
\n"; } else { $txt = $txt . "\n"; } return ( $txt ); } - then - view in Netscape 4.7 >Fix: print "User Name:", >Unformatted: _______________________________________________ Gnats-prs mailing list Gnats-prs@gnu.org http://mail.gnu.org/mailman/listinfo/gnats-prs