X-Git-Url: http://git.indexdata.com/?p=mkdru-moved-to-drupal.org.git;a=blobdiff_plain;f=mkdru.theme.js;h=df09df4b896e31bed72dd703e41989289b6109c6;hp=2183e1cbc5f942d611b8a9c609a0ca920ba96b4c;hb=368440f16fce179517479e3eed656aa5f5520dcb;hpb=9bb075c111afad0a4dc12d6b9bee8b21b532500c diff --git a/mkdru.theme.js b/mkdru.theme.js index 2183e1c..df09df4 100644 --- a/mkdru.theme.js +++ b/mkdru.theme.js @@ -1,6 +1,6 @@ Drupal.theme.prototype.mkdruResult = function(hit, num) { var html = []; - html.push('
' + html.push('
  • ' + '' + num + '. ' + '' @@ -11,16 +11,11 @@ Drupal.theme.prototype.mkdruResult = function(hit, num) { if (hit["md-title-responsibility"] !== undefined) { html.push(''+hit["md-title-responsibility"]+''); } - html.push('
  • '); + html.push(''); return (html.join('')); }; Drupal.theme.prototype.mkdruPager = function (data, curPage, pages) { - var caption = '
    Displaying: ' - + (data.start + 1) + ' to ' + (data.start + data.num) + - ' of ' + data.merged + ' (found: ' - + data.total + ')
    '; - var onsides = 6; var firstClkbl = ( curPage - onsides > 0 ) @@ -46,9 +41,9 @@ Drupal.theme.prototype.mkdruPager = function (data, curPage, pages) { + numLabel + '
    '; } - var next = ' | Next >>'; + var next = ' | Next >>'; if (pages - curPage > 0) - var next = ' | ' + var next = ' | ' +'Next >>'; predots = ''; @@ -59,8 +54,7 @@ Drupal.theme.prototype.mkdruPager = function (data, curPage, pages) { if (lastClkbl < pages) postdots = '...'; - return ('
    ' + - caption + prev + predots + middle + postdots + next + '

    '); + return (prev + predots + middle + postdots + next); }; Drupal.theme.prototype.mkdruTerm = function (term, freq, linkClass, id) {