projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better compliance with IE.
[pazpar2-moved-to-github.git]
/
www
/
demo
/
page_segments.phpi
diff --git
a/www/demo/page_segments.phpi
b/www/demo/page_segments.phpi
index
e4a8e4a
..
cfc5487
100644
(file)
--- a/
www/demo/page_segments.phpi
+++ b/
www/demo/page_segments.phpi
@@
-1,6
+1,6
@@
<?php
<?php
-/* $Id: page_segments.phpi,v 1.1 2007-01-04 14:11:55 sondberg Exp $
+/* $Id: page_segments.phpi,v 1.7 2007-01-05 13:53:33 sondberg Exp $
* ---------------------------------------------------
* Page segments
*/
* ---------------------------------------------------
* Page segments
*/
@@
-15,8
+15,9
@@
function insert_header () {
<link rel="author" href="http://www.indexdata.dk" />
<link href="css/styles.css" rel="stylesheet" type="text/css"
media="screen, all" />
<link rel="author" href="http://www.indexdata.dk" />
<link href="css/styles.css" rel="stylesheet" type="text/css"
media="screen, all" />
+ <script type="text/javascript" src="search.js"></script>
</head>
</head>
- <body>
+ <body onload="initialize();">
<div class="container">
<div class="topbar">
<a href=".">
<div class="container">
<div class="topbar">
<a href=".">
@@
-31,42
+32,50
@@
function insert_header () {
<div class="search">
<span>ENTER SEARCH TERM:</span>
<div>
<div class="search">
<span>ENTER SEARCH TERM:</span>
<div>
- <input type="text" class="search" tabindex="1" maxlength="255"
- value="" />
+ <form name="search" onsubmit="start_search(); return false;">
+ <input id="query" type="text" class="search" tabindex="1"
+ maxlength="255" value="" />
<input type="submit" class="button" value="Search" />
<input type="submit" class="button" value="Search" />
+ <input type="hidden" name="startrec" id="startrec"/>
+ <input type="hidden" name="action_type" id="action_type"
+ value="search"/>
+ </form>
</div>
</div>
<div class="main">
</div>
</div>
<div class="main">
- <div class="leftbar">
+ <div class="leftbar" id="termlists">
<b>Limit search results</b><br />
Narrow your search by using the keywords below:<br />
<br />
<b>Limit search results</b><br />
Narrow your search by using the keywords below:<br />
<br />
- <a href="#" class="unselected">Subject</a>
- <a href="#">Subject 1</a>
- <a href="#">Subject 2</a>
- <a href="#"> Subject 3</a>
+ <a id="facet_subject" href="#" class="selected"
+ onclick="toggle_facet(this)">Subject</a>
+ <span id="facet_subject_terms" class="facet"
+ style="display: none;">None</span>
+
<br />
<br />
- <a href="#" class="selected">Author</a>
- <br />
- <a href="#" class="selected">Institution</a>
- <br />
- <a href="#" class="unselected">Date</a>
- <a href="#">Date 1</a>
- <a href="#">Date 2</a>
- <a href="#">Date 3</a>
+
+ <a id="facet_author" href="#" class="selected"
+ onclick="toggle_facet(this)">Author</a>
+ <span id="facet_author_terms" class="facet"
+ style="display: none;">None</span>
+
</div>
</div>
- <div class="content">
+ <div class="content" id="body">
END_OF_HEADER;
}
function insert_footer () {
END_OF_HEADER;
}
function insert_footer () {
-echo <<<END_OF_FOOTER
+ global $show_status;
+
+ echo '</div>
+ <div style="display: ', ($show_status == 1 ? 'block' : 'none'),
+ ';">Status: <span id="status">Initializing</span>
+ <span id="stat"></span>
+ </div>
+ <div class="clear"></div>
</div>
</div>
- <div class="clear"></div>
</div>
</div>
- </div>
- </body>
-</html>
-END_OF_FOOTER;
+ </body>
+ </html>';
}
}