gnatsweb-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnatsweb-commit] gnatsweb ChangeLog gnatsweb.pl


From: Yngve Svendsen
Subject: [Gnatsweb-commit] gnatsweb ChangeLog gnatsweb.pl
Date: Tue, 20 Nov 2001 15:14:27 -0500

CVSROOT:        /cvsroot/gnatsweb
Module name:    gnatsweb
Branch:         gnatsweb-v2-branch
Changes by:     Yngve Svendsen <address@hidden> 01/11/20 15:14:27

Modified files:
        .              : ChangeLog gnatsweb.pl 

Log message:
        * gnatsweb.pl: Added redirect after a new PR is submitted (this
        proved to be surprisingly hard):
        - (sendpr): Pass the return_url parameter through to the results
        page.
        - (submitnewpr): Postpone call to page_start_html until we're sure
        we don't need special headers.  Add redirect code at the end.
        This code should have been spun off into a separate sub since we
        use it in several places, but since Gnatsweb 2.x is EOL, we
        won't bother.
        - (get_pr_url): Modify so that when it is called with a PR number
        of 0, the pr parameter is left out of the URL.
        - (get_createpr_url): New subroutine.  Returns a 'create' URL.
        - (page_start_html): Use it for the Create URL in the button bar.
        - (submitedit): Use the new redirect code written for submitnewpr.
        The old code issued invalid HTML.
        - (page_start_html): Use $head_already_done to decide whether to
        print the <head> section of the page.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnatsweb/gnatsweb/ChangeLog.diff?only_with_tag=gnatsweb-v2-branch&tr1=1.1.1.1.2.30&tr2=1.1.1.1.2.31&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnatsweb/gnatsweb/gnatsweb.pl.diff?only_with_tag=gnatsweb-v2-branch&tr1=1.1.1.1.2.25&tr2=1.1.1.1.2.26&r1=text&r2=text




reply via email to

[Prev in Thread] Current Thread [Next in Thread]