Lines 85-90
$.widget.bridge('uitooltip', $.ui.tooltip);
Link Here
|
85 |
</script> |
85 |
</script> |
86 |
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/bootstrap/js/bootstrap.min.js"></script> |
86 |
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/bootstrap/js/bootstrap.min.js"></script> |
87 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/global.js"></script> |
87 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/global.js"></script> |
|
|
88 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/search.js"></script> |
88 |
<script type="text/javascript"> |
89 |
<script type="text/javascript"> |
89 |
Modernizr.load([ |
90 |
Modernizr.load([ |
90 |
// Test need for polyfill |
91 |
// Test need for polyfill |
Lines 96-101
$.widget.bridge('uitooltip', $.ui.tooltip);
Link Here
|
96 |
"[% interface %]/[% theme %]/lib/enquire.min.js", |
97 |
"[% interface %]/[% theme %]/lib/enquire.min.js", |
97 |
"[% interface %]/[% theme %]/js/script.js" |
98 |
"[% interface %]/[% theme %]/js/script.js" |
98 |
]); |
99 |
]); |
|
|
100 |
$(document).ready(function() { |
101 |
var query_xlate = { |
102 |
"kw": _("Keyword"), |
103 |
"su": _("Subject"), |
104 |
"su,phr": _("Subject phrase"), |
105 |
"su-br": _("Subject and broader terms"), |
106 |
"su-na": _("Subject and narrower terms"), |
107 |
"su-rl": _("Subject and related terms"), |
108 |
"ti": _("Title"), |
109 |
"ti,phr": _("Title phrase"), |
110 |
"se": _("Series"), |
111 |
"se,wrdl": _("Series title"), |
112 |
"callnum": _("Call Number"), |
113 |
"location": _("Shelving location"), |
114 |
"au": _("Author"), |
115 |
"au,phr": _("Author phrase"), |
116 |
"cpn": _("Corporate name"), |
117 |
"cfn": _("Conference name"), |
118 |
"cfn,phr": _("Conference name phrase"), |
119 |
"pn": _("Personal name"), |
120 |
"pn,phr": _("Personal name phrase"), |
121 |
"nt": _("Notes/Comments"), |
122 |
"curriculum": _("Curriculum"), |
123 |
"pb": _("Publisher"), |
124 |
"pl": _("Publisher location"), |
125 |
"sn": _("Standard number"), |
126 |
"nb": _("ISBN"), |
127 |
"ns": _("ISSN"), |
128 |
"bc": _("Barcode") |
129 |
}; |
130 |
var limit_xlate = { |
131 |
"mc-itype": _("Type"), |
132 |
"ln": _("Language"), |
133 |
"branch": _("Branch"), |
134 |
"aud": _("Audience"), |
135 |
"l-format": _("Format"), |
136 |
"ctype": _("Content Type"), |
137 |
"yr": _("Year") |
138 |
}; |
139 |
var limit_qualifier_xlate = { |
140 |
"wrdl": "", |
141 |
"phr": "", |
142 |
"rtrn": "", |
143 |
"st-numeric": "", |
144 |
"ge=": ">=", |
145 |
"le=": "<=" |
146 |
}; |
147 |
KOHA.Search.init(query_xlate, limit_xlate, limit_qualifier_xlate); |
148 |
|
149 |
KOHA.Search.search_set_select('select[name="idx"]'); |
150 |
}); |
99 |
</script> |
151 |
</script> |
100 |
[% IF ( OPACAmazonCoverImages || SyndeticsCoverImages ) %] |
152 |
[% IF ( OPACAmazonCoverImages || SyndeticsCoverImages ) %] |
101 |
<script type="text/javascript">//<![CDATA[ |
153 |
<script type="text/javascript">//<![CDATA[ |