From 68c37861c0f4ee6b3b985ee69f87e58b454fa6df Mon Sep 17 00:00:00 2001
From: Martin Renvoize "+_escape_str(row.biblio.title)+"";
+ result = " "+escape_str(row.biblio.title)+"";
if ( row.biblio.author != null )
- result += _(" by ") + _escape_str(row.biblio.author);
+ result += _(" by ") + escape_str(row.biblio.author);
if ( row.biblio.isbn != null )
- result += " – " + _escape_str(row.biblio.isbn);
+ result += " – " + escape_str(row.biblio.isbn);
[% IF Koha.Preference('marcflavour')=='UNIMARC' %]
if ( row.biblio.ean != null )
- result += " – EAN:" + _escape_str(row.biblio.ean);
+ result += " – EAN:" + escape_str(row.biblio.ean);
[% END %]
if ( row.biblio.publisher != null ) {
- result += " '
+ _("Internal note: ")
- + '' + _escape_str(internal_note)
+ + '' + escape_str(internal_note)
+ ' [' + _("Change internal note") + '] '
+ _("Vendor note: ")
- + '' + _escape_str(vendor_note) + '
" + _("Publisher: ") + _escape_str(row.biblio.publisher);
+ result += "
" + _("Publisher: ") + escape_str(row.biblio.publisher);
if ( row.biblio.publication_year != null ) {
- result += ", " + _escape_str(row.biblio.publication_year);
+ result += ", " + escape_str(row.biblio.publication_year);
}
else if ( row.biblio.copyright_date != null ) {
- result += _escape_str(row.biblio.copyright_date);
+ result += escape_str(row.biblio.copyright_date);
}
}
var suggestions = row.biblio.suggestions;
@@ -460,10 +453,10 @@
var suggester = suggestion.suggester;
var suggested_by = [];
if ( suggester.surname != null ) {
- suggested_by.push(_escape_str(suggester.surname));
+ suggested_by.push(escape_str(suggester.surname));
}
if ( suggester.firstname != null ) {
- suggested_by.push(_escape_str(suggester.firstname));
+ suggested_by.push(escape_str(suggester.firstname));
}
result += "
" + _("Suggested by: ") +
@@ -471,7 +464,7 @@
+ encodeURIComponent(suggestion.suggestionid)
+ '&op=show">'
+ suggested_by.join(", ")
- + " (#" + _escape_str(suggestions[0].suggestionid) + ")"; // FIXME: could be changed if we allow matching multiple suggestions
+ + " (#" + escape_str(suggestions[0].suggestionid) + ")"; // FIXME: could be changed if we allow matching multiple suggestions
}
}
result += '