Bug 7665 follow-up s/tabs/4 spaces/

This patch had tabs. I took care of them, and also too care of all tabs in the template
This commit is contained in:
Paul Poulain 2012-03-13 15:11:16 +01:00
parent bb4c9592e7
commit ba1fefe5fe

View file

@ -1,7 +1,7 @@
[% INCLUDE 'doc-head-open.inc' %] [% INCLUDE 'doc-head-open.inc' %]
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog ›
[% IF ( searchdesc ) %] [% IF ( searchdesc ) %]
Results of Search [% IF ( query_desc ) %]for '[% query_desc | html%]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %] Results of Search [% IF ( query_desc ) %]for '[% query_desc | html%]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]
[% ELSE %] [% ELSE %]
You did not specify any search criteria. You did not specify any search criteria.
[% END %] [% END %]
@ -88,95 +88,95 @@ function highlightOff() {
function highlightOn() { function highlightOn() {
var x; var x;
for (x in q_array) { for (x in q_array) {
$(".title").highlight(q_array[x]); $(".title").highlight(q_array[x]);
$(".author").highlight(q_array[x]); $(".author").highlight(q_array[x]);
$(".results_summary").highlight(q_array[x]); $(".results_summary").highlight(q_array[x]);
} }
$(".highlight_toggle").toggle(); $(".highlight_toggle").toggle();
} }
[% END %] [% END %]
$(document).ready(function(){ $(document).ready(function(){
[% IF ( opacbookbag ) %]$(".addtocart").show();[% END %] [% IF ( opacbookbag ) %]$(".addtocart").show();[% END %]
[% IF ( opacbookbag ) %] [% IF ( opacbookbag ) %]
[% IF ( virtualshelves ) %] [% IF ( virtualshelves ) %]
var param1 = "<label for=\"addto\">"+_("Add to: ")+"<\/label><select name=\"addto\" id=\"addto\"><option value=\"\"><\/option>"; var param1 = "<label for=\"addto\">"+_("Add to: ")+"<\/label><select name=\"addto\" id=\"addto\"><option value=\"\"><\/option>";
[% IF ( opacbookbag ) %] param1 += "<option value=\"addtocart\">"+_("Cart")+"<\/option>"; [% IF ( opacbookbag ) %] param1 += "<option value=\"addtocart\">"+_("Cart")+"<\/option>";
[% END %][% IF ( virtualshelves ) %][% IF ( loggedinusername ) %][% IF ( addbarshelves ) %] [% END %][% IF ( virtualshelves ) %][% IF ( loggedinusername ) %][% IF ( addbarshelves ) %]
param1 += "<optgroup label=\""+_("Your Lists:")+"\">";[% FOREACH addbarshelvesloo IN addbarshelvesloop %] param1 += "<optgroup label=\""+_("Your Lists:")+"\">";[% FOREACH addbarshelvesloo IN addbarshelvesloop %]
param1 += "<option id=\"s[% addbarshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addbarshelvesloo.shelfname |html %]<\/option>";[% END %] param1 += "<option id=\"s[% addbarshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addbarshelvesloo.shelfname |html %]<\/option>";[% END %]
[% IF ( bartotal ) %]param1 += "<option value=\"morelists\">[ "+_("More lists")+" ]<\/option>";[% END %] [% IF ( bartotal ) %]param1 += "<option value=\"morelists\">[ "+_("More lists")+" ]<\/option>";[% END %]
param1 += "<\/optgroup>";[% END %] param1 += "<\/optgroup>";[% END %]
[% IF ( addpubshelves ) %]param1 += "<optgroup label=\""+_("Public Lists:")+"\">"[% FOREACH addpubshelvesloo IN addpubshelvesloop %]+"<option id=\"s[% addpubshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addpubshelvesloo.shelfname |html %]<\/option>"[% END %];[% END %] [% IF ( addpubshelves ) %]param1 += "<optgroup label=\""+_("Public Lists:")+"\">"[% FOREACH addpubshelvesloo IN addpubshelvesloop %]+"<option id=\"s[% addpubshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addpubshelvesloo.shelfname |html %]<\/option>"[% END %];[% END %]
param1 += "<\/optgroup>"; param1 += "<\/optgroup>";
param1 += "<option value=\"newlist\">[ "+_("New List")+" ]<\/option>"; param1 += "<option value=\"newlist\">[ "+_("New List")+" ]<\/option>";
[% END %] [% END %]
[% END %] [% END %]
param1 += "<\/select> <input type=\"submit\" class=\"submit\" value=\""+_("Save")+"\" />"; param1 += "<\/select> <input type=\"submit\" class=\"submit\" value=\""+_("Save")+"\" />";
[% ELSE %] [% ELSE %]
var param1 = "<a id=\"addto\" class=\"addtocart\" href=\"#\">Add to Cart<\/a>"; var param1 = "<a id=\"addto\" class=\"addtocart\" href=\"#\">Add to Cart<\/a>";
[% END %] [% END %]
[% ELSE %] [% ELSE %]
var param1 = "<label for=\"addto\">"+_("Add to list: ")+"<\/label><select name=\"addto\" id=\"addto\"><option value=\"\"><\/option>"; var param1 = "<label for=\"addto\">"+_("Add to list: ")+"<\/label><select name=\"addto\" id=\"addto\"><option value=\"\"><\/option>";
[% IF ( virtualshelves ) %][% IF ( loggedinusername ) %][% IF ( addbarshelves ) %] [% IF ( virtualshelves ) %][% IF ( loggedinusername ) %][% IF ( addbarshelves ) %]
param1 += "<optgroup label=\""+_("Your Lists:")+"\">";[% FOREACH addbarshelvesloo IN addbarshelvesloop %] param1 += "<optgroup label=\""+_("Your Lists:")+"\">";[% FOREACH addbarshelvesloo IN addbarshelvesloop %]
param1 += "<option id=\"s[% addbarshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addbarshelvesloo.shelfname |html %]<\/option>";[% END %] param1 += "<option id=\"s[% addbarshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addbarshelvesloo.shelfname |html %]<\/option>";[% END %]
param1 += "<\/optgroup>";[% END %] param1 += "<\/optgroup>";[% END %]
[% IF ( addpubshelves ) %]param1 += "<optgroup label=\""+_("Public Lists:")+"\">"[% FOREACH addpubshelvesloo IN addpubshelvesloop %]+"<option id=\"s[% addpubshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addpubshelvesloo.shelfname |html %]<\/option>"[% END %][% END %] [% IF ( addpubshelves ) %]param1 += "<optgroup label=\""+_("Public Lists:")+"\">"[% FOREACH addpubshelvesloo IN addpubshelvesloop %]+"<option id=\"s[% addpubshelvesloo.shelfnumber %]\" value=\"addtolist\">[% addpubshelvesloo.shelfname |html %]<\/option>"[% END %][% END %]
param1 +="<\/optgroup><option value=\"newlist\">[ "+_("New List")+" ]<\/option>" param1 +="<\/optgroup><option value=\"newlist\">[ "+_("New List")+" ]<\/option>"
[% END %] [% END %]
[% END %] [% END %]
param1 += "<\/select> <input type=\"submit\" class=\"submit\" value=\""+_("Save")+"\" />"; param1 += "<\/select> <input type=\"submit\" class=\"submit\" value=\""+_("Save")+"\" />";
[% END %] [% END %]
$('#sortsubmit').hide(); $('#sortsubmit').hide();
$('#sort_by').change(function() { $('#sort_by').change(function() {
$('#bookbag_form').submit(); $('#bookbag_form').submit();
}); });
$("span.clearall").html("<a id=\"CheckNone\" href=\"#\">"+_("Clear All")+"<\/a>"); $("span.clearall").html("<a id=\"CheckNone\" href=\"#\">"+_("Clear All")+"<\/a>");
$("span.checkall").html("<a id=\"CheckAll\" href=\"#\">"+_("Select All")+"<\/a>"); $("span.checkall").html("<a id=\"CheckAll\" href=\"#\">"+_("Select All")+"<\/a>");
[% IF ( opacbookbag ) %]$("span.addto").html(param1);[% ELSE %][% IF ( virtualshelves ) %][% IF ( loggedinusername ) %]$("span.addto").html(param1);[% END %][% END %][% END %] [% IF ( opacbookbag ) %]$("span.addto").html(param1);[% ELSE %][% IF ( virtualshelves ) %][% IF ( loggedinusername ) %]$("span.addto").html(param1);[% END %][% END %][% END %]
[% IF ( opacbookbag ) %] [% IF ( opacbookbag ) %]
[% IF ( virtualshelves ) %] [% IF ( virtualshelves ) %]
$("#addto").change(function(){ $("#addto").change(function(){
cartList(); cartList();
}); });
$(".addto").find("input:submit").click(function(){ $(".addto").find("input:submit").click(function(){
cartList(); cartList();
return false; return false;
}); });
[% ELSE %] [% ELSE %]
$("#addto").click(function(){ $("#addto").click(function(){
cartList(); cartList();
return false; return false;
}); });
[% END %] [% END %]
[% END %] [% END %]
[% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %]$("#tagsel_span").html("<input id=\"tagsel_tag\" class=\"submit\" type=\"submit\" value=\"Tag\"/>");[% END %][% END %] [% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %]$("#tagsel_span").html("<input id=\"tagsel_tag\" class=\"submit\" type=\"submit\" value=\"Tag\"/>");[% END %][% END %]
function cartList(){ function cartList(){
if($("#addto").find("option:selected").attr("value") == "addtolist"){ if($("#addto").find("option:selected").attr("value") == "addtolist"){
var shelfnumber = $("#addto").find("option:selected").attr("id").replace("s",""); var shelfnumber = $("#addto").find("option:selected").attr("id").replace("s","");
if (vShelfAdd()) { if (vShelfAdd()) {
Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?selectedshelf='+shelfnumber+'&' + vShelfAdd()); Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?selectedshelf='+shelfnumber+'&' + vShelfAdd());
} }
return false; return false;
} else if($("#addto").find("option:selected").attr("value") == "newlist"){ } else if($("#addto").find("option:selected").attr("value") == "newlist"){
[% IF ( loggedinusername ) %]if (vShelfAdd()) { [% IF ( loggedinusername ) %]if (vShelfAdd()) {
Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?newshelf=1&' + vShelfAdd()); Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?newshelf=1&' + vShelfAdd());
}[% ELSE %] alert(_('You must be logged in to create or add to Lists')); [% END %] }[% ELSE %] alert(_('You must be logged in to create or add to Lists')); [% END %]
return false; return false;
} else if($("#addto").find("option:selected").attr("value") == "morelists"){ } else if($("#addto").find("option:selected").attr("value") == "morelists"){
[% IF ( loggedinusername ) %]if (vShelfAdd()) { [% IF ( loggedinusername ) %]if (vShelfAdd()) {
Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?' + vShelfAdd()); Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?' + vShelfAdd());
}[% ELSE %] alert(_('You must be logged in to create or add to Lists')); [% END %] }[% ELSE %] alert(_('You must be logged in to create or add to Lists')); [% END %]
return false; return false;
} }
if($("#addto").find("option:selected").attr("value") == "addtocart" || $("#addto").attr("class") == "addtocart"){ if($("#addto").find("option:selected").attr("value") == "addtocart" || $("#addto").attr("class") == "addtocart"){
addMultiple(); addMultiple();
return false; return false;
} }
} }
$("#CheckAll").click(function(){ $("#CheckAll").click(function(){
$("#bookbag_form").checkCheckboxes(); $("#bookbag_form").checkCheckboxes();
return false; return false;
@ -189,10 +189,10 @@ $(document).ready(function(){
[% IF ( opacuserlogin ) %] [% IF ( opacuserlogin ) %]
[% IF ( DisplayMultiPlaceHold ) %] [% IF ( DisplayMultiPlaceHold ) %]
$("#placehold").html("<input class=\"submit\" type=\"submit\" value=\""+_("Place Hold")+"\"/>"); $("#placehold").html("<input class=\"submit\" type=\"submit\" value=\""+_("Place Hold")+"\"/>");
$("#placehold").find("input:submit").click(function(){ $("#placehold").find("input:submit").click(function(){
holdMultiple(); holdMultiple();
return false; return false;
}); });
[% END %] [% END %]
[% END %] [% END %]
[% END %] [% END %]
@ -229,24 +229,24 @@ $(document).ready(function(){
[% END %] [% END %]
[% END %][% END %] [% END %][% END %]
[% IF OpenLibraryCovers %]KOHA.OpenLibrary.GetCoverFromIsbn();[% END %] [% IF OpenLibraryCovers %]KOHA.OpenLibrary.GetCoverFromIsbn();[% END %]
[% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %] [% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %]
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]
}); });
//]]> //]]>
</script> </script>
</head> </head>
<body id="results"> <body id="results">
[% IF ( opacfacets ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %] [% IF ( opacfacets ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
<div id="bd"> <div id="bd">
[% INCLUDE 'masthead.inc' %] [% INCLUDE 'masthead.inc' %]
<div id="yui-main"> <div id="yui-main">
<div class="yui-b"> <div class="yui-b">
<div id="userresults" class="container"> <div id="userresults" class="container">
[% IF ( koha_spsuggest ) %] [% IF ( koha_spsuggest ) %]
Did you mean: Did you mean:
<ul style="list-style: none;"> <ul style="list-style: none;">
[% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %] [% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %]
<li> <li>
@ -258,7 +258,7 @@ $(document).ready(function(){
[% IF ( query_error ) %] [% IF ( query_error ) %]
<div class="dialog alert"> <div class="dialog alert">
<h4>Error:</h4> <h4>Error:</h4>
[% query_error %] [% query_error %]
</div> </div>
[% END %] [% END %]
@ -305,11 +305,11 @@ $(document).ready(function(){
<th>Count</th> <th>Count</th>
</tr> </tr>
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
[% IF ( SEARCH_RESULT.even ) %] [% IF ( SEARCH_RESULT.even ) %]
<tr class="highlight"> <tr class="highlight">
[% ELSE %] [% ELSE %]
<tr> <tr>
[% END %] [% END %]
<td> <td>
<a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title |url %]&quot;">[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %]</a> <a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title |url %]&quot;">[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %]</a>
</td> </td>
@ -323,35 +323,35 @@ $(document).ready(function(){
[% ELSE %] [% ELSE %]
<div class="searchresults"> <div class="searchresults">
<form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form"> <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form">
[% IF ( searchdesc ) %] [% IF ( searchdesc ) %]
[% FOREACH QUERY_INPUT IN QUERY_INPUTS %] [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
<input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/> <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
[% END %] [% END %]
[% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %] [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
<input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/> <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
[% END %] [% END %]
[% END %] [% END %]
<!-- TABLE RESULTS START --> <!-- TABLE RESULTS START -->
<table> <table>
<tr><td colspan="5" class="resultscontrol"> <tr><td colspan="5" class="resultscontrol">
<div class="resort"> <select id="sort_by" name="sort_by"> [% INCLUDE 'resort_form.inc' %] </select> <input type="submit" class="submit clearfix" id="sortsubmit" value="Go" /></div> <div class="resort"> <select id="sort_by" name="sort_by"> [% INCLUDE 'resort_form.inc' %] </select> <input type="submit" class="submit clearfix" id="sortsubmit" value="Go" /></div>
<div class="cartlist"> <div class="cartlist">
<!-- checkall, clearall are now needed for placehold --> <!-- checkall, clearall are now needed for placehold -->
<span class="checkall"></span> <span class="checkall"></span>
<span class="clearall"></span> <span class="clearall"></span>
[% IF ( OpacHighlightedWords ) %] [% IF ( OpacHighlightedWords ) %]
<a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a> <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
<a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a> <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
[% END %] [% END %]
[% IF ( opacbookbag || virtualshelves ) %] [% IF ( opacbookbag || virtualshelves ) %]
<span class="addto"></span> <span class="addto"></span>
[% END %] [% END %]
<span id="placehold"><!-- input class="submit" type="submit" value="Place Hold"/ --></span> <span id="placehold"><!-- input class="submit" type="submit" value="Place Hold"/ --></span>
<div id="holdDetails"></div> <div id="holdDetails"></div>
[% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %] [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %]
[% IF ( TagsInputOnList ) %] [% IF ( TagsInputOnList ) %]
<span id="tagsel_span"></span> <span id="tagsel_span"></span>
[% IF ( loggedinusername ) %] [% IF ( loggedinusername ) %]
@ -383,18 +383,18 @@ $(document).ready(function(){
[% IF ( RequestOnOpac ) %][% UNLESS ( SEARCH_RESULT.norequests ) %][% IF ( opacuserlogin ) %]<input type="checkbox" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>[% END %][% END %][% END %][% END %][% END %]</td> [% IF ( RequestOnOpac ) %][% UNLESS ( SEARCH_RESULT.norequests ) %][% IF ( opacuserlogin ) %]<input type="checkbox" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>[% END %][% END %][% END %][% END %][% END %]</td>
<td class="select selectcol">[% UNLESS suppress_result_number %][% SEARCH_RESULT.result_number %].[% END %]</td> <td class="select selectcol">[% UNLESS suppress_result_number %][% SEARCH_RESULT.result_number %].[% END %]</td>
[% UNLESS ( item_level_itypes ) %] [% UNLESS ( item_level_itypes ) %]
[% UNLESS ( noItemTypeImages ) %] [% UNLESS ( noItemTypeImages ) %]
<td class="itypecol"> <td class="itypecol">
[% IF ( SEARCH_RESULT.imageurl ) %] [% IF ( SEARCH_RESULT.imageurl ) %]
<img src="[% SEARCH_RESULT.imageurl %]" title="[% SEARCH_RESULT.description %]" alt="[% SEARCH_RESULT.description %]" /> <img src="[% SEARCH_RESULT.imageurl %]" title="[% SEARCH_RESULT.description %]" alt="[% SEARCH_RESULT.description %]" />
[% END %] [% END %]
</td> </td>
[% END %] [% END %]
[% END %] [% END %]
[% IF ( SEARCH_RESULT.AuthorisedValueImages ) %] [% IF ( SEARCH_RESULT.AuthorisedValueImages ) %]
<td class="itypecol"> <td class="itypecol">
[% FOREACH authorised_value_image IN SEARCH_RESULT.authorised_value_images %] [% FOREACH authorised_value_image IN SEARCH_RESULT.authorised_value_images %]
<img src="[% authorised_value_image.imageurl %]" alt="[% authorised_value_image.label %]" title="[% authorised_value_image.label %]"> <img src="[% authorised_value_image.imageurl %]" alt="[% authorised_value_image.label %]" title="[% authorised_value_image.label %]">
@ -402,27 +402,27 @@ $(document).ready(function(){
</td> </td>
[% END %] [% END %]
<td> <td>
[% IF ( COinSinOPACResults ) %] [% IF ( COinSinOPACResults ) %]
[% IF ( SEARCH_RESULT.coins ) %] [% IF ( SEARCH_RESULT.coins ) %]
<!-- COinS / Openurl --><span class="Z3988" title="[% SEARCH_RESULT.coins %]"></span> <!-- COinS / Openurl --><span class="Z3988" title="[% SEARCH_RESULT.coins %]"></span>
[% END %] [% END %]
[% END %] [% END %]
[% IF ( OPACXSLTResultsDisplay ) %] [% IF ( OPACXSLTResultsDisplay ) %]
[% SEARCH_RESULT.XSLTResultsRecord %] [% SEARCH_RESULT.XSLTResultsRecord %]
[% ELSE %] [% ELSE %]
[% IF ( BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title"> [% IF ( BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
[% ELSE %] [% ELSE %]
[% IF ( BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title"> [% IF ( BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
[% ELSE %]<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title"> [% ELSE %]<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]" title="View details for this title">
[% END %] [% END %]
[% END %] [% END %]
[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield|html %][% END %]</a> [% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield|html %][% END %]</a>
[% IF ( SEARCH_RESULT.author ) %]by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% SEARCH_RESULT.author |url %]" title="Search for works by this author" class="author">[% SEARCH_RESULT.author %]</a> [% IF ( SEARCH_RESULT.author ) %]by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% SEARCH_RESULT.author |url %]" title="Search for works by this author" class="author">[% SEARCH_RESULT.author %]</a>
[% ELSE %]&nbsp; [% ELSE %]&nbsp;
[% END %] [% END %]
<span class="results_summary"><span class="label">Publication:</span> <span class="results_summary"><span class="label">Publication:</span>
[% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode|html %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %] [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode|html %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %]
[% ELSE %][% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %][% END %] [% ELSE %][% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %][% END %]
[% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %] [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %]
@ -432,12 +432,12 @@ $(document).ready(function(){
</span> </span>
[% IF ( SEARCH_RESULT.summary ) %] [% IF ( SEARCH_RESULT.summary ) %]
<span class="result_summary"> <span class="result_summary">
[% SEARCH_RESULT.summary %] [% SEARCH_RESULT.summary %]
</span> </span>
[% END %] [% END %]
[% IF ( SEARCH_RESULT.copyrightdate ) %]<span class="results_summary"><span class="label">Date:</span>[% SEARCH_RESULT.copyrightdate %]</span>[% END %] [% IF ( SEARCH_RESULT.copyrightdate ) %]<span class="results_summary"><span class="label">Date:</span>[% SEARCH_RESULT.copyrightdate %]</span>[% END %]
<span class="results_summary"> <span class="results_summary">
<span class="label">Availability:</span> <span class="label">Availability:</span>
[% IF ( SEARCH_RESULT.available_items_loop.0 ) %] [% IF ( SEARCH_RESULT.available_items_loop.0 ) %]
<span class="available"><strong>Copies available:</strong> <span class="available"><strong>Copies available:</strong>
@ -450,7 +450,7 @@ $(document).ready(function(){
[% END %] [% END %]
[% IF ( OPACItemsResultsDisplay ) %] [% IF ( OPACItemsResultsDisplay ) %]
[% UNLESS ( singleBranchMode ) %][% available_items_loo.location %][% END %] [% UNLESS ( singleBranchMode ) %][% available_items_loo.location %][% END %]
[% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/opac-search.pl?q=callnum:[% available_items_loo.itemcallnumber |url %]">[% available_items_loo.itemcallnumber %]</a>][% END %] [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/opac-search.pl?q=callnum:[% available_items_loo.itemcallnumber |url %]">[% available_items_loo.itemcallnumber %]</a>][% END %]
[% END %] [% END %]
([% available_items_loo.count %]), ([% available_items_loo.count %]),
@ -477,9 +477,9 @@ $(document).ready(function(){
</span> </span>
</span> </span>
[% END %] [% END %]
[% IF ( LibraryThingForLibrariesID ) %]<div class="ltfl_reviews"></div>[% END %] [% IF ( LibraryThingForLibrariesID ) %]<div class="ltfl_reviews"></div>[% END %]
[% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %] [% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %]
[% IF ( TagsShowOnList ) %] [% IF ( TagsShowOnList ) %]
[% IF ( SEARCH_RESULT.TagLoop.size ) %] [% IF ( SEARCH_RESULT.TagLoop.size ) %]
<div class="results_summary"><span class="label">Tags:</span> <div class="results_summary"><span class="label">Tags:</span>
@ -489,7 +489,7 @@ $(document).ready(function(){
[% END %] [% END %]
[% IF ( TagsInputOnList ) %] [% IF ( TagsInputOnList ) %]
[% IF ( loggedinusername ) %] [% IF ( loggedinusername ) %]
<span class="label">New tag:</span> <span class="label">New tag:</span>
<input name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" maxlength="100" /> <input name="newtag[% SEARCH_RESULT.biblionumber %]" id="newtag[% SEARCH_RESULT.biblionumber %]" maxlength="100" />
<input name="tagbutton" class="tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" /> <input name="tagbutton" class="tagbutton" title="[% SEARCH_RESULT.biblionumber %]" type="submit" value="Add" />
<span id="newtag[% SEARCH_RESULT.biblionumber %]_status" class="tagstatus" style="display:none;"> <span id="newtag[% SEARCH_RESULT.biblionumber %]_status" class="tagstatus" style="display:none;">
@ -502,26 +502,26 @@ $(document).ready(function(){
</div>[% END %] </div>[% END %]
[% END %] [% END %]
[% END %][% END %] [% END %][% END %]
[% IF ( SEARCH_RESULT.searchhighlightblob ) %]<span class="results_summary"><span class="label">Match:</span> [% SEARCH_RESULT.searchhighlightblob %]</span>[% END %] [% IF ( SEARCH_RESULT.searchhighlightblob ) %]<span class="results_summary"><span class="label">Match:</span> [% SEARCH_RESULT.searchhighlightblob %]</span>[% END %]
<span class="results_summary actions"><span class="label">Actions:</span> <span class="results_summary actions"><span class="label">Actions:</span>
[% IF ( RequestOnOpac ) %] [% IF ( RequestOnOpac ) %]
[% UNLESS ( SEARCH_RESULT.norequests ) %] [% UNLESS ( SEARCH_RESULT.norequests ) %]
[% IF ( opacuserlogin ) %] [% IF ( opacuserlogin ) %]
[% IF ( AllowOnShelfHolds ) %] [% IF ( AllowOnShelfHolds ) %]
<a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place Hold</a><!-- add back when available 0 holds in queue--> <a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place Hold</a><!-- add back when available 0 holds in queue-->
[% ELSE %] [% ELSE %]
[% IF ( SEARCH_RESULT.itemsissued ) %] [% IF ( SEARCH_RESULT.itemsissued ) %]
<a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place Hold</a><!-- add back when available 0 holds in queue--> <a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place Hold</a><!-- add back when available 0 holds in queue-->
[% END %] [% END %]
[% END %] [% END %]
[% END %] [% END %]
[% END %] [% END %]
[% END %] [% END %]
[% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( virtualshelves ) %]<a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]'); return false;">Save to Lists</a> [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( virtualshelves ) %]<a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]'); return false;">Save to Lists</a>
[% END %][% END %][% END %] [% END %][% END %][% END %]
[% IF ( opacbookbag ) %] [% IF ( opacbookbag ) %]
[% IF ( SEARCH_RESULT.incart ) %] [% IF ( SEARCH_RESULT.incart ) %]
<a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">In your Cart</a> <a class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">(remove)</a> <a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">In your Cart</a> <a class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">(remove)</a>
@ -529,31 +529,31 @@ $(document).ready(function(){
<a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">Add to Cart</a> <a style="display:none;" class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">(remove)</a> <a class="addtocart cart[% SEARCH_RESULT.biblionumber %]" href="#" onclick="addRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">Add to Cart</a> <a style="display:none;" class="cartRemove cartR[% SEARCH_RESULT.biblionumber %]" href="#" onclick="delSingleRecord('[% SEARCH_RESULT.biblionumber %]'); return false;">(remove)</a>
[% END %] [% END %]
[% END %] [% END %]
</span> </span>
</td><td> </td><td>
<a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"> <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">
[% IF ( OPACLocalCoverImages ) %]<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>[% END %] [% IF ( OPACLocalCoverImages ) %]<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>[% END %]
[% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %][% END %] [% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %][% END %]
[% IF ( SyndeticsEnabled ) %] [% IF ( SyndeticsEnabled ) %]
[% IF ( SyndeticsCoverImages ) %] [% IF ( SyndeticsCoverImages ) %]
[% IF SEARCH_RESULT.normalized_isbn %] [% IF SEARCH_RESULT.normalized_isbn %]
[% IF ( using_https ) %] [% IF ( using_https ) %]
<img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="thumbnail" /> <img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="thumbnail" />
[% ELSE %] [% ELSE %]
<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="thumbnail" /> <img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %]" alt="" class="thumbnail" />
[% END %] [% END %]
[% ELSE %] [% ELSE %]
<span class="no-image">No cover image available</span> <span class="no-image">No cover image available</span>
[% END %] [% END %]
[% END %] [% END %]
[% END %] [% END %]
[% IF ( GoogleJackets ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<div style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %] [% IF ( GoogleJackets ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<div style="block" title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="gbs-thumbnail[% loop.count %]"></div>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %]
[% IF OpenLibraryCovers %][% IF SEARCH_RESULT.normalized_isbn %]<div style="block" title="[% SEARCH_RESULT.biblionumber %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></div>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %] [% IF OpenLibraryCovers %][% IF SEARCH_RESULT.normalized_isbn %]<div style="block" title="[% SEARCH_RESULT.biblionumber %]" class="[% SEARCH_RESULT.normalized_isbn %]" id="openlibrary-thumbnail[% loop.count %]"></div>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %]
</a> </a>
[% IF ( BakerTaylorEnabled ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<a href="https://[% BakerTaylorBookstoreURL |html %][% SEARCH_RESULT.normalized_isbn %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% SEARCH_RESULT.normalized_isbn %]" /></a>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %] [% IF ( BakerTaylorEnabled ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<a href="https://[% BakerTaylorBookstoreURL |html %][% SEARCH_RESULT.normalized_isbn %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |html %][% SEARCH_RESULT.normalized_isbn %]" /></a>[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %]
</td> </td>
</tr> </tr>
[% END %] [% END %]
</table> </table>
@ -564,12 +564,12 @@ $(document).ready(function(){
</form> </form>
</div> </div>
[% END %] [% END %]
[% INCLUDE 'page-numbers.inc' %] [% INCLUDE 'page-numbers.inc' %]
[% ELSE %] [% ELSE %]
[% END %] [% END %]
[% IF ( suggestion ) %] [% IF ( suggestion ) %]
[% IF ( AnonSuggestions ) %]<div class="suggestion">Not finding what you're looking for?<br /> Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></div>[% ELSE %][% IF ( loggedinusername ) %]<div class="suggestion">Not finding what you're looking for?<br /> Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></div>[% END %][% END %] [% IF ( AnonSuggestions ) %]<div class="suggestion">Not finding what you're looking for?<br /> Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></div>[% ELSE %][% IF ( loggedinusername ) %]<div class="suggestion">Not finding what you're looking for?<br /> Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></div>[% END %][% END %]
[% END %] [% END %]
</div> </div>
@ -578,7 +578,7 @@ $(document).ready(function(){
[% IF ( opacfacets ) %] [% IF ( opacfacets ) %]
<div class="yui-b"><div id="facetcontainer" class="container"> <div class="yui-b"><div id="facetcontainer" class="container">
<!-- FACETS START --> <!-- FACETS START -->
[% INCLUDE 'opac-facets.inc' %] [% INCLUDE 'opac-facets.inc' %]
<!-- FACETS END --> <!-- FACETS END -->
</div></div> </div></div>
[% END %] [% END %]