File
![]() |
Last Change |
---|---|
![]() |
|
![]() |
3939 (18 years ago) by dan: > function freshports_Commit_Link_Port($MessageID, $Category, $Port) { > > $HTML = '<a href="/commit.php?category=' . $Category . '&port=' . $Port . '&files=yes&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 . '&category=' . $Category . '&port=' . $Port . '&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] |
![]() |
3049 (20 years ago) by : This commit was manufactured by cvs2svn to create tag 'FreshPorts-VuXML'. |
![]() |
720 (23 years ago) by dan: Add link to stats |