update Piwik to version 2.16 (fixes #91)

This commit is contained in:
oliver 2016-04-10 18:55:57 +02:00
commit 47263617c5
128 changed files with 418860 additions and 226988 deletions

View file

@ -0,0 +1,25 @@
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
namespace Piwik\Plugins\Morpheus;
use Piwik\Development;
use Piwik\Piwik;
use Piwik\View;
class Controller extends \Piwik\Plugin\Controller
{
public function demo()
{
if (! Development::isEnabled() || !Piwik::isUserHasSomeAdminAccess()) {
return;
}
return $this->renderTemplate('demo');
}
}

View file

@ -0,0 +1,52 @@
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
namespace Piwik\Plugins\Morpheus;
use Piwik\Development;
use Piwik\Menu\MenuAdmin;
use Piwik\Menu\MenuReporting;
use Piwik\Menu\MenuUser;
use Piwik\Piwik;
class Menu extends \Piwik\Plugin\Menu
{
public function configureAdminMenu(MenuAdmin $menu)
{
$menu->registerMenuIcon('CoreAdminHome_MenuDevelopment', 'icon-admin-development');
$menu->registerMenuIcon('CoreAdminHome_MenuDiagnostic', 'icon-admin-diagnostic');
$menu->registerMenuIcon('CorePluginsAdmin_MenuPlatform', 'icon-admin-platform');
$menu->registerMenuIcon('General_Settings', 'icon-admin-settings');
$menu->registerMenuIcon('CoreAdminHome_Administration', 'icon-admin-administration');
if (Development::isEnabled() && Piwik::isUserHasSomeAdminAccess()) {
$menu->addDevelopmentItem('UI Demo', $this->urlForAction('demo'));
}
}
public function configureUserMenu(MenuUser $menu)
{
$menu->registerMenuIcon('UsersManager_MenuPersonal', 'icon-user-personal');
$menu->registerMenuIcon('CoreAdminHome_MenuManage', 'icon-user-manage');
$menu->registerMenuIcon('CorePluginsAdmin_MenuPlatform', 'icon-user-platform');
if (Development::isEnabled() && Piwik::isUserHasSomeAdminAccess()) {
$menu->addPlatformItem('UI Demo', $this->urlForAction('demo'), $order = 15);
}
}
public function configureReportingMenu(MenuReporting $menu)
{
$menu->registerMenuIcon('General_Visitors', 'icon-reporting-visitors');
$menu->registerMenuIcon('General_Actions', 'icon-reporting-actions');
$menu->registerMenuIcon('Referrers_Referrers', 'icon-reporting-referer');
$menu->registerMenuIcon('Goals_Goals', 'icon-reporting-goal');
$menu->registerMenuIcon('Goals_Ecommerce', 'icon-reporting-ecommerce');
$menu->registerMenuIcon('Dashboard_Dashboard', 'icon-reporting-dashboard');
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 B

Some files were not shown because too many files have changed in this diff Show more