[xiph-commits] r9753 - websites/dir.xiph.org
oddsock at svn.xiph.org
oddsock at svn.xiph.org
Sun Aug 14 20:54:22 PDT 2005
Author: oddsock
Date: 2005-08-14 20:54:22 -0700 (Sun, 14 Aug 2005)
New Revision: 9753
Modified:
websites/dir.xiph.org/index.php
Log:
Trac ticket #686
add stype to Next and Prev navigation generation links...
Modified: websites/dir.xiph.org/index.php
===================================================================
--- websites/dir.xiph.org/index.php 2005-08-15 02:07:50 UTC (rev 9752)
+++ websites/dir.xiph.org/index.php 2005-08-15 03:54:22 UTC (rev 9753)
@@ -112,6 +112,7 @@
function getPrevLink($current, $pagesize, $rowcounter) {
global $search;
global $sgenre;
+ global $stype;
if (($current - $pagesize) < 0) {
$prev = -1;
@@ -126,6 +127,9 @@
if ($sgenre) {
$extra .= "&sgenre=".urlencode($sgenre);
}
+ if ($stype) {
+ $extra .= "&stype=".urlencode($stype);
+ }
if ($prev >= 0) {
return "<a class=\"nav\" href=\"?start=$prev&num=$pagesize$extra\"><font size=3>Prev</font></a>";
}
@@ -136,6 +140,7 @@
function getNextLink($current, $pagesize, $rowcounter) {
global $search;
global $sgenre;
+ global $stype;
if ($rowcounter < $pagesize) {
return "";
@@ -148,6 +153,9 @@
if ($sgenre) {
$extra .= "&sgenre=".urlencode($sgenre);
}
+ if ($stype) {
+ $extra .= "&stype=".urlencode($stype);
+ }
return "<a class=\"nav\" href=\"?start=$next&num=$pagesize$extra\"><font size=3>Next</font></a>";
}
function getContentTypes() {
More information about the commits
mailing list