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"> <TMPL_IF NAME="subjectsearch">
<table border=0 cellspacing=0 cellpadding=2> <table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif> <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> <TMPL_LOOP NAME=SEARCH_RESULTS>
<tr> <tr>
<td><a href=/cgi-bin/koha/opac-searchresults.pl?&subjectitems=<TMPL_VAR NAME=subject ESCAPE=URL>><TMPL_VAR NAME=subject></a></td> <td><a href=/cgi-bin/koha/opac-searchresults.pl?&subjectitems=<TMPL_VAR NAME=subject ESCAPE=URL>><TMPL_VAR NAME=subject></a></td>
</tr> </tr>
</TMPL_LOOP> </TMPL_LOOP>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif><td colspan=4> <tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif>
&nbsp;</td></tr> <td colspan=4>
&nbsp;
</td>
</tr>
</table> </table>
<!-- Else we have a list of items --> <!-- Else we have a list of items -->
@ -65,22 +69,26 @@
<table border=0 cellspacing=0 cellpadding=2 width=90%> <table border=0 cellspacing=0 cellpadding=2 width=90%>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif> <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> </tr>
<!-- Actual Search Results --> <!-- Actual Search Results -->
<TMPL_LOOP NAME="SEARCH_RESULTS"> <TMPL_LOOP NAME="SEARCH_RESULTS">
<tr> <tr>
<td><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-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 <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 align=center> <TMPL_VAR NAME="copyrightdate"> </td> <td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF> align=center> <TMPL_VAR NAME="copyrightdate"> </td>
<td align=center> <TMPL_VAR NAME="itemcount"> </td> <td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF> align=center> <TMPL_VAR NAME="itemcount"> </td>
<td> <TMPL_VAR NAME="location"> </td> <td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF>> <TMPL_VAR NAME="location"> </td>
<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_UNLESS NAME="norequests">
<a href=/cgi-bin/koha/opac-reserve.pl?bib=<TMPL_VAR NAME="biblionumber" ESCAPE=URL>>Request</a>
<TMPL_ELSE> <TMPL_ELSE>
Not Reservable Not Reservable
</TMPL_UNLESS> </TMPL_UNLESS>
@ -89,26 +97,28 @@ Not Reservable
</TMPL_LOOP> </TMPL_LOOP>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif>
<tr bgcolor=#99cccc background=<TMPL_VAR NAME="themelang">/images/background-opac.gif><td colspan=6> <td colspan=6>
<table border=0 cellpadding=0 cellspacing=0 width=100%> <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"> <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> <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_ELSE>
&nbsp; &nbsp;
</TMPL_IF> </TMPL_IF>
</td>
<td align=right>
</td><td align=right>
<TMPL_IF NAME="displaynext"> <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> <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_ELSE>
&nbsp; &nbsp;
</TMPL_IF> </TMPL_IF>
</td></tr> </td>
</tr>
</table> </table>
</td></tr> </td>
</tr>
</table> </table>
</TMPL_IF> </TMPL_IF>
@ -120,7 +130,6 @@ Not Reservable
<TMPL_ELSE> <TMPL_ELSE>
Sorry, there were no results <br> Sorry, there were no results <br>
</TMPL_IF> </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"> <TMPL_INCLUDE NAME="opac-bottom.inc">

View file

@ -60,7 +60,7 @@
<th align=left>Titre</th> <th align=left>Titre</th>
<th align=left>Auteur</th> <th align=left>Auteur</th>
<th>Ann&eacute;e</th> <th>Ann&eacute;e</th>
<th>Nbre d'exemplaires</th> <th>Nbre</th>
<th>Localisation</th> <th>Localisation</th>
<th>Cote</th> <th>Cote</th>
<th>&nbsp</th> <th>&nbsp</th>
@ -72,13 +72,13 @@
<TMPL_LOOP NAME="SEARCH_RESULTS"> <TMPL_LOOP NAME="SEARCH_RESULTS">
<tr> <tr>
<td><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-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 <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 align=center> <TMPL_VAR NAME="copyrightdate"> </td> <td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF> align=center> <TMPL_VAR NAME="copyrightdate"> </td>
<td align=center> <TMPL_VAR NAME="itemcount"> </td> <td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF> align=center> <TMPL_VAR NAME="itemcount"> </td>
<td> <TMPL_VAR NAME="location"> </td> <td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF>><TMPL_VAR NAME="location"></td>
<td><TMPL_VAR name="classification"> <TMPL_VAR name="dewey"></td> <td <TMPL_IF name="even">bgcolor='#ffffcc'</TMPL_IF>><TMPL_VAR name="classification"><TMPL_VAR name="dewey"></td>
<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_UNLESS NAME="norequests"><a href=/cgi-bin/koha/opac-reserve.pl?bib=<TMPL_VAR NAME="biblionumber" ESCAPE=URL>>R&eacute;servation</a>
<TMPL_ELSE> <TMPL_ELSE>
Non r&eacute;servable Non r&eacute;servable