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:
authorThomas ZILLIOX <thomas@zilliox.me>2013-07-02 20:08:38 +0400
committerThomas ZILLIOX <thomas@zilliox.me>2013-07-02 20:08:38 +0400
commit287dcbbe9eecd9d6e4c5cd89a5a2fa7fe14bb09a (patch)
tree3ca1c8b4a1fd14cca3c5f492cf6ea8391f1a1060 /plugins/Widgetize
parent3b367dd3afffa6d44fdf0069f62b00c2bb487a5a (diff)
Merge with master
Diffstat (limited to 'plugins/Widgetize')
-rw-r--r--plugins/Widgetize/Widgetize.php2
-rw-r--r--plugins/Widgetize/templates/index.twig2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Widgetize/Widgetize.php b/plugins/Widgetize/Widgetize.php
index eac4d67a54..31b5a95a5c 100644
--- a/plugins/Widgetize/Widgetize.php
+++ b/plugins/Widgetize/Widgetize.php
@@ -39,7 +39,7 @@ class Piwik_Widgetize extends Piwik_Plugin
public function addTopMenu()
{
$tooltip = Piwik_Translate('Widgetize_TopLinkTooltip');
- $urlParams = array('module' => 'Widgetize', 'action' => 'index');
+ $urlParams = array('module' => 'Widgetize', 'action' => 'index', 'segment' => false);
Piwik_AddTopMenu('General_Widgets', $urlParams, true, 5, $isHTML = false, $tooltip);
}
diff --git a/plugins/Widgetize/templates/index.twig b/plugins/Widgetize/templates/index.twig
index d1c4a9451f..faf6244dbf 100644
--- a/plugins/Widgetize/templates/index.twig
+++ b/plugins/Widgetize/templates/index.twig
@@ -38,7 +38,7 @@
to the anonymous user in the <a href='index.php?module=UsersManager' target='_blank'>Users Management section</a>.
<br/>Alternatively, if you are publishing widgets on a password protected or private page,
you don't necessarily have to allow 'anonymous' to view your reports. In this case, you can add the secret token_auth parameter (found in the
- <a href='{{ url({'module':'API','action':'listAllAPI'}) }}' target='_blank'>API page</a>) in the widget URL.
+ <a href='{{ linkTo({'module':'API','action':'listAllAPI'}) }}' target='_blank'>API page</a>) in the widget URL.
</p>
<p><strong>&rsaquo; Widgetize the full dashboard:</strong> You can also display the full Piwik dashboard in your application or website in an IFRAME