-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.php
31 lines (29 loc) · 1019 Bytes
/
index.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
<?php
use Kirby\Cms\App as Kirby;
Kirby::plugin('chrisbeluga/navigation', [
'fields' => [
'navigation' => [
'api' => require_once __DIR__ . '/config/api.php',
'props' => require_once __DIR__ . '/config/props.php',
'save' => require_once __DIR__ . '/config/save.php',
]
],
'translations' => [
'de' => require_once __DIR__ . '/languages/de.php',
'en' => require_once __DIR__ . '/languages/en.php',
'fr' => require_once __DIR__ . '/languages/fr.php',
'tr' => require_once __DIR__ . '/languages/tr.php',
],
'snippets' => [
'navigation' => __DIR__ . '/snippets/navigation.php',
'navigation_item' => __DIR__ . '/snippets/navigation_item.php',
],
'fieldMethods' => require_once __DIR__ . '/config/methods.php',
'options' => [
'edit_title' => TRUE,
'edit_popup' => TRUE,
'edit_target' => FALSE,
'edit_class' => FALSE,
'edit_anchor' => FALSE,
],
]);