> function freshports_Commit_Link_Port($MessageID, $Category, $Port) { > >       $HTML  = '<a href="/commit.php?category=' . $Category . '&amp;port=' . $Port . '&amp;files=yes&amp;message_id=' . $MessageID . '">'; >       $HTML .= freshports_Files_Icon(); >       $HTML .= '</a>'; > >       return $HTML; > } > 1115,1123d1124 < function freshports_CommitFilesLink($MessageID, $Category, $Port) { < <       $HTML  = '<a href="/commit.php?message_id=' . $MessageID . '&amp;category=' . $Category . '&amp;port=' . $Port . '&amp;files=yes">'; <       $HTML .= freshports_Files_Icon(); <       $HTML .= '</a>'; < <       return $HTML; < } < cvs
> function freshports_Commit_Link_Port($MessageID, $Category, $Port) {
>
>       $HTML  = '<a href="/commit.php?category=' . $Category . '&amp;port='
. $Port . '&amp;files=yes&amp;message_id=' . $MessageID . '">';
>       $HTML .= freshports_Files_Icon();
>       $HTML .= '</a>';
>
>       return $HTML;
> }
>
1115,1123d1124
< function freshports_CommitFilesLink($MessageID, $Category, $Port) {
<
<       $HTML  = '<a href="/commit.php?message_id=' . $MessageID .
'&amp;category=' . $Category . '&amp;port=' . $Port . '&amp;files=yes">';
<       $HTML .= freshports_Files_Icon();
<       $HTML .= '</a>';
<
<       return $HTML;
< }
<
cvs

REname freshports_CommitFilesLink() to freshports_Commit_Link_Port() and
nput message_id at the end of the URL.  This rearrangement caters to the
Apache mod_rewrite we are doing for files.php, which means QSA puts the
query string at the end:

RewriteRule ^/(.*)/(.*)/files\.php$ /commit.php?category=$1&port=$2&files=yes [R=permanent,QSA]


git-svn-id: 3b6cb4556d214d66df54bca2662d7ef408f367bf@3939 46e82423-29d8-e211-989e-002590a4cdd4

dlangille/freshports-1,lattera/freshports,dlangille/freshports-1,dlangille/freshports-1,FreshPorts/freshports,FreshPorts/freshports,lattera/freshports,lattera/freshports,dlangille/freshports-1,lattera/freshports,dlangille/freshports-1,lattera/freshports,FreshPorts/freshports,lattera/freshports,FreshPorts/freshports