summaryrefslogtreecommitdiff
path: root/httemplate/elements/pager.html
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2004-04-07 09:08:35 +0000
committercvs2git <cvs2git>2004-04-07 09:08:35 +0000
commit022491d9d2723ca4d7d0718cdb1fd67e7652428e (patch)
treefc1e50c0d78ecc401ef2214a6a11ee07242be0f8 /httemplate/elements/pager.html
parent35effa1bf4ac902547615c816960bbc8db8e7256 (diff)
This commit was manufactured by cvs2svn to create tag 'NET_WHOIS_RAW_0_31'.NET_WHOIS_RAW_0_31
Diffstat (limited to 'httemplate/elements/pager.html')
-rw-r--r--httemplate/elements/pager.html42
1 files changed, 0 insertions, 42 deletions
diff --git a/httemplate/elements/pager.html b/httemplate/elements/pager.html
deleted file mode 100644
index db9ff83bf..000000000
--- a/httemplate/elements/pager.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-
- my %opt = @_;
-
- my $pager = '';
- if ( $opt{'total'} != $opt{'num_rows'} && $opt{'maxrecords'} ) {
- unless ( $opt{'offset'} == 0 ) {
- $cgi->param('offset', $opt{'offset'} - $opt{'maxrecords'});
-%>
-
- <A HREF="<%= $cgi->self_url %>"><B><FONT SIZE="+1">Previous</FONT></B></A>
-
-<%
- }
- my $page = 0;
- for ( my $poff = 0; $poff < $opt{'total'}; $poff += $opt{'maxrecords'} ) {
- $page++;
- if ( $opt{'offset'} == $poff ) {
-%>
-
- <FONT SIZE="+2"><%= $page %></FONT>
-
-<%
- } else {
- $cgi->param('offset', $poff);
-%>
-
- <A HREF="<%= $cgi->self_url %>">$page</A>
-
-<%
- }
- }
- unless ( $opt{'offset'} + $opt{'maxrecords'} > $opt{'total'} ) {
- $cgi->param('offset', $opt{'offset'} + $opt{'maxrecords'});
-%>
-
- <A HREF="<%= $cgi->self_url %>"><B><FONT SIZE="+1">Next</FONT></B></A>
-
-<%
- }
- }
-%>