author | Jakub Narebski <jnareb@gmail.com> | |
Thu, 1 Nov 2007 12:06:28 +0000 (13:06 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 2 Nov 2007 08:30:35 +0000 (01:30 -0700) | ||
commit | 7afd77bfc1b6881fd9e476274d3f08b793c292ed | |
tree | 4a1544bc576b55ecad16e0ee30419a11f69ac9e1 | tree | snapshot |
parent | 1cad283a71d0ade2d86758dac90b51972a7a73c6 | commit | diff |
gitweb: Use href(-replay=>1, page=>...) to generate pagination links
Use href(-replay=>1, page=>$page-1) and href(-replay=>1, page=>$page+1)
to generate previous page and next page links.
Generate next page link only once.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Use href(-replay=>1, page=>$page-1) and href(-replay=>1, page=>$page+1)
to generate previous page and next page links.
Generate next page link only once.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |