Introduction
Introduction Statistics Contact Development Disclaimer Help
youtube cgi: disable showing pagination - frontends - front-ends for some sites…
Log
Files
Refs
README
LICENSE
---
commit 1ed634d2500469ba288a12b6f0ae917a6b45734c
parent f5ff0bca3e15337500f66278f8cdb03fe8242c3f
Author: Hiltjo Posthuma <[email protected]>
Date: Tue, 6 Jul 2021 10:15:50 +0200
youtube cgi: disable showing pagination
Reminded by Paul W. Rankin, thanks!
Diffstat:
M youtube/cgi.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/youtube/cgi.c b/youtube/cgi.c
@@ -226,27 +226,27 @@ render(struct search_response *r)
"<tr>\n"
"\t<td align=\"left\" class=\"nowrap\" nowrap>\n");
if (curpage > 1) {
- OUT("\t\t<a href=\"?q=");
+ OUT("\t\t<!--<a href=\"?q=");
xmlencode(search);
OUT("&amp;page=");
snprintf(tmp, sizeof(tmp), "%d", curpage - 1);
xmlencode(tmp);
OUT("&amp;o=");
xmlencode(order);
- OUT("\" rel=\"prev\" accesskey=\"p\">&larr; prev</a>\n…
+ OUT("\" rel=\"prev\" accesskey=\"p\">&larr; prev</a>--…
}
OUT(
"\t</td>\n\t<td></td>\n"
"\t<td align=\"right\" class=\"a-r nowrap\" nowrap>\n"…
- OUT("\t\t<a href=\"?q=");
+ OUT("\t\t<!--<a href=\"?q=");
xmlencode(search);
OUT("&amp;page=");
snprintf(tmp, sizeof(tmp), "%d", curpage + 1);
xmlencode(tmp);
OUT("&amp;o=");
xmlencode(order);
- OUT("\" rel=\"next\" accesskey=\"n\">next &rarr;</a>\n"
+ OUT("\" rel=\"next\" accesskey=\"n\">next &rarr;</a>-->\n"
"\t</td>\n"
"</tr>\n"
"</tfoot>\n"
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.