<!ENTITY common.true "True">
<!ENTITY common.false "False">
+<!ENTITY common.textbox.cut "Cut">
+<!ENTITY common.textbox.copy "Copy">
+<!ENTITY common.textbox.paste "Paste">
+<!ENTITY common.textbox.delete "Delete">
+<!ENTITY common.textbox.select_all "Select All">
+
<!ENTITY ilsevent.1000 "Login failed. The username or password entered was incorrect.">
<!ENTITY ilsevent.1001 "Login session has timed out or does not exist">
<!ENTITY ilsevent.1002 "User was not found in the database">
<!ENTITY staff.patron_search_form.first_given_name.label 'First Name:'>
<!ENTITY staff.patron_search_form.ident.accesskey ''>
<!ENTITY staff.patron_search_form.ident.label 'ID:'>
+<!ENTITY staff.patron_search_form.usrname.accesskey 'O'>
+<!ENTITY staff.patron_search_form.usrname.label 'OPAC Login:'>
+<!ENTITY staff.patron_search_form.card.accesskey 'B'>
+<!ENTITY staff.patron_search_form.card.label 'Barcode:'>
<!ENTITY staff.patron_search_form.phone.accesskey 'P'>
<!ENTITY staff.patron_search_form.phone.label 'Phone:'>
<!ENTITY staff.patron_search_form.post_code.accesskey ''>
};
}
],
+ 'usrname' : [
+ ['render'],
+ function(e) {
+ return function() {
+ if (params.query&¶ms.query.usrname) {
+ e.setAttribute('value',params.query.usrname);
+ e.value = params.query.usrname;
+ } else {
+ e.value = '';
+ }
+ };
+ }
+ ],
+ 'card' : [
+ ['render'],
+ function(e) {
+ return function() {
+ if (params.query&¶ms.query.card) {
+ e.setAttribute('value',params.query.card);
+ e.value = params.query.card;
+ } else {
+ e.value = '';
+ }
+ };
+ }
+ ],
'email' : [
['render'],
function(e) {
accesskey="&staff.patron_search_form.ident.accesskey;"/>
<textbox id="ident" group="2" context="clipboard"/>
</row>
+ <row id="psr6b">
+ <label id="psl6b" control="usrname"
+ value="&staff.patron_search_form.usrname.label;"
+ accesskey="&staff.patron_search_form.usrname.accesskey;"/>
+ <textbox id="usrname" group="0" context="clipboard"/>
+ </row>
+ <row id="psr6c">
+ <label id="psl6c" control="card"
+ value="&staff.patron_search_form.card.label;"
+ accesskey="&staff.patron_search_form.card.accesskey;"/>
+ <textbox id="card" group="0" context="clipboard"/>
+ </row>
<row id="psr6a">
<label id="psl6a" value=" "/>
</row>
var search_depth = 0;
for (var i in query) {
switch( i ) {
+ case 'card':
+ search_hash[ i ] = {};
+ search_hash[ i ].value = query[i];
+ search_hash[i].group = 3;
+ obj.search_term_count++;
+ break;
+
case 'phone': case 'ident':
search_hash[ i ] = {};
obj.search_term_count++;
break;
- case 'family_name': case 'first_given_name': case 'second_given_name': case 'email': case 'alias':
+ case 'family_name': case 'first_given_name': case 'second_given_name': case 'email': case 'alias': case 'usrname':
search_hash[ i ] = {};
search_hash[ i ].value = query[i];