diff --git a/hooks/all.php b/hooks/all.php index c219336..c169fad 100644 --- a/hooks/all.php +++ b/hooks/all.php @@ -33,7 +33,7 @@ function HookRs_tooltipAllThumblistextra() theme: 'tooltipster-', contentAsHTML: true, - content: '', + content: '', functionBefore: function(instance, helper) { var $origin = jQuery(helper.origin); diff --git a/hooks/search.php b/hooks/search.php index cfdd7cf..2f7efad 100644 --- a/hooks/search.php +++ b/hooks/search.php @@ -14,7 +14,7 @@ function HookRs_tooltipSearchEndofsearchpage() theme: 'tooltipster-', contentAsHTML: true, - content: '', + content: '', functionBefore: function(instance, helper) { var $origin = jQuery(helper.origin); diff --git a/include/generate.php b/include/generate.php index 29d6219..98bfdbd 100755 --- a/include/generate.php +++ b/include/generate.php @@ -28,7 +28,7 @@ if ($tooltip_show_fieldname) { $fieldname_array = sql_query("select title from resource_type_field where ref = $tfield"); - $fieldname = '' . $fieldname_array[0]["title"] . ' : '; + $fieldname = '' . lang_or_i18n_get_translated($fieldname_array[0]["title"],'fieldtitle-') . ':'; } else {