From 32d4f2684a75727a88ec40830e048f1ab5e922a4 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Thu, 5 May 2016 13:45:28 +0200 Subject: [PATCH 1/5] Update metadata.json new edition --- bl-plugins/googletools/metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/googletools/metadata.json b/bl-plugins/googletools/metadata.json index 7eec067d..1e0fe1d9 100644 --- a/bl-plugins/googletools/metadata.json +++ b/bl-plugins/googletools/metadata.json @@ -3,7 +3,7 @@ "email": "", "website": "https://github.com/dignajar/bludit-plugins", "version": "1.1", - "releaseDate": "2016-02-13", + "releaseDate": "2016-05-05", "license": "MIT", "requires": "Bludit v1.1", "notes": "" From bd4ca8222e24d47ca993d91a78deb1c6131ec4e5 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Thu, 5 May 2016 13:50:47 +0200 Subject: [PATCH 2/5] Update plugin.php leave verification code for main page only --- bl-plugins/googletools/plugin.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bl-plugins/googletools/plugin.php b/bl-plugins/googletools/plugin.php index e126af55..b8d8f9de 100644 --- a/bl-plugins/googletools/plugin.php +++ b/bl-plugins/googletools/plugin.php @@ -31,13 +31,15 @@ class pluginGoogleTools extends Plugin { public function siteHead() { - $html = PHP_EOL.''.PHP_EOL; - $html .= ''.PHP_EOL; + global $Url - if(Text::isEmpty($this->getDbField('google-site-verification'))) { + if(Text::isEmpty($this->getDbField('google-site-verification')) || !($Url->whereAmI()=='home')) { return false; } + $html = PHP_EOL.''.PHP_EOL; + $html .= ''.PHP_EOL; + return $html; } @@ -60,4 +62,4 @@ class pluginGoogleTools extends Plugin { return $html; } -} \ No newline at end of file +} From 262eeb5b0602f25ef5444531860e654ebc13b8da Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Thu, 5 May 2016 13:57:47 +0200 Subject: [PATCH 3/5] Update plugin.php add Google verification code at title page only --- bl-plugins/googletools/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/googletools/plugin.php b/bl-plugins/googletools/plugin.php index b8d8f9de..34c93996 100644 --- a/bl-plugins/googletools/plugin.php +++ b/bl-plugins/googletools/plugin.php @@ -31,7 +31,7 @@ class pluginGoogleTools extends Plugin { public function siteHead() { - global $Url + global $Url; if(Text::isEmpty($this->getDbField('google-site-verification')) || !($Url->whereAmI()=='home')) { return false; From 6d59e8ef0cad63cc64e6dce47ad6ada64045641f Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 6 May 2016 13:52:21 +0200 Subject: [PATCH 4/5] Create ru_RU.json --- bl-plugins/latest_posts/languages/ru_RU.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bl-plugins/latest_posts/languages/ru_RU.json diff --git a/bl-plugins/latest_posts/languages/ru_RU.json b/bl-plugins/latest_posts/languages/ru_RU.json new file mode 100644 index 00000000..0dd33c1f --- /dev/null +++ b/bl-plugins/latest_posts/languages/ru_RU.json @@ -0,0 +1,9 @@ +{ + "plugin-data": + { + "name": "Последние записи", + "description": "Показывает последние опубликованные записи." + }, + + "amount-of-posts": "Количество записей" +} From d6cbe76087d589b43608e5ebd1cc012d1e0e37a6 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 6 May 2016 13:54:28 +0200 Subject: [PATCH 5/5] Create ru_RU.json --- bl-plugins/rss/languages/ru_RU.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bl-plugins/rss/languages/ru_RU.json diff --git a/bl-plugins/rss/languages/ru_RU.json b/bl-plugins/rss/languages/ru_RU.json new file mode 100644 index 00000000..12fd3c91 --- /dev/null +++ b/bl-plugins/rss/languages/ru_RU.json @@ -0,0 +1,7 @@ +{ + "plugin-data": + { + "name": "RSS Feed", + "description": "Этот плагин генерирует RSS трансляцию на сайте." + } +}