.result_table_row_selected {
background-color: [% css_colors.item_selected %];
}
-#selected_records_summary, #clear_cart {
+#selected_records_summary, #clear_basket {
margin-left: 5em;
}
-/* styles for the cart */
-#record_cart {
+/* styles for the basket */
+#record_basket {
[% IF rtl == 't' -%]
float: left;
margin-left: 5em;
margin-right: 5em;
[% END; %]
}
-#record_cart_icon {
+#record_basket_icon {
[% IF rtl == 't' -%]
float: left;
margin-left: 2em;
[% END; %]
position: relative;
}
-#record_cart_count_floater {
+#record_basket_count_floater {
background-color: [% css_colors.accent_lighter %];
position: absolute;
top: -3px;
z-index: 2;
border-radius: 50%;
}
-#record_cart_count_floater a {
+#record_basket_count_floater a {
text-decoration: none;
}
-#cart_actions {
+#basket_actions {
[% IF rtl == 't' -%]
float: left;
[% ELSE; %]
border: 1px solid [% css_colors.primary %];
background-color: [% css_colors.primary_fade %];
}
-#cart_actions a {
+#basket_actions a {
color: [% css_colors.button_text %];
text-decoration: none;
}
background-color: [% css_colors.accent_ultralight %] !important;
color: [% css_colors.primary %] !important;
}
-/* Styles for the cart entry. */
+/* Styles for the basket entry. */
.popmenu li:hover li[class~="temporary"] a {
background-color: [% css_colors.primary %];
color: [% css_colors.accent_ultralight %];
INCLUDE "opac/parts/topnav.tt2";
ctx.metalinks.push('<meta name="robots" content="noindex,follow">');
ctx.page_title = l("Record Detail") %]
- <h2 class="sr-only">[% l('Cart') %]</h2>
+ <h2 class="sr-only">[% l('Basket') %]</h2>
<div class="mobile_hide">
[% INCLUDE "opac/parts/searchbar.tt2" %]
</div>
[% IF ctx.mylist.size;
INCLUDE "opac/parts/anon_list.tt2";
ELSE %]
- <div class="warning_box">[% l("The cart is empty."); %]</div>
+ <div class="warning_box">[% l("The basket is empty."); %]</div>
<button type="button" class="opac-button" onclick="window.location='[% ctx.referer | html %]'">[% l('Return') %]</button>
[% END %]
<div class="common-full-pad"></div>
PROCESS "opac/parts/misc_util.tt2";
WRAPPER "opac/parts/base.tt2";
INCLUDE "opac/parts/topnav.tt2";
- ctx.page_title = l("Confirm Clearing of Cart") %]
- <h2 class="sr-only">[% l('Confirm Clearing of Cart') %]</h2>
+ ctx.page_title = l("Confirm Clearing of Basket") %]
+ <h2 class="sr-only">[% l('Confirm Clearing of Basket') %]</h2>
[% INCLUDE "opac/parts/searchbar.tt2" %]
<div id="content-wrapper">
<div id="main-content">
- <p class="big-strong">[% l('Please confirm that you want to remove all [_1] titles from the cart.', ctx.mylist.size) %]
+ <p class="big-strong">[% l('Please confirm that you want to remove all [_1] titles from the basket.', ctx.mylist.size) %]
<form method="post" action="[% mkurl(ctx.opac_root _ '/cache/clear', {}, 1) %]">
<input type="hidden" name="redirect_to" value="[% ctx.referer %]" />
<input id="print_cart_submit" type="submit" name="submit"
value="[% l('Confirm') %]" title="[% l('Confirm') %]"
alt="[% l('Confirm') %]" class="opac-button" />
- <input type="reset" name="cancel" onclick="window.location='[% ctx.referer | html %]'" value="[% l('Cancel') %]" id="clear_cart_cancel" class="opac-button" />
+ <input type="reset" name="cancel" onclick="window.location='[% ctx.referer | html %]'" value="[% l('Cancel') %]" id="clear_basket_cancel" class="opac-button" />
</form>
<div class="common-full-pad"></div>
</div>
PROCESS "opac/parts/misc_util.tt2";
WRAPPER "opac/parts/base.tt2";
INCLUDE "opac/parts/topnav.tt2";
- ctx.page_title = l("Confirm Cart Email") %]
- <h2 class="sr-only">[% l('Confirm Cart Email') %]</h2>
+ ctx.page_title = l("Confirm Basket Email") %]
+ <h2 class="sr-only">[% l('Confirm Basket Email') %]</h2>
[% INCLUDE "opac/parts/searchbar.tt2" %]
<div id="content-wrapper">
<div id="main-content">
[% IF ctx.mylist.size %]
- <p class="big-strong">[% l('Please confirm that you want to email the [_1] titles in the cart.', ctx.mylist.size) %]
+ <p class="big-strong">[% l('Please confirm that you want to email the [_1] titles in the basket.', ctx.mylist.size) %]
<form method="post" action="[% mkurl(ctx.opac_root _ '/mylist/doemail', {}, 1) %]">
<input type="hidden" name="redirect_to" value="[% ctx.referer %]" />
- <input type="checkbox" name="clear_cart" value="on" />
- <label for="clear_cart">[% l('Clear cart after emailing it.') %]</label>
+ <input type="checkbox" name="clear_basket" value="on" />
+ <label for="clear_basket">[% l('Clear basket after emailing it.') %]</label>
<br />
<input id="print_cart_submit" type="submit" name="submit"
value="[% l('Confirm') %]" title="[% l('Confirm') %]"
alt="[% l('Confirm') %]" class="opac-button" />
- <input type="reset" name="cancel" onclick="window.location='[% ctx.referer | html %]'" value="[% l('Cancel') %]" id="clear_cart_cancel" class="opac-button" />
+ <input type="reset" name="cancel" onclick="window.location='[% ctx.referer | html %]'" value="[% l('Cancel') %]" id="clear_basket_cancel" class="opac-button" />
</form>
[% ELSE %]
- <div class="warning_box">[% l("The cart is empty."); %]</div>
+ <div class="warning_box">[% l("The basket is empty."); %]</div>
<button type="button" class="opac-button" onclick="window.location='[% ctx.referer | html %]'">[% l('Return') %]</button>
[% END %]
<div class="common-full-pad"></div>
PROCESS "opac/parts/misc_util.tt2";
WRAPPER "opac/parts/base.tt2";
INCLUDE "opac/parts/topnav.tt2";
- ctx.page_title = l("Confirm Cart Printing") %]
- <h2 class="sr-only">[% l('Confirm Cart Printing') %]</h2>
+ ctx.page_title = l("Confirm Basket Printing") %]
+ <h2 class="sr-only">[% l('Confirm Basket Printing') %]</h2>
[% INCLUDE "opac/parts/searchbar.tt2" %]
<div id="content-wrapper">
<div id="main-content">
[% IF ctx.mylist.size %]
- <p class="big-strong">[% l('Please confirm that you want to print the [_1] titles in the cart.', ctx.mylist.size) %]
+ <p class="big-strong">[% l('Please confirm that you want to print the [_1] titles in the basket.', ctx.mylist.size) %]
<form method="post" action="[% mkurl(ctx.opac_root _ '/mylist/doprint', {}, 1) %]">
<input type="hidden" name="redirect_to" value="[% ctx.referer %]" />
<input type="checkbox" name="clear_cart" value="on" />
- <label for="clear_cart">[% l('Clear cart after printing it.') %]</label>
+ <label for="clear_basket">[% l('Clear basket after printing it.') %]</label>
<br />
<input id="print_cart_submit" type="submit" name="submit"
value="[% l('Confirm') %]" title="[% l('Confirm') %]"
alt="[% l('Confirm') %]" class="opac-button" />
- <input type="reset" name="cancel" onclick="window.location='[% ctx.referer | html %]'" value="[% l('Cancel') %]" id="clear_cart_cancel" class="opac-button" />
+ <input type="reset" name="cancel" onclick="window.location='[% ctx.referer | html %]'" value="[% l('Cancel') %]" id="clear_basket_cancel" class="opac-button" />
</form>
[% ELSE %]
- <div class="warning_box">[% l("The cart is empty."); %]</div>
+ <div class="warning_box">[% l("The basket is empty."); %]</div>
<button type="button" class="opac-button" onclick="window.location='[% ctx.referer | html %]'">[% l('Return') %]</button>
[% END %]
<div class="common-full-pad"></div>
[% IF ctx.mylist.size %]
<tr>
<td class="list_create_table_label">
- <label for="list_move_cart">[% l('Move contents of cart to this list?') %]</label>
+ <label for="list_move_cart">[% l('Move contents of basket to this list?') %]</label>
</td>
<td>
<select name="move_cart" id="list_move_cart">
</table>
</form>
- <h1>[% l("My Existing Cart and Lists") %]</h1>
+ <h1>[% l("My Existing Basket and Lists") %]</h1>
[% INCLUDE "opac/parts/anon_list.tt2" %]
[% IF ctx.bookbags.size %]
<div class="header_middle">
[% IF ctx.mylist.size %]
<div class="bookbag-specific">
- <p class="big-strong">[% l('Cart') %]</p>
+ <p class="big-strong">[% l('Basket') %]</p>
<div class="sort">
<form method="get">
<label for="anonsort">[% l("Sort cart items by: ") %]</label>
<option value="place_hold">[% l('Place hold') %]</option>
<option value="print">[% l('Print title details') %]</option>
<option value="email">[% l('Email title details') %]</option>
- <option value="delete">[% l('Remove from cart') %]</option>
+ <option value="delete">[% l('Remove from basket') %]</option>
[% IF ctx.user AND ctx.bookbags.size %]
<optgroup label="[% l('Move selected items to list:') %]">
[% FOR bbag IN ctx.bookbags %]]
-<div id="record_cart">
- <ul id="cart_actions" class="popmenu">
- <li><a href="#" class="no-dec">[% l('Cart Actions') %]</a>
+<div id="record_basket">
+ <ul id="basket_actions" class="popmenu">
+ <li><a href="#" class="no-dec">[% l('Basket Actions') %]</a>
<ul>
- <li><a href="[% mkurl(ctx.opac_root _ '/mylist', {}) %]">[% l('View Cart') %]</a></li>
+ <li><a href="[% mkurl(ctx.opac_root _ '/mylist', {}) %]">[% l('View Basket') %]</a></li>
<li><a href="[% mkurl(ctx.opac_root _ '/mylist/move', { action => 'place_hold', entire_list => 1 }) %]">[% l('Place Holds') %]</a></li>
<li><a href="[% mkurl(ctx.opac_root _ '/mylist/print', {}) %]">[% l('Print Title Details') %]</a></li>
<li><a href="[% mkurl(ctx.opac_root _ '/mylist/email', {}) %]">[% l('Email Title Details') %]</a></li>
[% IF !ctx.is_browser_staff %]
- <li><a href="[% mkurl(ctx.opac_root _ '/myopac/lists', { move_cart_by_default => 1 }) %]">[% l('Add Cart to Saved List') %]</a></li>
+ <li><a href="[% mkurl(ctx.opac_root _ '/myopac/lists', { move_cart_by_default => 1 }) %]">[% l('Add Basket to Saved List') %]</a></li>
[% END %]
[% IF ctx.is_browser_staff %]
- <li><a id="add_cart_to_bucket">[% l('Add Cart to Bucket') %]</a></li>
+ <li><a id="add_cart_to_bucket">[% l('Add Basket to Bucket') %]</a></li>
[% END %]
- <li><a href="[% mkurl(ctx.opac_root _ '/mylist/clear', {}) %]">[% l('Clear Cart') %]</a></li>
+ <li><a href="[% mkurl(ctx.opac_root _ '/mylist/clear', {}) %]">[% l('Clear Basket') %]</a></li>
</ul>
</li>
</ul>
- <div id="record_cart_icon">
+ <div id="record_basket_icon">
<a href="[% mkurl(ctx.opac_root _ '/mylist') %]" class="no-dec" rel="nofollow" vocab="">
- <img src="[% ctx.media_prefix %]/images/cart-sm.png[% ctx.cache_key %]" alt="[% l('View Cart') %]">
+ <img src="[% ctx.media_prefix %]/images/cart-sm.png[% ctx.cache_key %]" alt="[% l('View Basket') %]">
</a>
- <div id="record_cart_count_floater">
+ <div id="record_basket_count_floater">
<a href="[% mkurl(ctx.opac_root _ '/mylist') %]" class="no-dec" rel="nofollow" vocab="">
- <span id="record_cart_count">[% ctx.mylist.size %]</span>
- <span class="sr-only">[% l('records in cart') %]</span>
+ <span id="record_basket_count">[% ctx.mylist.size %]</span>
+ <span class="sr-only">[% l('records in basket') %]</span>
</a>
</div>
</div>
ctx.hide_badge_scores = 'false';
##############################################################################
-# Maximum number of items allowed to be stored in a cart
+# Maximum number of items allowed to be stored in a basket
##############################################################################
ctx.max_cart_size = 500;
[% operation = ctx.mylist.grep('^' _ ctx.bre_id _ '$').size ? "delete" : "add";
addhref = mkurl(ctx.opac_root _ '/mylist/add', {record => ctx.bre_id}, stop_parms);
delhref = mkurl(ctx.opac_root _ '/mylist/delete', {record => ctx.bre_id}, stop_parms);
- label = (operation == "add") ? l("Add to Cart") : l("Remove from Cart");
+ label = (operation == "add") ? l("Add to Basket") : l("Remove from Basket");
%]
<a href="[% addhref %]" id="mylist_add_[% ctx.bre_id %]"
rel="nofollow" vocab=""
data-recid="[% ctx.bre_id %]" data-action="add"
class="no-dec mylist_action [% IF ctx.mylist.grep('^' _ ctx.bre_id _ '$').size %]hidden[% END %]"
- title="[% l("Add [_1] to cart", attrs.title) %]" rel="nofollow" vocab="">
+ title="[% l("Add [_1] to basket", attrs.title) %]" rel="nofollow" vocab="">
<img src="[% ctx.media_prefix %]/images/add-to-cart.png[% ctx.cache_key %]" alt="" />
- [% l("Add to cart") %]
+ [% l("Add to basket") %]
</a>
<a href="[% delhref %]" id="mylist_delete_[% ctx.bre_id %]"
rel="nofollow" vocab=""
data-recid="[% ctx.bre_id %]" data-action="delete"
class="mylist_action [% IF !ctx.mylist.grep('^' _ ctx.bre_id _ '$').size %]hidden[% END %]"
- title="[% l("Remove [_1] from cart", attrs.title) %]" rel="nofollow" vocab="">
+ title="[% l("Remove [_1] from basket", attrs.title) %]" rel="nofollow" vocab="">
<img src="[% ctx.media_prefix %]/images/add-to-cart.png[% ctx.cache_key %]" alt="" />
- [% l("Remove from cart") %]
+ [% l("Remove from basket") %]
</a>
</div>
<div class="rdetail_aux_utils toggle_list">
[% IF ctx.mylist.size %]
[%- IF ctx.user; %]
- <a href="[% mkurl(ctx.opac_root _ '/myopac/lists') %]" class="no-dec" rel="nofollow" vocab=""><img src="[% ctx.media_prefix %]/images/clipboard.png[% ctx.cache_key %]" alt="[% l('View Cart') %]" />[% l(' View Cart') %]</a>
+ <a href="[% mkurl(ctx.opac_root _ '/myopac/lists') %]" class="no-dec" rel="nofollow" vocab=""><img src="[% ctx.media_prefix %]/images/clipboard.png[% ctx.cache_key %]" alt="[% l('View Basket') %]" />[% l(' View Basket') %]</a>
[%- ELSE %]
- <a href="[% mkurl(ctx.opac_root _ '/mylist') %]" class="no-dec" rel="nofollow" vocab=""><img src="[% ctx.media_prefix %]/images/add-to-cart.png[% ctx.cache_key %]" alt="[% l('View My Cart') %]" />[% l(' View My Cart') %]</a>
+ <a href="[% mkurl(ctx.opac_root _ '/mylist') %]" class="no-dec" rel="nofollow" vocab=""><img src="[% ctx.media_prefix %]/images/add-to-cart.png[% ctx.cache_key %]" alt="[% l('View My Basket') %]" />[% l(' View My Basket') %]</a>
[%- END %]
[% END %]
</div>
[% IF !ctx.is_meta; %]
<input type="checkbox" id="select-[% rec.bre_id %]" name="selected_record"
[% IF is_selected %] checked="checked" [% END %]
- title="[% l('Add to Cart') %]"
+ title="[% l('Add to Basket') %]"
class="result_record_selector hidden" value="[% rec.bre_id %]"></input>
[% END %]
[% result_count; result_count = result_count + 1 %].
<a href="[% addhref %]" id="mylist_add_[% rec.id %]"
data-recid="[% rec.id %]" data-action="add"
class="mylist_action [% IF ctx.mylist.grep('^' _ rec.id _ '$').size %]hidden[% END %]"
- title="[% l("Add [_1] to cart", attrs.title) %]" rel="nofollow" vocab="">
+ title="[% l("Add [_1] to basket", attrs.title) %]" rel="nofollow" vocab="">
<img src="[% ctx.media_prefix %]/images/add-to-cart.png[% ctx.cache_key %]" alt="" />
- [% l("Add to cart") %]
+ [% l("Add to basket") %]
</a>
<a href="[% delhref %]" id="mylist_delete_[% rec.id %]"
data-recid="[% rec.id %]" data-action="delete"
class="mylist_action [% IF !ctx.mylist.grep('^' _ rec.id _ '$').size %]hidden[% END %]"
- title="[% l("Remove [_1] from cart", attrs.title) %]" rel="nofollow" vocab="">
+ title="[% l("Remove [_1] from basket", attrs.title) %]" rel="nofollow" vocab="">
<img src="[% ctx.media_prefix %]/images/add-to-cart.png[% ctx.cache_key %]" alt="" />
- [% l("Remove from cart") %]
+ [% l("Remove from basket") %]
</a>
[% IF ctx.user;
INCLUDE "opac/parts/bookbag_actions.tt2";
[% IF ctx.mylist.size %]
<div class="results_header_btns">
[%- IF ctx.user; %]
- <a href="[% mkurl(ctx.opac_root _ '/myopac/lists') %]">[% l('View My Cart') %]</a>
+ <a href="[% mkurl(ctx.opac_root _ '/myopac/lists') %]">[% l('View My Basket') %]</a>
[%- ELSE %]
- <a href="[% mkurl(ctx.opac_root _ '/mylist') %]">[% l('View My Cart') %]</a>
+ <a href="[% mkurl(ctx.opac_root _ '/mylist') %]">[% l('View My Basket') %]</a>
[%- END %]
</div>
[% END %]
PROCESS "opac/parts/misc_util.tt2";
WRAPPER "opac/parts/base.tt2";
INCLUDE "opac/parts/topnav.tt2";
- ctx.page_title = l("Cart Warning") %]
- <h2 class="sr-only">[% l('Cart Warning') %]</h2>
+ ctx.page_title = l("Basket Warning") %]
+ <h2 class="sr-only">[% l('Basket Warning') %]</h2>
[% INCLUDE "opac/parts/searchbar.tt2" %]
<div id="content-wrapper">
<div id="main-content">
- <p class="big-strong">[% l('You are adding to a cart.') %]
+ <p class="big-strong">[% l('You are adding to a basket.') %]
[% IF ctx.user ;
l('This information will disappear when you logout, unless you save it to a permanent list.');
ELSE;