diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-03-28 20:38:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-28 20:38:53 +0300 |
commit | a0f0eb8fa0cc86e14afeabde80d2a21a7e0122d9 (patch) | |
tree | c43d4e5cada42fd9275ada7dc85e1c31320b6e05 /plugins/SEO | |
parent | 8179b7897d6ba0538b7b24274e451d3613bbebc9 (diff) |
All icons in own repo and included as a submodule (#11548)
* add icons submodule
* replace path
* change submodule url
* fix JSONTest
* fix integration tests
* update icon submodules
* fix preg_match
* fix remaining system tests
* better match for non dist icon files
* fix .gitmodules
* update icon submodule
* Fixed custom dimension test
* Do not completely fail when GD not enabled
* Fix http test + refactor checklist
* Refactored the code into a method
* Changed icon path refs https://github.com/piwik/piwik/pull/11383
* System tests
* Update valid UI tests
* Fix integration test
Diffstat (limited to 'plugins/SEO')
-rw-r--r-- | plugins/SEO/Metric/Alexa.php | 2 | ||||
-rw-r--r-- | plugins/SEO/Metric/Bing.php | 2 | ||||
-rw-r--r-- | plugins/SEO/Metric/Dmoz.php | 2 | ||||
-rw-r--r-- | plugins/SEO/Metric/DomainAge.php | 2 | ||||
-rw-r--r-- | plugins/SEO/Metric/Google.php | 2 | ||||
-rw-r--r-- | plugins/SEO/images/alexa.com.png | bin | 4218 -> 0 bytes | |||
-rw-r--r-- | plugins/SEO/images/bing.com.png | bin | 623 -> 0 bytes | |||
-rw-r--r-- | plugins/SEO/images/dmoz.org.png | bin | 1208 -> 0 bytes | |||
-rw-r--r-- | plugins/SEO/images/google.com.png | bin | 1793 -> 0 bytes | |||
-rw-r--r-- | plugins/SEO/images/whois.png | bin | 4098 -> 0 bytes |
10 files changed, 5 insertions, 5 deletions
diff --git a/plugins/SEO/Metric/Alexa.php b/plugins/SEO/Metric/Alexa.php index ef9a73a5ec..7192113886 100644 --- a/plugins/SEO/Metric/Alexa.php +++ b/plugins/SEO/Metric/Alexa.php @@ -42,7 +42,7 @@ class Alexa implements MetricsProvider $value = null; } - $logo = "plugins/SEO/images/alexa.com.png"; + $logo = "plugins/Morpheus/icons/dist/SEO/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 325af69492..e345d19cce 100644 --- a/plugins/SEO/Metric/Bing.php +++ b/plugins/SEO/Metric/Bing.php @@ -46,7 +46,7 @@ class Bing implements MetricsProvider $pageCount = null; } - $logo = "plugins/SEO/images/bing.com.png"; + $logo = "plugins/Morpheus/icons/dist/SEO/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 b1f3567f06..c14792aa31 100644 --- a/plugins/SEO/Metric/Dmoz.php +++ b/plugins/SEO/Metric/Dmoz.php @@ -53,7 +53,7 @@ class Dmoz implements MetricsProvider $value = null; } - $logo = "plugins/SEO/images/dmoz.org.png"; + $logo = "plugins/Morpheus/icons/dist/SEO/dmoz.org.png"; return array( new Metric('dmoz', 'SEO_Dmoz', $value, $logo) diff --git a/plugins/SEO/Metric/DomainAge.php b/plugins/SEO/Metric/DomainAge.php index 836011b12e..e08dc3fa98 100644 --- a/plugins/SEO/Metric/DomainAge.php +++ b/plugins/SEO/Metric/DomainAge.php @@ -62,7 +62,7 @@ class DomainAge implements MetricsProvider } return array( - new Metric('domain-age', 'SEO_DomainAge', $value, 'plugins/SEO/images/whois.png') + new Metric('domain-age', 'SEO_DomainAge', $value, 'plugins/Morpheus/icons/dist/SEO/whois.png') ); } diff --git a/plugins/SEO/Metric/Google.php b/plugins/SEO/Metric/Google.php index c96e7fbb16..76a1a43e30 100644 --- a/plugins/SEO/Metric/Google.php +++ b/plugins/SEO/Metric/Google.php @@ -36,7 +36,7 @@ class Google implements MetricsProvider { $pageCount = $this->fetchIndexedPagesCount($domain); - $logo = "plugins/SEO/images/google.com.png"; + $logo = "plugins/Morpheus/icons/dist/SEO/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 Binary files differdeleted file mode 100644 index 0bc9c78887..0000000000 --- a/plugins/SEO/images/alexa.com.png +++ /dev/null diff --git a/plugins/SEO/images/bing.com.png b/plugins/SEO/images/bing.com.png Binary files differdeleted file mode 100644 index 8c798c92ac..0000000000 --- a/plugins/SEO/images/bing.com.png +++ /dev/null diff --git a/plugins/SEO/images/dmoz.org.png b/plugins/SEO/images/dmoz.org.png Binary files differdeleted file mode 100644 index 67349352de..0000000000 --- a/plugins/SEO/images/dmoz.org.png +++ /dev/null diff --git a/plugins/SEO/images/google.com.png b/plugins/SEO/images/google.com.png Binary files differdeleted file mode 100644 index f860e43207..0000000000 --- a/plugins/SEO/images/google.com.png +++ /dev/null diff --git a/plugins/SEO/images/whois.png b/plugins/SEO/images/whois.png Binary files differdeleted file mode 100644 index 642c2a5c92..0000000000 --- a/plugins/SEO/images/whois.png +++ /dev/null |