X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=mkdru.theme.js;h=034b4033c50969a7a93d099c4eb248b40d3c62e0;hb=270a00a0446614db81debaa0ba5a54b65d48933c;hp=800f2b3fcb953f13101a3918f40843ea55b3dbd8;hpb=aa8e1fdaaa759602a95aa4cdd9186d209ae8abe6;p=mkdru-moved-to-drupal.org.git diff --git a/mkdru.theme.js b/mkdru.theme.js index 800f2b3..034b403 100644 --- a/mkdru.theme.js +++ b/mkdru.theme.js @@ -1,8 +1,8 @@ -Drupal.theme.prototype.mkdruResult = function(hit, num) { +Drupal.theme.prototype.mkdruResult = function(hit, num, detailLink) { var html = ""; html += '
Title | : '+data["md-title"]; - if (data["md-title-remainder"] !== undefined) { - html += ' : ' + data["md-title-remainder"] + ' '; - } - if (data["md-title-responsibility"] !== undefined) { - html += ' '+ data["md-title-responsibility"] +''; - } - html += ' |
' + Drupal.t("Title") + ' | : ' + + data["md-title"]; + if (data["md-title-remainder"] !== undefined) { + html += ' : ' + data["md-title-remainder"] + ' '; + } + if (data["md-title-responsibility"] !== undefined) { + html += ' '+ data["md-title-responsibility"] +''; + } + html += ' |
---|---|
Date | : ' + data["md-date"] + ' |
' + Drupal.t("Date") + ' | : ' + + data["md-date"] + ' |
Author | : ' + data["md-author"] + ' |
' + Drupal.t("Author") + ' | : ' + + data["md-author"] + ' |
URL | : ' + data["md-electronic-url"] + '' + ' |
URL | : ' + + data["md-electronic-url"] + '' + ' |
Subject | : ' + data["location"][0]["md-subject"] + ' |
' + Drupal.t("Subject") + ' | : ' + + data["location"][0]["md-subject"] + ' |
Location | : ' + data["location"][0]["@name"] + " (" +data["location"][0]["@id"] + ")" + ' |
' + Drupal.t("Location") + ' | : ' + + data["location"][0]["@name"] + " (" + data["location"][0]["@id"] + ")" + + ' |