-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlugin.php
47 lines (37 loc) · 1.01 KB
/
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
43
44
45
46
<?php
namespace Kanboard\Plugin\CleanView;
use Kanboard\Core\Plugin\Base;
use Kanboard\Core\Translator;
class Plugin extends Base
{
public function initialize()
{
$this->template->setTemplateOverride('board/task_footer', 'CleanView:board/task_footer');
$this->template->setTemplateOverride('board/task_private', 'CleanView:board/task_private');
$this->template->setTemplateOverride('task/dropdown', 'CleanView:task/dropdown');
}
public function onStartup()
{
Translator::load($this->languageModel->getCurrentLanguage(), __DIR__.'/Locale');
}
public function getPluginName()
{
return 'CleanView';
}
public function getPluginDescription()
{
return t('A clean kanboard web interface that works for me');
}
public function getPluginAuthor()
{
return 'Giovanni Cherubin';
}
public function getPluginVersion()
{
return '1.0.0';
}
public function getPluginHomepage()
{
return 'none';
}
}