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:
authorrobocoder <anthon.pang@gmail.com>2010-09-08 18:10:12 +0400
committerrobocoder <anthon.pang@gmail.com>2010-09-08 18:10:12 +0400
commit3661920565d25b476f4a90599f38d1c27a0926d0 (patch)
treee58c65ee8ba155103d034ca541bbd8bb78ad5cdd /plugins/Live/Visitor.php
parentbe6b20650f156c19904f40deaed5ccc7fda02a28 (diff)
fixes #1681 - add icon for manually converted goals; I created a toon-like "thumbs up" to represent this ... feel free to suggest a replacement
git-svn-id: http://dev.piwik.org/svn/trunk@3096 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Live/Visitor.php')
-rw-r--r--plugins/Live/Visitor.php15
1 files changed, 9 insertions, 6 deletions
diff --git a/plugins/Live/Visitor.php b/plugins/Live/Visitor.php
index 619983a768..b357135f8f 100644
--- a/plugins/Live/Visitor.php
+++ b/plugins/Live/Visitor.php
@@ -331,16 +331,19 @@ class Piwik_Live_Visitor
function getGoalIcon()
{
if(isset($this->details['goal_match_attribute'])){
- $goalicon = "";
+ $goalicon = '';
switch ($this->details['goal_match_attribute']) {
- case "url":
- $goalicon = "themes/default/images/goal.png";
+ case 'url':
+ $goalicon = 'themes/default/images/goal.png';
break;
case "file":
- $goalicon = "plugins/Live/templates/images/download.png";
+ $goalicon = 'plugins/Live/templates/images/download.png';
break;
- case "external_website":
- $goalicon = "plugins/Live/templates/images/outboundlink.png";
+ case 'external_website':
+ $goalicon = 'plugins/Live/templates/images/outboundlink.png';
+ break;
+ case 'manually':
+ $goalicon = 'plugins/Live/templates/images/thumbsup.png';
break;
}
return $goalicon;