1 |
<HTML> |
<HTML> |
2 |
<HEAD> |
<HEAD> |
|
<META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-Type"> |
|
|
|
|
|
<TITLE>No pager</TITLE> |
|
|
<base href="<% $q->url() %>"> |
|
|
<LINK HREF="style.css" TYPE="text/css" REL="stylesheet"> |
|
|
|
|
|
<SCRIPT SRC="jquery.js" TYPE="text/javascript"></SCRIPT> |
|
|
<SCRIPT SRC="utils.js" TYPE="text/javascript"></SCRIPT> |
|
|
<SCRIPT src="no_pager.js" TYPE="text/javascript" /> |
|
3 |
|
|
4 |
|
<META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-Type"> |
5 |
|
|
6 |
|
<TITLE>No pager</TITLE> |
7 |
|
<base href="<% $q->url() %>"/> |
8 |
|
<LINK HREF="style.css" TYPE="text/css" REL="stylesheet" /> |
9 |
|
|
10 |
|
<SCRIPT SRC="jquery.js" TYPE="text/javascript"></SCRIPT> |
11 |
|
<SCRIPT SRC="utils.js" TYPE="text/javascript"></SCRIPT> |
12 |
|
<SCRIPT src="no_pager.js" TYPE="text/javascript"></SCRIPT> |
13 |
|
|
14 |
|
<script type="text/javascript"> |
15 |
|
<!-- |
16 |
|
|
17 |
|
$(document).ready( function() { |
18 |
|
//log( 'hook onchange to #search_form' ); |
19 |
|
$('#search_form').change( function() { |
20 |
|
//logDebug('submit #search_form'); |
21 |
|
this.submit(); |
22 |
|
}); |
23 |
|
}); |
24 |
|
|
25 |
|
//--> |
26 |
</script> |
</script> |
27 |
|
|
28 |
</HEAD> |
</HEAD> |
29 |
<BODY> |
<BODY> |
30 |
|
|
31 |
<div style="border: 1px solid #ccc; background-color: #ff8; display: block; position: fixed; right: 0px; bottom: 0px; width: 10em; height: 20em; padding: 0.5em;" id="debug"> |
<div id="debug" class="debug"> |
32 |
|
<a class="hide" href="#" onclick="javascript:$('#debug').toggle(); $('#debug_show').toggle(); return false;">X</a> |
33 |
|
</div> |
34 |
|
<div id="debug_show" class="debug"> |
35 |
|
<a class="hide" href="#" onclick="javascript:$('#debug').toggle(); $('#debug_show').toggle(); return false;">?</a> |
36 |
</div> |
</div> |
37 |
|
|
38 |
|
|
39 |
<div style="border-bottom: 1px solid #ccc; background-color: #eee; display: block; position: fixed; left: 0px; top: 0px; width: 100%; height: 2em; padding: 0.5em;"> |
<div id="search_form_div"> |
40 |
|
|
41 |
<FORM id="search_form" ACTION="" METHOD="get"> |
<FORM id="search_form" ACTION="" METHOD="get"> |
42 |
|
|
43 |
<INPUT AUTOCOMPLETE="off" NAME="q" TYPE="input" ID="q" VALUE="<% $q->param('q') %>"> |
<INPUT AUTOCOMPLETE="off" NAME="search" TYPE="input" ID="search" VALUE="<% $q->param('search') %>"> |
44 |
|
|
45 |
|
<% sort_order %> |
46 |
|
|
47 |
<INPUT TYPE="submit" CLASS="submit" VALUE="search"> |
<INPUT TYPE="submit" CLASS="submit" VALUE="search"> |
48 |
|
|
49 |
<span id="status" class="note"> |
<span id="status" class="note"> |
50 |
no news is good news... |
<% $v->{status} %> |
51 |
</span> |
</span> |
52 |
|
|
53 |
</FORM> |
</FORM> |
56 |
|
|
57 |
<div style="margin-top: 3em;"> |
<div style="margin-top: 3em;"> |
58 |
<!-- Dynamic Content --> |
<!-- Dynamic Content --> |
59 |
|
|
60 |
<DIV ID="more_history"> |
<% $get_results %> |
|
<NOSCRIPT> |
|
|
Javascript is required for no pager to work. |
|
|
Here should be implementation of non-javascript fallback, but it doesn't exist yet. |
|
|
</NOSCRIPT> |
|
|
</DIV> |
|
|
|
|
|
<!-- Meta Content --> |
|
|
<INPUT TYPE="hidden" ID="history_index"> |
|
|
<INPUT TYPE="hidden" ID="page_id" VALUE="<% page_id %>"> |
|
61 |
|
|
62 |
<!-- Back Button Content --> |
<!-- Back Button Content --> |
63 |
<DIV STYLE="position:absolute;top:0px;left:0px;visibility:hidden;" ID="spacer">space</DIV> |
<DIV STYLE="position:absolute;top:0px;left:0px;visibility:hidden;" ID="spacer">space</DIV> |