diff --git a/mod_social_slider/language/de-DE/de-DE.mod_social_slider.ini b/mod_social_slider/language/de-DE/de-DE.mod_social_slider.ini index c24320e..9c78f7e 100644 --- a/mod_social_slider/language/de-DE/de-DE.mod_social_slider.ini +++ b/mod_social_slider/language/de-DE/de-DE.mod_social_slider.ini @@ -150,6 +150,8 @@ JJ_SOCIAL_SLIDER_TAB_NEW="Neuer Tab" JJ_SOCIAL_SLIDER_TAB_SAME="Gleicher Tab" JJ_SOCIAL_SLIDER_SORTING="Sortierung" JJ_SOCIAL_SLIDER_SORTING_DESC="Die Reihenfolge der Slider kann durch ziehen und loslassen (Drag and Drop) geändert werden" +JJ_SOCIAL_SLIDER_NOFOLLOW="Nofollow" +JJ_SOCIAL_SLIDER_NOFOLLOW_DESC="Instruct some search engines not to follow thr Social Slider links." JJ_SOCIAL_SLIDER_VIA_FACEBOOK="Bei Facebook teilen" JJ_SOCIAL_SLIDER_VIA_TWITTER="Bei Twitter teilen" diff --git a/mod_social_slider/language/en-GB/en-GB.mod_social_slider.ini b/mod_social_slider/language/en-GB/en-GB.mod_social_slider.ini index 683aa2a..23d17f5 100644 --- a/mod_social_slider/language/en-GB/en-GB.mod_social_slider.ini +++ b/mod_social_slider/language/en-GB/en-GB.mod_social_slider.ini @@ -150,6 +150,8 @@ JJ_SOCIAL_SLIDER_TAB_NEW="New tab" JJ_SOCIAL_SLIDER_TAB_SAME="Same tab" JJ_SOCIAL_SLIDER_SORTING="Order" JJ_SOCIAL_SLIDER_SORTING_DESC="You can change the order by dragging each box" +JJ_SOCIAL_SLIDER_NOFOLLOW="Nofollow" +JJ_SOCIAL_SLIDER_NOFOLLOW_DESC="Instruct some search engines not to follow thr Social Slider links." JJ_SOCIAL_SLIDER_VIA_FACEBOOK="Follow via Facebook" JJ_SOCIAL_SLIDER_VIA_TWITTER="Follow via Twitter" diff --git a/mod_social_slider/language/fr-FR/fr-FR.mod_social_slider.ini b/mod_social_slider/language/fr-FR/fr-FR.mod_social_slider.ini index 6e5d27f..fd3938c 100644 --- a/mod_social_slider/language/fr-FR/fr-FR.mod_social_slider.ini +++ b/mod_social_slider/language/fr-FR/fr-FR.mod_social_slider.ini @@ -147,6 +147,8 @@ JJ_SOCIAL_SLIDER_TAB_NEW="Nouvel onglet" JJ_SOCIAL_SLIDER_TAB_SAME="Même onglet" JJ_SOCIAL_SLIDER_SORTING="Ordre" JJ_SOCIAL_SLIDER_SORTING_DESC="Vous pouvez modifier l'ordre en faisant glisser chaque boîte" +JJ_SOCIAL_SLIDER_NOFOLLOW="Nofollow" +JJ_SOCIAL_SLIDER_NOFOLLOW_DESC="Instruct some search engines not to follow thr Social Slider links." JJ_SOCIAL_SLIDER_VIA_FACEBOOK="Suivez-nous sur Facebook" JJ_SOCIAL_SLIDER_VIA_TWITTER="Suivez-nous sur Twitter" diff --git a/mod_social_slider/language/nl-BE/nl-BE.mod_social_slider.ini b/mod_social_slider/language/nl-BE/nl-BE.mod_social_slider.ini index 5129980..c3865fa 100644 --- a/mod_social_slider/language/nl-BE/nl-BE.mod_social_slider.ini +++ b/mod_social_slider/language/nl-BE/nl-BE.mod_social_slider.ini @@ -150,6 +150,8 @@ JJ_SOCIAL_SLIDER_TAB_NEW="Nieuw tabblad" JJ_SOCIAL_SLIDER_TAB_SAME="hetzelfde tabblad" JJ_SOCIAL_SLIDER_SORTING="Order" JJ_SOCIAL_SLIDER_SORTING_DESC="You can change the order by dragging each box" +JJ_SOCIAL_SLIDER_NOFOLLOW="Nofollow" +JJ_SOCIAL_SLIDER_NOFOLLOW_DESC="Instruct some search engines not to follow thr Social Slider links." JJ_SOCIAL_SLIDER_VIA_FACEBOOK="Volg via Facebook" JJ_SOCIAL_SLIDER_VIA_TWITTER="Volg via Twitter" diff --git a/mod_social_slider/language/ru-RU/ru-RU.mod_social_slider.ini b/mod_social_slider/language/ru-RU/ru-RU.mod_social_slider.ini index 0b4e8c9..21f88fe 100644 --- a/mod_social_slider/language/ru-RU/ru-RU.mod_social_slider.ini +++ b/mod_social_slider/language/ru-RU/ru-RU.mod_social_slider.ini @@ -155,6 +155,8 @@ JJ_SOCIAL_SLIDER_TAB_NEW="Новая закладка" JJ_SOCIAL_SLIDER_TAB_SAME="Это же окно" JJ_SOCIAL_SLIDER_SORTING="Цель" JJ_SOCIAL_SLIDER_SORTING_DESC="Перетащите окно чтобы изменить позицию" +JJ_SOCIAL_SLIDER_NOFOLLOW="Nofollow" +JJ_SOCIAL_SLIDER_NOFOLLOW_DESC="Instruct some search engines not to follow thr Social Slider links." JJ_SOCIAL_SLIDER_VIA_FACEBOOK="К нам на Facebook" JJ_SOCIAL_SLIDER_VIA_TWITTER="Мы на Twitter" diff --git a/mod_social_slider/mod_social_slider.xml b/mod_social_slider/mod_social_slider.xml index b73b957..b222866 100644 --- a/mod_social_slider/mod_social_slider.xml +++ b/mod_social_slider/mod_social_slider.xml @@ -256,6 +256,10 @@ + + + + diff --git a/mod_social_slider/tmpl/default.php b/mod_social_slider/tmpl/default.php index 9c33e72..c90a235 100644 --- a/mod_social_slider/tmpl/default.php +++ b/mod_social_slider/tmpl/default.php @@ -11,13 +11,17 @@ JHtml::_('stylesheet', 'mod_social_slider/style.css', array(), true); +$target = ''; +$nofollow = ''; + if ($params->get('tab', 0) == 0) { $target = ' target="_blank"'; } -else + +if ($params->get('nofollow', 0) == 1) { - $target = ""; + $nofollow = ' rel="nofollow"'; } echo '