add icons for Character groups
This commit is contained in:
commit
2d9a41a5fe
3461 changed files with 594457 additions and 0 deletions
44
www/analytics/plugins/Annotations/Annotations.php
Executable file
44
www/analytics/plugins/Annotations/Annotations.php
Executable file
|
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
/**
|
||||
* Piwik - Open source web analytics
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\Annotations;
|
||||
|
||||
/**
|
||||
* Annotations plugins. Provides the ability to attach text notes to
|
||||
* dates for each sites. Notes can be viewed, modified, deleted or starred.
|
||||
*
|
||||
*/
|
||||
class Annotations extends \Piwik\Plugin
|
||||
{
|
||||
/**
|
||||
* @see Piwik\Plugin::getListHooksRegistered
|
||||
*/
|
||||
public function getListHooksRegistered()
|
||||
{
|
||||
return array(
|
||||
'AssetManager.getStylesheetFiles' => 'getStylesheetFiles',
|
||||
'AssetManager.getJavaScriptFiles' => 'getJsFiles',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds css files for this plugin to the list in the event notification.
|
||||
*/
|
||||
public function getStylesheetFiles(&$stylesheets)
|
||||
{
|
||||
$stylesheets[] = "plugins/Annotations/stylesheets/annotations.less";
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds js files for this plugin to the list in the event notification.
|
||||
*/
|
||||
public function getJsFiles(&$jsFiles)
|
||||
{
|
||||
$jsFiles[] = "plugins/Annotations/javascripts/annotations.js";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue