mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
31 lines
713 B
PHP
31 lines
713 B
PHP
<?php namespace Visiosoft\LocationModule;
|
|
|
|
use Anomaly\Streams\Platform\Addon\Module\Module;
|
|
|
|
class LocationModule extends Module
|
|
{
|
|
protected $navigation = true;
|
|
|
|
protected $icon = 'fa fa-location-arrow';
|
|
|
|
protected $sections = [
|
|
'countries' => [
|
|
'buttons' => [
|
|
'new_country',
|
|
],
|
|
],
|
|
'cities' => [
|
|
'buttons' => [
|
|
'new_city' => [
|
|
'data-toggle' => 'modal',
|
|
'data-target' => '#modal',
|
|
'href' => 'admin/location/cities/choose',
|
|
],
|
|
],
|
|
],
|
|
'districts',
|
|
'neighborhoods',
|
|
'village',
|
|
];
|
|
}
|