mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
52 lines
1.1 KiB
PHP
52 lines
1.1 KiB
PHP
<?php namespace Visiosoft\AdvsModule;
|
|
|
|
use Anomaly\Streams\Platform\Addon\Module\Module;
|
|
|
|
class AdvsModule extends Module
|
|
{
|
|
|
|
/**
|
|
* The navigation display flag.
|
|
*
|
|
* @var bool
|
|
*/
|
|
protected $navigation = true;
|
|
|
|
/**
|
|
* The addon icon.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $icon = 'fa fa-plus-circle';
|
|
|
|
/**
|
|
* The module sections.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $sections = [
|
|
'advs' => [
|
|
'buttons' => [
|
|
'new_adv' => [
|
|
// 'href' => "/advs/create_adv",
|
|
// 'data-toggle' => 'modal',
|
|
// 'data-target' => '#modal',
|
|
// 'href' => 'admin/advs/categories/choose',
|
|
],
|
|
],
|
|
],
|
|
// 'custom_fields' => [
|
|
// 'buttons' => [
|
|
// 'new_custom_field',
|
|
// ],
|
|
// ],
|
|
// 'custom_field_advs' => [
|
|
// // 'buttons' => [
|
|
// // 'new_custom_field_adv',
|
|
// // ],
|
|
// ],
|
|
|
|
];
|
|
|
|
}
|