-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Plugin.php
42 lines (34 loc) · 878 Bytes
/
Plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
namespace Kanboard\Plugin\RaBe;
use Kanboard\Core\Plugin\Base;
class Plugin extends Base
{
public function initialize()
{
$this->setContentSecurityPolicy(
array(
'default-src' => "'self'",
'style-src' => "'self' fonts.googleapis.com 'unsafe-inline'",
'font-src' => "'self' fonts.gstatic.com",
'img-src' => '* data:'
)
);
$this->hook->on('template:layout:css', array('template' => 'plugins/RaBe/Asset/rabe-theme.css'));
}
public function getPluginName()
{
return 'RaBe Theme';
}
public function getPluginAuthor()
{
return 'Lucas Bickel';
}
public function getPluginVersion()
{
return '0.1.0';
}
public function getCompatibleVersion()
{
return '>=1.0.37';
}
}