[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/z3950 searc... [rel_2_2]
From: |
Mason James |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/z3950 searc... [rel_2_2] |
Date: |
Wed, 06 Jun 2007 04:38:28 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Mason James <sushi> 07/06/06 04:38:28
Modified files:
koha-tmpl/intranet-tmpl/npl/en/z3950: searchresult.tmpl
Log message:
changing 'view marc' to open popup window, still testing...
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/z3950/searchresult.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.2.2.7&r2=1.2.2.8
Patches:
Index: searchresult.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/z3950/Attic/searchresult.tmpl,v
retrieving revision 1.2.2.7
retrieving revision 1.2.2.8
diff -u -b -r1.2.2.7 -r1.2.2.8
--- searchresult.tmpl 19 Apr 2007 18:49:11 -0000 1.2.2.7
+++ searchresult.tmpl 6 Jun 2007 04:38:28 -0000 1.2.2.8
@@ -8,23 +8,37 @@
<style type="text/css">
<!-- TMPL_IF NAME="intranetstylesheet" -->@import url(<!-- TMPL_VAR
NAME='themelang' -->/includes/<!-- TMPL_VAR NAME="intranetstylesheet" -->);<!--
TMPL_ELSE -->@import url(<!-- TMPL_VAR NAME='themelang'
-->/includes/intranet.css);<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="intranetcolorstylesheet" -->@import url(<!-- TMPL_VAR
NAME='themelang' -->/includes/<!-- TMPL_VAR NAME="intranetcolorstylesheet"
-->);<!-- /TMPL_IF -->
address@hidden url(<!-- TMPL_VAR NAME='themelang' -->/includes/sweetTitles.css);
</style>
+<script type="text/javascript">marcArray= new Array();</script>
+
+<script type="text/javascript">
+ var GB_ROOT_DIR = "http://mydomain.com/greybox/";
+</script>
+
+
</head>
<body>
<div id="main-compact">
<!-- TMPL_IF name="opsearch" -->
- <h2>Search on</h2>
<form method="post" action="search.pl" name="f">
-
+ <div class="formfields">
<input type="hidden" name="op" id="op" value="do_search" />
- <input type="hidden" name="title" value="<!-- TMPL_VAR NAME="title" -->" />
- <input type="hidden" name="author" value="<!-- TMPL_VAR NAME="author" -->"
/>
- <input type="hidden" name="isbn" value="<!-- TMPL_VAR NAME="isbn" -->" />
- <input type="hidden" name="issn" value="<!-- TMPL_VAR NAME="issn" -->" />
+<table>
+<caption>Search points</caption>
+ <tr><td> <label for="title">Title</label> <input type="text" id="title"
name="title" value="<!-- TMPL_VAR NAME="title" -->" /></td>
+ <td> <label for="author">Author</label> <input type="text" name="author"
value="<!-- TMPL_VAR NAME="author" -->" /></td></tr>
+ <tr> <td> <label for=isbn"">ISBN/ISSN</label> <input type="text" name="isbn"
value="<!-- TMPL_VAR NAME="isbn" -->" /></td>
+ <!-- <label for="Keyword">Keyword</label> <input type="text" name="keyword"
value="" /> -->
+ <td> <label for="subject">Subject Heading</label> <input type="text"
name="subject heading" value="" /></td></tr>
+<tr> <td> <label for="lccall">LC Call Number</label> <input type="text"
name="lccall" value="" /></td>
+ <td> <label for="dewey">Dewey</label> <input type="text" name="dewey"
value="" /></td></tr>
+ </table>
<input type="hidden" name="oldbiblionumber" value="<!-- TMPL_VAR
NAME="oldbiblionumber" -->" />
-
+ </div>
+ <h2>Search targets:</h2>
<!-- TMPL_LOOP name="serverloop" -->
<p>
<!-- TMPL_IF name="checked" -->
@@ -39,38 +53,45 @@
<input type="submit" class="submit" value="Search internet"
onclick="cursor :'wait'"/>
</form>
<!-- TMPL_ELSE -->
- <h2>Results</h2>
+<div class="stacked" style="position: absolute; float: left; top: 20px; left:
20px; width: 700px;">
+<h3 align="center"><!-- TMPL_IF name="numberpending" -->Still <!-- TMPL_VAR
NAME="numberpending" --> servers to search
+<!-- TMPL_ELSE -->Search complete<!-- /TMPL_IF --></h3>
<table>
- <tr>
- <th>Server</th>
+ <caption>Results</caption>
+<tr>
+ <!-- <th>Server</th> -->
<th>Title</th>
<th>Author</th>
<th>ISBN</th>
+ <th>Detail</th>
<th> </th>
- <th> </th>
- </tr>
+</tr>
<!-- TMPL_IF name="breeding_loop" -->
<!-- TMPL_LOOP name="breeding_loop" -->
- <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
- <td><!-- TMPL_VAR name="server" --></td>
+ <!-- <tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->"> -->
+ <!-- TMPL_IF NAME="newserver" --> <th colspan="5"><!-- TMPL_VAR
name="server" --></th></tr><tr><!-- /TMPL_IF -->
+ <!-- <td><!-- TMPL_VAR name="server" --></td> -->
<td><!-- TMPL_VAR NAME="title" --></td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="isbn" --></td>
- <td><a href="javascript:Import(<!-- TMPL_VAR NAME="id" -->,<!--
TMPL_VAR NAME="oldbiblionumber" -->)">Import</a></td>
+ <td><a href="javascript:void(0);"
onclick=window.open("../z3950/displayfrombreeding.pl?id=100",'location=yes,toolbar=no,scrollbars=yes');>View
MARC</a></td>
+ <td><a href="javascript:Import(<!-- TMPL_VAR NAME="id"
-->,<!-- TMPL_VAR NAME="oldbiblionumber" -->)" >Import</a></td>
- </tr>
+</tr>
+ <script type="text/javascript">marcArray['<!-- TMPL_VAR
NAME="id" -->'] = "<pre><!-- TMPL_VAR NAME="MARC" ESCAPE="JS"
--></pre>";</script>
<!-- /TMPL_LOOP -->
+<tr><td><div id="marcdata" style="width: 700px; "> </div></td></tr>
<!-- TMPL_ELSE -->
<tr><td colspan="6">Nothing found</td></tr>
<!-- /TMPL_IF -->
</table>
+</div>
<!-- /TMPL_IF -->
</div>
-<!-- TMPL_IF name="numberpending" --><h3 align="center">Still <!-- TMPL_VAR
NAME="numberpending" --> servers to search</h3><!-- /TMPL_IF -->
<script language="JavaScript" type="text/javascript">
function Import(GetThisOne,biblionumber) {
- opener.document.location=
"../acqui.simple/addbiblio.pl?oldbiblionumber="+biblionumber+"&z3950=1&breedingid="+GetThisOne;
+ opener.document.location=
"../acqui.simple/addbiblio.pl?oldbiblionumber="+biblionumber+"&z3950=1&frameworkcode=<!--
TMPL_VAR NAME="frameworkcode" -->&breedingid="+GetThisOne;
self.close();
return false;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/z3950 searc... [rel_2_2],
Mason James <=