-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmediabutler.php
49 lines (48 loc) · 1.53 KB
/
mediabutler.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
47
48
49
<?php
$GLOBALS['plugins'][]['MediaButler'] = array(
'name'=>'MediaButler',
'author'=>'MediaButler',
'category'=>'Services API',
'link'=>'https://github.com/MediaButler/MediaButler',
'idPrefix'=>'MB',
'configPrefix'=>'MB',
'version'=>'1.0.0',
'image'=>'plugins/images/mediabutler.png',
'settings'=>true,
'homepage'=>false,
'license'=>'personal,business'
);
function MBGetSettings() {
return array(
'API Server' => array(
array(
'type' => 'html',
'label' => 'Please Note',
'html' => 'Please hit test connection after filling in details if you do not have'
),
array(
'type' => 'html',
'label' => ' ',
'html' => ' '
),
array(
'type' => 'input',
'name' => 'MB-API-URL',
'label' => 'Server URL',
'value' => $GLOBALS['MB-API-URL']
),
array(
'type' => 'html',
'label' => ' ',
'html' => ' '
),
array(
'type' => 'button',
'label' => 'Test Connection',
'class' => 'MB-TEST-CONN',
'icon' => 'fa fa-check',
'text' => 'Test Connection'
)
)
);
}