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:
authormattab <matthieu.aubry@gmail.com>2013-04-20 13:51:19 +0400
committermattab <matthieu.aubry@gmail.com>2013-04-20 13:51:19 +0400
commitbc4486e839e26b4f55b363e67d9a81a1ef890815 (patch)
treee6b3f9e9dbfe1845b49637b48bd72d30a8971368
parent35f975accb45152dd669e0009237eed3dc6ada2b (diff)
Refs #39051.12-b12
Fixing visitor Log to follow the new API format
-rw-r--r--plugins/Live/templates/lastVisits.tpl2
-rw-r--r--plugins/Live/templates/visitorLog.tpl7
2 files changed, 6 insertions, 3 deletions
diff --git a/plugins/Live/templates/lastVisits.tpl b/plugins/Live/templates/lastVisits.tpl
index 63a26afe6b..5a9ffec542 100644
--- a/plugins/Live/templates/lastVisits.tpl
+++ b/plugins/Live/templates/lastVisits.tpl
@@ -73,7 +73,7 @@
title="{$action.url|escape:'html'} - {$action.serverTimePretty|escape:'html'}"/>
{elseif $action.type == 'search'}
<img class='iconPadding' src="{$action.icon}"
- title="{'Actions_SubmenuSitesearch'|translate|escape:'html'}: {$action.pageTitle|escape:'html'} - {$action.serverTimePretty|escape:'html'}"/>
+ title="{'Actions_SubmenuSitesearch'|translate|escape:'html'}: {$action.siteSearchKeyword|escape:'html'} - {$action.serverTimePretty|escape:'html'}"/>
{else}
<img class='iconPadding' src="{$action.icon}"
title="{$action.goalName|escape:'html'} - {if $action.revenue > 0}{'Live_GoalRevenue'|translate}: {$action.revenue|money:$idSite} - {/if} {$action.serverTimePretty|escape:'html'}"/>
diff --git a/plugins/Live/templates/visitorLog.tpl b/plugins/Live/templates/visitorLog.tpl
index 8e939d9c87..33a4039c3a 100644
--- a/plugins/Live/templates/visitorLog.tpl
+++ b/plugins/Live/templates/visitorLog.tpl
@@ -187,7 +187,7 @@
{capture assign='visitorHasSomeEcommerceActivity'}0{/capture}
{foreach from=$visitor.columns.actionDetails item=action}
{capture assign='customVariablesTooltip'}{if !empty($action.customVariables)}{'CustomVariables_CustomVariables'|translate}
- {foreach from=$action.customVariables item=customVariable key=id}{capture assign=name}customVariableName{$id}{/capture}{capture assign=value}customVariableValue{$id}{/capture}
+ {foreach from=$action.customVariables item=customVariable key=id}{capture assign=name}customVariablePageName{$id}{/capture}{capture assign=value}customVariablePageValue{$id}{/capture}
- {$customVariable.$name|escape:'html'} {if strlen($customVariable.$value) > 0} = {$customVariable.$value|escape:'html'}{/if}
{/foreach}{/if}
@@ -252,9 +252,12 @@
{elseif empty($action.goalName)}
{* Page view / Download / Outlink *}
{if !empty($action.pageTitle)}
+ {$action.pageTitle|unescape|urldecode|escape:'html'|truncate:80:"...":true}
+ {/if}
+ {if !empty($action.siteSearchKeyword)}
{if $action.type == 'search'}<img src='{$action.icon}'
title='{'Actions_SubmenuSitesearch'|translate|escape:'html'}'>{/if}
- {$action.pageTitle|unescape|urldecode|escape:'html'|truncate:80:"...":true}
+ {$action.siteSearchKeyword|unescape|urldecode|escape:'html'|truncate:80:"...":true}
{/if}
{if !empty($action.url)}
{if $action.type == 'action' && !empty($action.pageTitle)}<br/>{/if}