koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/en opac-searchresults.t


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/en opac-searchresults.tmpl,1.11,1.12
Date: Fri, 28 Nov 2003 06:53:18 -0800

Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/default/en
In directory sc8-pr-cvs1:/tmp/cvs-serv26902/koha-tmpl/opac-tmpl/default/en

Modified Files:
        opac-searchresults.tmpl 
Log Message:
html indenting for readability & adding bgcolor for even records

Index: opac-searchresults.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/opac-tmpl/default/en/opac-searchresults.tmpl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** opac-searchresults.tmpl     8 May 2003 12:26:16 -0000       1.11
--- opac-searchresults.tmpl     28 Nov 2003 14:53:16 -0000      1.12
***************
*** 28,34 ****
      <TMPL_LOOP NAME="numbers">
        <TMPL_IF NAME="highlight">
!           <img src=<TMPL_VAR NAME="themelang">/images/numbers/<TMPL_VAR 
NAME=number>-highlight.gif> 
        <TMPL_ELSE>
!           <a href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR 
NAME="startfrom"><TMPL_LOOP NAME="FORMINPUTS">&<TMPL_VAR 
NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>><img src=<TMPL_VAR 
NAME="themelang">/images/numbers/<TMPL_VAR NAME=number>.gif border=0></a> 
        </TMPL_IF>
      </TMPL_LOOP>
--- 28,34 ----
      <TMPL_LOOP NAME="numbers">
        <TMPL_IF NAME="highlight">
!           <img src=<TMPL_VAR NAME="themelang">/images/numbers/<TMPL_VAR 
NAME=number>-highlight.gif>
        <TMPL_ELSE>
!           <a href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR 
NAME="startfrom"><TMPL_LOOP NAME="FORMINPUTS">&<TMPL_VAR 
NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>><img src=<TMPL_VAR 
NAME="themelang">/images/numbers/<TMPL_VAR NAME=number>.gif border=0></a>
        </TMPL_IF>
      </TMPL_LOOP>
***************
*** 46,126 ****
  <TMPL_IF NAME="numrecords">
  
! <!-- If we have a subject table -->
!     <TMPL_IF NAME="subjectsearch">
!     <table border=0 cellspacing=0 cellpadding=2>
!     <tr bgcolor=#99cccc background=<TMPL_VAR 
NAME="themelang">/images/background-opac.gif>
!     <th>Subject</th></tr>
!        <TMPL_LOOP NAME=SEARCH_RESULTS>
!        <tr>
!        <td><a 
href=/cgi-bin/koha/opac-searchresults.pl?&subjectitems=<TMPL_VAR NAME=subject 
ESCAPE=URL>><TMPL_VAR NAME=subject></a></td>
!        </tr>
!        </TMPL_LOOP>
!     <tr bgcolor=#99cccc background=<TMPL_VAR 
NAME="themelang">/images/background-opac.gif><td colspan=4>
!     &nbsp;</td></tr>
!     </table>
!     
! <!-- Else we have a list of items -->    
!     <TMPL_ELSE>
! 
! 
!     <table border=0 cellspacing=0 cellpadding=2 width=90%>
!     <tr bgcolor=#99cccc background=<TMPL_VAR 
NAME="themelang">/images/background-opac.gif>
!           <th align=left>Title</th><th 
align=left>Author</th><th>&copy;</th><th>Item 
Count</th><th>Location</th><th>&nbsp</th>
!     </tr>
! 
! 
! 
! <!-- Actual Search Results -->
! 
!     <TMPL_LOOP NAME="SEARCH_RESULTS">
!       <tr>
!       <td><a href=/cgi-bin/koha/opac-detail.pl?bib=<TMPL_VAR 
NAME="biblionumber" ESCAPE=URL>><TMPL_VAR NAME="title"></a></td>
!       <td><a href=/cgi-bin/koha/opac-searchresults.pl?author=<TMPL_VAR 
NAME="author" ESCAPE=URL>><TMPL_VAR NAME="author"></a></td>
!       <td align=center> <TMPL_VAR NAME="copyrightdate"> </td>
!       <td align=center> <TMPL_VAR NAME="itemcount"> </td>
!       <td> <TMPL_VAR NAME="location"> </td>
!       <td>
! <TMPL_UNLESS NAME="norequests"><a 
href=/cgi-bin/koha/opac-reserve.pl?bib=<TMPL_VAR NAME="biblionumber" 
ESCAPE=URL>>Request</a>
! <TMPL_ELSE>
! Not Reservable
! </TMPL_UNLESS>
! </td> 
!       </tr>
!     </TMPL_LOOP>
! 
  
! 
!     <tr bgcolor=#99cccc background=<TMPL_VAR 
NAME="themelang">/images/background-opac.gif><td colspan=6>
!       <table border=0 cellpadding=0 cellspacing=0 width=100%>
!       <tr bgcolor=#99cccc background=<TMPL_VAR 
NAME="themelang">/images/background-opac.gif><td align=left>
!       <TMPL_IF NAME="displayprev">
!           <a href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR 
NAME="prevstartfrom"><TMPL_LOOP NAME=FORMINPUTS>&<TMPL_VAR 
NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>>Previous 
Records</a>
        <TMPL_ELSE>
-           &nbsp;
-       </TMPL_IF>
  
  
!       </td><td align=right>
!       <TMPL_IF NAME="displaynext">
!           <a href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR 
NAME="nextstartfrom"><TMPL_LOOP NAME=FORMINPUTS>&<TMPL_VAR 
NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>>Next Records</a>
!       <TMPL_ELSE>
!           &nbsp;
        </TMPL_IF>
-       </td></tr>
-       </table>
-     </td></tr>
-     </table>
-     </TMPL_IF>
  
