koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/search.mar...


From: paul poulain
Subject: [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/search.mar...
Date: Mon, 13 Feb 2006 16:38:29 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         
Changes by:     paul poulain <address@hidden>   06/02/13 16:38:29

Modified files:
        koha-tmpl/intranet-tmpl/prog/en/search.marc: result.tmpl 
                                                     search.tmpl 

Log message:
        some modifs to enable search on old search API with zebra. seems to 
work, although it is 100% dirty code that should be rewritten by someone (chris 
?)
        I just hacked this to have a working search to continue working on 
Biblio.pm & catlaoguing
        
        +code cleaning (using biblionumber standard API name)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/result.tmpl.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/search.tmpl.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/result.tmpl
diff -u koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/result.tmpl:1.1 
koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/result.tmpl:1.2
--- koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/result.tmpl:1.1    Tue Jul 
19 20:44:20 2005
+++ koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/result.tmpl        Mon Feb 
13 16:38:29 2006
@@ -35,7 +35,7 @@
 <tbody>
        <!-- TMPL_LOOP name="result" -->
                <tr<!-- TMPL_IF NAME="even" --> class="highlight"<!-- /TMPL_IF 
-->>
-                       <td><p><a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- 
TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" 
--></a></p>
+                       <td><p><a 
href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR 
NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a></p>
                                                <p><!-- TMPL_VAR NAME="author" 
-->
                                                <!-- TMPL_IF 
NAME="publishercode" -->- <!-- TMPL_VAR NAME="publishercode" --><!-- /TMPL_IF 
-->
                                                <!-- TMPL_IF NAME="place" --> ; 
<!-- TMPL_VAR NAME="place" --><!-- /TMPL_IF -->
@@ -45,7 +45,7 @@
                                        </p></td>
                                        <td><!-- TMPL_VAR NAME="classification" 
--></td>
                        <td><!-- TMPL_VAR NAME="totitem" --></td>
-<td><!-- TMPL_LOOP NAME="CN" --><!-- TMPL_VAR NAME="holdingbranch" --><!-- 
TMPL_IF name="date_due" --> (due <!-- TMPL_VAR NAME="date_due" -->) <!-- 
TMPL_ELSE --><!-- TMPL_IF NAME="itemcallnumber" -->(<!-- TMPL_VAR 
NAME="itemcallnumber" -->)<!-- /TMPL_IF --><!-- /TMPL_IF --><br /><!-- 
/TMPL_LOOP --></td><td><!-- TMPL_UNLESS name="norequests" --><a 
href="/cgi-bin/koha/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" 
ESCAPE="URL" -->">Reserves</a><!-- TMPL_ELSE -->Not Reservable<!-- /TMPL_UNLESS 
--></td>
+<td><!-- TMPL_LOOP NAME="CN" --><!-- TMPL_VAR NAME="holdingbranch" --><!-- 
TMPL_IF name="date_due" --> (due <!-- TMPL_VAR NAME="date_due" -->) <!-- 
TMPL_ELSE --><!-- TMPL_IF NAME="itemcallnumber" -->(<!-- TMPL_VAR 
NAME="itemcallnumber" -->)<!-- /TMPL_IF --><!-- /TMPL_IF --><br /><!-- 
/TMPL_LOOP --></td><td><!-- TMPL_UNLESS name="norequests" --><a 
href="/cgi-bin/koha/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" 
ESCAPE="URL" -->">Reserves</a><!-- TMPL_ELSE -->Not Reservable<!-- /TMPL_UNLESS 
--></td>
                </tr>
        <!-- /TMPL_LOOP -->
 </table>
Index: koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/search.tmpl
diff -u koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/search.tmpl:1.1 
koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/search.tmpl:1.2
--- koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/search.tmpl:1.1    Tue Jul 
19 20:44:20 2005
+++ koha/koha-tmpl/intranet-tmpl/prog/en/search.marc/search.tmpl        Mon Feb 
13 16:38:29 2006
@@ -1,5 +1,7 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Catalog: Advanced MARC 
Search<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 
+<!-- TMPL_INCLUDE NAME="menus.inc" -->
+<!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
 <h1>Catalog Search</h1>
 <form name="f" method="post" action="search.pl">
 <input type="hidden" name="op" value="do_search" />




reply via email to

[Prev in Thread] Current Thread [Next in Thread]