X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=ed81bcb9956a919e2d287015b8bdadc6e2db0130;hb=12ebc5bba30b95351e27b4bb59fe26d708ef5333;hp=51de2f9ae1d8093b86c41a52983aa4ac237635dc;hpb=620d3d91e0fa734e206c5a674de7a90f10a5eb47;p=mkws-moved-to-github.git
diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js
index 51de2f9..ed81bcb 100644
--- a/tools/htdocs/mkws.js
+++ b/tools/htdocs/mkws.js
@@ -49,6 +49,7 @@ mkws.locale_lang = {
"Date": "Datum",
"Subject": "Schlagwort",
"Location": "Ort",
+ // ### to add: Records, Targets
"dummy": "dummy"
},
@@ -73,6 +74,7 @@ mkws.locale_lang = {
"Date": "Dato",
"Subject": "Emneord",
"Location": "Lokation",
+ // ### to add: Records, Targets
"dummy": "dummy"
}
@@ -556,6 +558,10 @@ function renderField(caption, data, data2, data3) {
function mkws_html_all(config) {
/* default mkws config */
+ /* ### No defaults given for:
+ * lang, responsive_design, service_proxy_auth, use_service_proxy
+ * and of course the optional language_* entries.
+ */
var mkws_config_default = {
sort: [["relevance"], ["title:1", "title"], ["date:0", "newest"], ["date:1", "oldest"]],
perpage: [10, 20, 30, 50],
@@ -691,9 +697,9 @@ function mkws_set_lang(mkws_config) {
function mkws_html_switch(config) {
debug("HTML switch");
- $("#mkwsSwitch").append($('' + M("Records") + ''));
+ $("#mkwsSwitch").append($('' + M('Records') + ''));
$("#mkwsSwitch").append($("", { text: " | " }));
- $("#mkwsSwitch").append($('' + M("Targets") + ''));
+ $("#mkwsSwitch").append($('' + M('Targets') + ''));
debug("HTML targets");
$("#mkwsTargets").html('\