html indenting for readability & adding bgcolor for even records

This commit is contained in:
tipaul 2003-11-28 14:53:16 +00:00
parent e64f66dbc2
commit 26984a9774
2 changed files with 89 additions and 80 deletions

View file

@ -49,14 +49,18 @@
<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>
<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>
<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 -->
@ -65,22 +69,26 @@
<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>
<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>
<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>
@ -89,26 +97,28 @@ Not Reservable
</TMPL_LOOP>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif><td colspan=6>
<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>
<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>
</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>
</td>
</tr>
</table>
</td></tr>
</td>
</tr>
</table>
</TMPL_IF>
@ -120,7 +130,6 @@ Not Reservable
<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">

View file

@ -60,7 +60,7 @@
<th align=left>Titre</th>
<th align=left>Auteur</th>
<th>Ann&eacute;e</th>
<th>Nbre d'exemplaires</th>
<th>Nbre</th>
<th>Localisation</th>
<th>Cote</th>
<th>&nbsp</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&eacute;servation</a>
<TMPL_ELSE>
Non r&eacute;servable