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:
Diffstat (limited to 'plugins/Referrers/functions.php')
-rw-r--r--plugins/Referrers/functions.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Referrers/functions.php b/plugins/Referrers/functions.php
index c91ebc816d..b38c3bb5f6 100644
--- a/plugins/Referrers/functions.php
+++ b/plugins/Referrers/functions.php
@@ -36,15 +36,19 @@ function getPathFromUrl($url)
function getReferrerTypeLabel($label)
{
switch ($label) {
+ case 'direct':
case Common::REFERRER_TYPE_DIRECT_ENTRY:
$indexTranslation = 'Referrers_DirectEntry';
break;
+ case 'search':
case Common::REFERRER_TYPE_SEARCH_ENGINE:
$indexTranslation = 'Referrers_SearchEngines';
break;
+ case 'website':
case Common::REFERRER_TYPE_WEBSITE:
$indexTranslation = 'Referrers_Websites';
break;
+ case 'campaign':
case Common::REFERRER_TYPE_CAMPAIGN:
$indexTranslation = 'Referrers_Campaigns';
break;