| 1 |
<?php |
| 2 |
|
| 3 |
namespace AcyMailing\Controllers; |
| 4 |
|
| 5 |
use AcyMailing\Core\AcymController; |
| 6 |
use AcyMailing\Controllers\Lists\Listing; |
| 7 |
use AcyMailing\Controllers\Lists\Edition; |
| 8 |
use AcyMailing\Controllers\Lists\Ajax; |
| 9 |
|
| 10 |
class ListsController extends AcymController |
| 11 |
{ |
| 12 |
use Listing; |
| 13 |
use Edition; |
| 14 |
use Ajax; |
| 15 |
|
| 16 |
public const LIST_EDITION_TABS_GENERAL = 'general'; |
| 17 |
public const LIST_EDITION_TABS_SUBSCRIBERS = 'subscribers'; |
| 18 |
public const LIST_EDITION_TABS_UNSUBSCRIPTIONS = 'unsubscriptions'; |
| 19 |
|
| 20 |
public function __construct() |
| 21 |
{ |
| 22 |
parent::__construct(); |
| 23 |
$this->breadcrumb[acym_translation('ACYM_LISTS')] = acym_completeLink('lists'); |
| 24 |
$this->loadScripts = [ |
| 25 |
'settings' => [ |
| 26 |
'colorpicker', |
| 27 |
'vue-applications' => [ |
| 28 |
'list_subscribers', |
| 29 |
'entity_select', |
| 30 |
], |
| 31 |
], |
| 32 |
]; |
| 33 |
} |
| 34 |
} |
| 35 |
|