Initial commit
This commit is contained in:
commit
65e0da7e11
1397 changed files with 596542 additions and 0 deletions
19
site/OFF_plugins/sortable/sortable.php
Normal file
19
site/OFF_plugins/sortable/sortable.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
if(!function_exists('panel')) return;
|
||||
|
||||
// load the sortable bootstrapper
|
||||
require(__DIR__ . DS . 'sortable' . DS . 'bootstrap.php');
|
||||
|
||||
sortable()->register();
|
||||
|
||||
$kirby->set('field', 'sortable', __DIR__ . DS . 'fields' . DS . 'sortable');
|
||||
$kirby->set('field', 'options' , __DIR__ . DS . 'fields' . DS . 'options');
|
||||
|
||||
if(c::get('sortable.field.redirect', true)) {
|
||||
$kirby->set('field', 'redirect', __DIR__ . DS . 'fields' . DS . 'redirect');
|
||||
}
|
||||
|
||||
if(c::get('sortable.field.modules', true)) {
|
||||
$kirby->set('field', 'modules', __DIR__ . DS . 'fields' . DS . 'modules');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue