Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Winkler <Findus23@users.noreply.github.com>2017-01-21 21:16:47 +0300
committerStefan Giehl <stefan@piwik.org>2017-01-21 21:16:47 +0300
commited1a83e9a96d827b6811cc538693e8ae986d70db (patch)
treea70ea418e14324350a570c1479f48ffffb4af864 /plugins/SEO
parent16cd7537f1b28e5f10363456a9910b325093e322 (diff)
Better icons for SEO widget (#11245)
* better SEO icons * remove imports
Diffstat (limited to 'plugins/SEO')
-rw-r--r--plugins/SEO/Metric/Alexa.php3
-rw-r--r--plugins/SEO/Metric/Bing.php3
-rw-r--r--plugins/SEO/Metric/Dmoz.php3
-rw-r--r--plugins/SEO/Metric/Google.php3
-rw-r--r--plugins/SEO/images/alexa.com.pngbin0 -> 4218 bytes
-rw-r--r--plugins/SEO/images/bing.com.pngbin0 -> 623 bytes
-rw-r--r--plugins/SEO/images/dmoz.com.pngbin0 -> 1208 bytes
-rw-r--r--plugins/SEO/images/google.com.pngbin0 -> 1793 bytes
-rw-r--r--plugins/SEO/images/majesticseo.pngbin674 -> 0 bytes
-rw-r--r--plugins/SEO/images/whois.pngbin2628 -> 4098 bytes
10 files changed, 4 insertions, 8 deletions
diff --git a/plugins/SEO/Metric/Alexa.php b/plugins/SEO/Metric/Alexa.php
index e8f7956241..ef9a73a5ec 100644
--- a/plugins/SEO/Metric/Alexa.php
+++ b/plugins/SEO/Metric/Alexa.php
@@ -10,7 +10,6 @@ namespace Piwik\Plugins\SEO\Metric;
use Piwik\Http;
use Piwik\NumberFormatter;
-use Piwik\Plugins\Referrers\SearchEngine;
use Psr\Log\LoggerInterface;
/**
@@ -43,7 +42,7 @@ class Alexa implements MetricsProvider
$value = null;
}
- $logo = SearchEngine::getInstance()->getLogoFromUrl('http://alexa.com');
+ $logo = "plugins/SEO/images/alexa.com.png";
$link = self::LINK . urlencode($domain);
return array(
diff --git a/plugins/SEO/Metric/Bing.php b/plugins/SEO/Metric/Bing.php
index b0805548d4..325af69492 100644
--- a/plugins/SEO/Metric/Bing.php
+++ b/plugins/SEO/Metric/Bing.php
@@ -10,7 +10,6 @@ namespace Piwik\Plugins\SEO\Metric;
use Piwik\Http;
use Piwik\NumberFormatter;
-use Piwik\Plugins\Referrers\SearchEngine;
use Psr\Log\LoggerInterface;
/**
@@ -47,7 +46,7 @@ class Bing implements MetricsProvider
$pageCount = null;
}
- $logo = SearchEngine::getInstance()->getLogoFromUrl('http://bing.com');
+ $logo = "plugins/SEO/images/bing.com.png";
return array(
new Metric('bing-index', 'SEO_Bing_IndexedPages', $pageCount, $logo, null, null, 'General_Pages')
diff --git a/plugins/SEO/Metric/Dmoz.php b/plugins/SEO/Metric/Dmoz.php
index 05e8e1a0e9..b1f3567f06 100644
--- a/plugins/SEO/Metric/Dmoz.php
+++ b/plugins/SEO/Metric/Dmoz.php
@@ -10,7 +10,6 @@ namespace Piwik\Plugins\SEO\Metric;
use Piwik\Http;
use Piwik\NumberFormatter;
-use Piwik\Plugins\Referrers\SearchEngine;
use Psr\Log\LoggerInterface;
/**
@@ -54,7 +53,7 @@ class Dmoz implements MetricsProvider
$value = null;
}
- $logo = SearchEngine::getInstance()->getLogoFromUrl('http://dmoz.org');
+ $logo = "plugins/SEO/images/dmoz.org.png";
return array(
new Metric('dmoz', 'SEO_Dmoz', $value, $logo)
diff --git a/plugins/SEO/Metric/Google.php b/plugins/SEO/Metric/Google.php
index 4247ec138f..c96e7fbb16 100644
--- a/plugins/SEO/Metric/Google.php
+++ b/plugins/SEO/Metric/Google.php
@@ -10,7 +10,6 @@ namespace Piwik\Plugins\SEO\Metric;
use Piwik\Http;
use Piwik\NumberFormatter;
-use Piwik\Plugins\Referrers\SearchEngine;
use Psr\Log\LoggerInterface;
/**
@@ -37,7 +36,7 @@ class Google implements MetricsProvider
{
$pageCount = $this->fetchIndexedPagesCount($domain);
- $logo = SearchEngine::getInstance()->getLogoFromUrl('http://google.com');
+ $logo = "plugins/SEO/images/google.com.png";
return array(
new Metric('google-index', 'SEO_Google_IndexedPages', $pageCount, $logo, null, null, 'General_Pages'),
diff --git a/plugins/SEO/images/alexa.com.png b/plugins/SEO/images/alexa.com.png
new file mode 100644
index 0000000000..0bc9c78887
--- /dev/null
+++ b/plugins/SEO/images/alexa.com.png
Binary files differ
diff --git a/plugins/SEO/images/bing.com.png b/plugins/SEO/images/bing.com.png
new file mode 100644
index 0000000000..8c798c92ac
--- /dev/null
+++ b/plugins/SEO/images/bing.com.png
Binary files differ
diff --git a/plugins/SEO/images/dmoz.com.png b/plugins/SEO/images/dmoz.com.png
new file mode 100644
index 0000000000..67349352de
--- /dev/null
+++ b/plugins/SEO/images/dmoz.com.png
Binary files differ
diff --git a/plugins/SEO/images/google.com.png b/plugins/SEO/images/google.com.png
new file mode 100644
index 0000000000..f860e43207
--- /dev/null
+++ b/plugins/SEO/images/google.com.png
Binary files differ
diff --git a/plugins/SEO/images/majesticseo.png b/plugins/SEO/images/majesticseo.png
deleted file mode 100644
index a42875c250..0000000000
--- a/plugins/SEO/images/majesticseo.png
+++ /dev/null
Binary files differ
diff --git a/plugins/SEO/images/whois.png b/plugins/SEO/images/whois.png
index 0d7ab965bb..642c2a5c92 100644
--- a/plugins/SEO/images/whois.png
+++ b/plugins/SEO/images/whois.png
Binary files differ