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:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-08-01 21:30:26 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-08-01 21:30:26 +0400
commitc4b5fdfe0cc4546425d569d24f7a9b74190e7fcf (patch)
treed921bb684431231d326c4d19e091ef977fbe9c00 /plugins/Referers
parentb57ead72bedc46b2ae2a5bf82bfe6175a5f7ff58 (diff)
Do not show Referers.getCampaigns footer message on evolution graphs.
Diffstat (limited to 'plugins/Referers')
-rw-r--r--plugins/Referers/Referers.php19
1 files changed, 11 insertions, 8 deletions
diff --git a/plugins/Referers/Referers.php b/plugins/Referers/Referers.php
index 738fda97ba..4f72e81d93 100644
--- a/plugins/Referers/Referers.php
+++ b/plugins/Referers/Referers.php
@@ -441,20 +441,23 @@ class Piwik_Referers extends Plugin
private function getDisplayPropertiesForGetCampaigns()
{
- $help = Piwik_Translate('Referers_CampaignFooterHelp',
- array('<a target="_blank" href="http://piwik.org/docs/tracking-campaigns/">',
- '</a> - <a target="_blank" href="http://piwik.org/docs/tracking-campaigns/url-builder/">',
- '</a>')
- );
-
- return array(
+ $result = array(
'subtable_controller_action' => 'getKeywordsFromCampaignId',
'show_exclude_low_population' => false,
'show_goals' => true,
'filter_limit' => 25,
'translations' => array('label' => Piwik_Translate('Referers_ColumnCampaign')),
- 'show_footer_message' => $help,
);
+
+ if (Common::getRequestVar('viewDataTable', false) != 'graphEvolution') {
+ $result['show_footer_message'] = Piwik_Translate('Referers_CampaignFooterHelp',
+ array('<a target="_blank" href="http://piwik.org/docs/tracking-campaigns/">',
+ '</a> - <a target="_blank" href="http://piwik.org/docs/tracking-campaigns/url-builder/">',
+ '</a>')
+ );
+ }
+
+ return $result;
}
private function getDisplayPropertiesForGetKeywordsFromCampaignId()