!     <br>
!     Results <TMPL_VAR NAME="startfrom"> through <TMPL_VAR NAME="endat"> of 
<TMPL_VAR NAME="numrecords"> records.
!     <hr>
  
  
  <TMPL_ELSE>
! Sorry, there were no results <br>
  </TMPL_IF>
-     Try another <a href=/cgi-bin/koha/opac-search.pl>search</a>
- 
  
  <TMPL_INCLUDE NAME="opac-bottom.inc">
--- 46,135 ----
  <TMPL_IF NAME="numrecords">
  
!       <!-- If we have a subject table -->
!               <TMPL_IF NAME="subjectsearch">
!               <table border=0 cellspacing=0 cellpadding=2>
!                       <tr bgcolor=#99cccc background=<TMPL_VAR 
NAME="themelang">/images/background-opac.gif>
!                               <th>Subject</th>
!                       </tr>
!                       <TMPL_LOOP NAME=SEARCH_RESULTS>
!                               <tr>
!                                       <td><a 
href=/cgi-bin/koha/opac-searchresults.pl?&subjectitems=<TMPL_VAR NAME=subject 
ESCAPE=URL>><TMPL_VAR NAME=subject></a></td>
!                               </tr>
!                       </TMPL_LOOP>
!                       <tr bgcolor=#99cccc background=<TMPL_VAR 
NAME="themelang">/images/background-opac.gif>
!                               <td colspan=4>
!                                       &nbsp;
!                               </td>
!                       </tr>
!               </table>
  
!       <!-- Else we have a list of items -->
        <TMPL_ELSE>
  
  
!       <table border=0 cellspacing=0 cellpadding=2 width=90%>
!       <tr bgcolor=#99cccc background=<TMPL_VAR 
NAME="themelang">/images/background-opac.gif>
!               <th align=left>Title</th>
!               <th align=left>Author</th>
!               <th>&copy;</th>
!               <th>Item Count</th>
!               <th>Location</th>
!               <th>&nbsp</th>
!       </tr>
! 
! 
!       <!-- Actual Search Results -->
!               <TMPL_LOOP NAME="SEARCH_RESULTS">
!                       <tr>
!                               <td <TMPL_IF 
name="even">bgcolor='#ffffcc'</TMPL_IF>><a 
href=/cgi-bin/koha/opac-detail.pl?bib=<TMPL_VAR NAME="biblionumber" 
ESCAPE=URL>><TMPL_VAR NAME="title"></a></td>
!                               <td <TMPL_IF 
name="even">bgcolor='#ffffcc'</TMPL_IF>><a 
href=/cgi-bin/koha/opac-searchresults.pl?author=<TMPL_VAR NAME="author" 
ESCAPE=URL>><TMPL_VAR NAME="author"></a></td>
!                               <td  <TMPL_IF 
name="even">bgcolor='#ffffcc'</TMPL_IF> align=center> <TMPL_VAR 
NAME="copyrightdate"> </td>
!                               <td <TMPL_IF 
name="even">bgcolor='#ffffcc'</TMPL_IF> align=center> <TMPL_VAR 
NAME="itemcount"> </td>
!                               <td <TMPL_IF 
name="even">bgcolor='#ffffcc'</TMPL_IF>> <TMPL_VAR NAME="location"> </td>
!                               <td <TMPL_IF 
name="even">bgcolor='#ffffcc'</TMPL_IF>>
!                                       <TMPL_UNLESS NAME="norequests">
!                                               <a 
href=/cgi-bin/koha/opac-reserve.pl?bib=<TMPL_VAR NAME="biblionumber" 
ESCAPE=URL>>Request</a>
!                                       <TMPL_ELSE>
!                                               Not Reservable
!                                       </TMPL_UNLESS>
!                               </td>
!                       </tr>
!               </TMPL_LOOP>
! 
! 
!               <tr bgcolor=#99cccc background=<TMPL_VAR 
NAME="themelang">/images/background-opac.gif>
!                       <td colspan=6>
!                       <table border=0 cellpadding=0 cellspacing=0 width=100%>
!                               <tr bgcolor=#99cccc background=<TMPL_VAR 
NAME="themelang">/images/background-opac.gif>
!                                       <td align=left>
!                                               <TMPL_IF NAME="displayprev">
!                                                       <a 
href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR 
NAME="prevstartfrom"><TMPL_LOOP NAME=FORMINPUTS>&<TMPL_VAR 
NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>>Previous 
Records</a>
!                                               <TMPL_ELSE>
!                                                       &nbsp;
!                                               </TMPL_IF>
!                                       </td>
!                                       <td align=right>
!                                               <TMPL_IF NAME="displaynext">
!                                                       <a 
href=/cgi-bin/koha/opac-searchresults.pl?startfrom=<TMPL_VAR 
NAME="nextstartfrom"><TMPL_LOOP NAME=FORMINPUTS>&<TMPL_VAR 
NAME="field">=<TMPL_VAR NAME="value" ESCAPE=URL></TMPL_LOOP>>Next Records</a>
!                                               <TMPL_ELSE>
!                                                       &nbsp;
!                                               </TMPL_IF>
!                                       </td>
!                               </tr>
!                       </table>
!                       </td>
!               </tr>
!               </table>
        </TMPL_IF>
  
!       <br>
!       Results <TMPL_VAR NAME="startfrom"> through <TMPL_VAR NAME="endat"> of 
<TMPL_VAR NAME="numrecords"> records.
!       <hr>
  
  
  <TMPL_ELSE>
!       Sorry, there were no results <br>
  </TMPL_IF>
  
+ Try another <a href=/cgi-bin/koha/opac-search.pl>search</a>
  <TMPL_INCLUDE NAME="opac-bottom.inc">




reply via email to

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