html indenting for readability & adding bgcolor for even records
This commit is contained in:
parent
e64f66dbc2
commit
26984a9774
2 changed files with 89 additions and 80 deletions
|
@ -27,9 +27,9 @@
|
|||
</TMPL_IF>
|
||||
<TMPL_LOOP NAME="numbers">
|
||||
<TMPL_IF NAME="highlight">
|
||||
<img src=<TMPL_VAR NAME="themelang">/images/numbers/<TMPL_VAR NAME=number>-highlight.gif>
|
||||
<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>
|
||||
<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>
|
||||
<TMPL_IF NAME="displaynext">
|
||||
|
@ -45,82 +45,91 @@
|
|||
<!-- Search Results Table -->
|
||||
<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>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<!-- Else we have a list of items -->
|
||||
<TMPL_ELSE>
|
||||
<!-- 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>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<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>©</th><th>Item Count</th><th>Location</th><th> </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>
|
||||
<!-- 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>©</th>
|
||||
<th>Item Count</th>
|
||||
<th>Location</th>
|
||||
<th> </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>
|
||||
|
||||
</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>
|
||||
|
||||
</TMPL_IF>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</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>
|
||||
|
||||
</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>
|
||||
<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>
|
||||
Sorry, there were no results <br>
|
||||
</TMPL_IF>
|
||||
Try another <a href=/cgi-bin/koha/opac-search.pl>search</a>
|
||||
|
||||
|
||||
Try another <a href=/cgi-bin/koha/opac-search.pl>search</a>
|
||||
<TMPL_INCLUDE NAME="opac-bottom.inc">
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</TMPL_IF>
|
||||
<TMPL_LOOP NAME="numbers">
|
||||
<TMPL_IF NAME="highlight">
|
||||
<img src=<TMPL_VAR NAME="themelang">/images/numbers/<TMPL_VAR NAME=number>-highlight.gif>
|
||||
<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>
|
||||
|
@ -60,7 +60,7 @@
|
|||
<th align=left>Titre</th>
|
||||
<th align=left>Auteur</th>
|
||||
<th>Année</th>
|
||||
<th>Nbre d'exemplaires</th>
|
||||
<th>Nbre</th>
|
||||
<th>Localisation</th>
|
||||
<th>Cote</th>
|
||||
<th> </th>
|
||||
|
@ -72,13 +72,13 @@
|
|||
|
||||
<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_VAR name="classification"> <TMPL_VAR name="dewey"></td>
|
||||
<td>
|
||||
<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_VAR name="classification"><TMPL_VAR name="dewey"></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>>Réservation</a>
|
||||
<TMPL_ELSE>
|
||||
Non réservable
|
||||
|
|
Loading…
Reference in a new issue