diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-06-18 14:46:38 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-06-18 14:46:38 +0400 |
commit | f633dd9b63afed9773b17677094a3ea20a18c223 (patch) | |
tree | 041fe0ac1e216a009dc40922cf0f77847f4c69c6 /plugins/Referers/Referers.php | |
parent | ef42fdfcf2f58b7d702608efb5240466a5e76d54 (diff) |
Refs #774
* must have segments define the group name in the array, not in the row index
Diffstat (limited to 'plugins/Referers/Referers.php')
-rw-r--r-- | plugins/Referers/Referers.php | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/plugins/Referers/Referers.php b/plugins/Referers/Referers.php index e656720588..291971370c 100644 --- a/plugins/Referers/Referers.php +++ b/plugins/Referers/Referers.php @@ -71,33 +71,38 @@ class Piwik_Referers extends Piwik_Plugin function addGoalSegments( $notification ) { $segments =& $notification->getNotificationObject(); - $segments[Piwik_Translate('Referers_Referers')] = array( + $segments = array_merge($segments, array( array( - 'name' => Piwik_Translate('Referers_Keywords'), + 'group' => Piwik_Translate('Referers_Referers'), + 'name' => Piwik_Translate('Referers_Keywords'), 'module' => 'Referers', 'action' => 'getKeywords', ), array( - 'name' => Piwik_Translate('Referers_SearchEngines'), + 'group' => Piwik_Translate('Referers_Referers'), + 'name' => Piwik_Translate('Referers_SearchEngines'), 'module' => 'Referers', 'action' => 'getSearchEngines', ), array( - 'name' => Piwik_Translate('Referers_Websites'), + 'group' => Piwik_Translate('Referers_Referers'), + 'name' => Piwik_Translate('Referers_Websites'), 'module' => 'Referers', 'action' => 'getWebsites', ), array( - 'name' => Piwik_Translate('Referers_Campaigns'), + 'group' => Piwik_Translate('Referers_Referers'), + 'name' => Piwik_Translate('Referers_Campaigns'), 'module' => 'Referers', 'action' => 'getCampaigns', ), array( - 'name' => Piwik_Translate('Referers_Type'), + 'group' => Piwik_Translate('Referers_Referers'), + 'name' => Piwik_Translate('Referers_Type'), 'module' => 'Referers', 'action' => 'getRefererType', ), - ); + )); } function archivePeriod( $notification ) |