-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPlugin.php
45 lines (36 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
<?php
namespace Kanboard\Plugin\RCB;
use Kanboard\Core\Plugin\Base;
use Kanboard\Core\Translator;
class Plugin extends Base
{
public function initialize()
{
$this->hook->on('template:layout:css', array('template' => 'plugins/RCB/Assets/css/style.css'));
$this->hook->on('template:layout:js', array('template' => 'plugins/RCB/Assets/js/function.js'));
}
public function onStartup()
{
Translator::load($this->languageModel->getCurrentLanguage(), __DIR__.'/Locale');
}
public function getPluginName()
{
return 'Resizable codeblocks';
}
public function getPluginDescription()
{
return t('Make codeblocks resizable, scrollable and limit their initial height to 200 pixels');
}
public function getPluginAuthor()
{
return 'Tomas Dittmann';
}
public function getPluginVersion()
{
return '1.1.0';
}
public function getPluginHomepage()
{
return "https://github.com/Chaosmeister/RCB";
}
}