ViewVC Help
View Directory | Revision Log | View Changeset | Root Listing
root/freshports-1/include
r3939
File Last Change
 ../
branches/ 3939 (18 years ago) by dan: > 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]
tags/ 3049 (20 years ago) by : This commit was manufactured by cvs2svn to create tag 'FreshPorts-VuXML'.
trunk/ 720 (23 years ago) by dan: Add link to stats
3 directories and 0 files shown