Lines 105-111
Link Here
|
105 |
+ ( item.zipcode ? item.zipcode.escapeHtml() : "" ) + " " |
105 |
+ ( item.zipcode ? item.zipcode.escapeHtml() : "" ) + " " |
106 |
+ ( item.country ? item.country.escapeHtml() : "" ) |
106 |
+ ( item.country ? item.country.escapeHtml() : "" ) |
107 |
+ "</small></a>"; |
107 |
+ "</small></a>"; |
108 |
itemString += " <span class=\"ac-library\">" + item.branchname + "</span> " + "</a>"; |
108 |
[% UNLESS ( singleBranchMode ) %] |
|
|
109 |
itemString += " <span class=\"ac-library\">" + item.branchname + "</span> " + "</a>"; |
110 |
[% END %] |
109 |
return $( "<li></li>" ) |
111 |
return $( "<li></li>" ) |
110 |
.addClass( loggedInClass ) |
112 |
.addClass( loggedInClass ) |
111 |
.data( "ui-autocomplete-item", item ) |
113 |
.data( "ui-autocomplete-item", item ) |
Lines 156-164
Link Here
|
156 |
+ ( item.city ? item.city.escapeHtml() : "" ) + " " |
158 |
+ ( item.city ? item.city.escapeHtml() : "" ) + " " |
157 |
+ ( item.zipcode ? item.zipcode.escapeHtml() : "" ) + " " |
159 |
+ ( item.zipcode ? item.zipcode.escapeHtml() : "" ) + " " |
158 |
+ ( item.country ? item.country.escapeHtml() : "" ) + " " |
160 |
+ ( item.country ? item.country.escapeHtml() : "" ) + " " |
159 |
+ "<span class=\"ac-library\">" |
161 |
[% UNLESS ( singleBranchMode ) %] |
160 |
+ ( item.branchname ? item.branchname.escapeHtml() : "" ) |
162 |
+ "<span class=\"ac-library\">" |
161 |
+ "</span>" |
163 |
+ ( item.branchname ? item.branchname.escapeHtml() : "" ) |
|
|
164 |
+ "</span>" |
165 |
[% END %] |
162 |
+ "</small>" |
166 |
+ "</small>" |
163 |
+ "</a>" ) |
167 |
+ "</a>" ) |
164 |
.appendTo( ul ); |
168 |
.appendTo( ul ); |