X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=mkdru.theme.js;h=bcf9de9040c995f1e5b62c3cba0f5607ef7f89b2;hb=be97579a24b75983d1ba3069d9ca38cf87702a0b;hp=745106e2938c77b5daec293135ab37eb34e7ce8d;hpb=74e31a105786fa0ea1c7fd28b12f767e3df35368;p=mkdru-moved-to-drupal.org.git diff --git a/mkdru.theme.js b/mkdru.theme.js index 745106e..bcf9de9 100644 --- a/mkdru.theme.js +++ b/mkdru.theme.js @@ -113,19 +113,18 @@ Drupal.theme.prototype.mkdruStatus = function(activeClients, clients) { Drupal.theme.prototype.mkdruFacet = function (terms, facet, max) { var html = ""; for (var i = 0; i < terms.length && i < max; i++ ) { - html += '' + terms[i].name + ' (' + terms[i].freq + ')
'; + var term = terms[i]; + html += '
'; + } return html; }; -Drupal.theme.prototype.mkdruFacetLimit = function (term, link) { - if (term) { - return '

' + Drupal.t('Only displaying ') + term.name + '

' - + '

' + Drupal.t('Show all...') + '

'; - } -}; \ No newline at end of file +Drupal.theme.prototype.mkdruFacetContainer = function (facets, facetCfg) { + return ""; +};