X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=mkdru.theme.js;h=6f77dda1133cd1136f642e78f968d00c4198f603;hb=f56694d19c033aa03d48a264705a7481e188957b;hp=a45ad75de25e1f03507f654e4e0446bb13190577;hpb=47606bbe03dc3004f1d98c59bc01d6ba12654008;p=mkdru-moved-to-drupal.org.git diff --git a/mkdru.theme.js b/mkdru.theme.js index a45ad75..6f77dda 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"] + ")" + + ' |