| @@ -1,0 +1,30 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AcyMailing\Views\Lists; | |
| 4 | + | |
| 5 | +use AcyMailing\Controllers\ListsController; | |
| 6 | +use AcyMailing\Core\AcymView; | |
| 7 | + | |
| 8 | +/** | |
| 9 | + * Class ListsViewLists | |
| 10 | + */ | |
| 11 | +class ListsView extends AcymView | |
| 12 | +{ | |
| 13 | + public $disableTabs = []; | |
| 14 | + | |
| 15 | + public function __construct() | |
| 16 | + { | |
| 17 | + parent::__construct(); | |
| 18 | + | |
| 19 | + $this->tabs = [ | |
| 20 | + ListsController::LIST_EDITION_TABS_GENERAL => 'ACYM_GENERAL', | |
| 21 | + ListsController::LIST_EDITION_TABS_SUBSCRIBERS => 'ACYM_SUBSCRIBERS', | |
| 22 | + ListsController::LIST_EDITION_TABS_UNSUBSCRIPTIONS => 'ACYM_UNSUBSCRIPTIONS', | |
| 23 | + ]; | |
| 24 | + | |
| 25 | + $this->disableTabs = [ | |
| 26 | + ListsController::LIST_EDITION_TABS_SUBSCRIBERS, | |
| 27 | + ListsController::LIST_EDITION_TABS_UNSUBSCRIPTIONS, | |
| 28 | + ]; | |
| 29 | + } | |
| 30 | +} | |