| @@ -7,16 +7,19 @@ | ||
| 7 | 7 | use AcyMailing\Controllers\Plugins\Available; |
| 8 | 8 | |
| 9 | 9 | class PluginsController extends AcymController |
| 10 | 10 | { |
| 11 | - var $tabs, $types, $level, $errors; | |
| 12 | - | |
| 13 | 11 | use Installed; |
| 14 | 12 | use Available; |
| 15 | 13 | |
| 14 | + private array $level; | |
| 15 | + private array $types; | |
| 16 | + private array $tabs; | |
| 17 | + | |
| 16 | 18 | public function __construct() |
| 17 | 19 | { |
| 18 | 20 | parent::__construct(); |
| 21 | + | |
| 19 | 22 | $this->breadcrumb[acym_translation('ACYM_ADD_ONS')] = acym_completeLink('plugins'); |
| 20 | 23 | $this->loadScripts = [ |
| 21 | 24 | 'available' => ['vue-applications' => ['available_plugins']], |
| 22 | 25 | 'installed' => ['datepicker', 'vue-prism-editor', 'vue-applications' => ['custom_view', 'installed_plugins']], |
| @@ -44,13 +47,7 @@ | ||
| 44 | 47 | '' => acym_translation('ACYM_ACYMAILING_LEVEL'), |
| 45 | 48 | 'starter' => 'Starter', |
| 46 | 49 | 'essential' => 'Essential', |
| 47 | 50 | 'enterprise' => 'Enterprise', |
| 48 | - ]; | |
| 49 | - | |
| 50 | - $this->errors = [ | |
| 51 | - 'NOT_ALLOWED' => 'ACYM_NOT_ALLOWED_LEVEL', | |
| 52 | - 'MISSING_DOMAIN' => 'ACYM_MISSING_DOMAIN', | |
| 53 | - 'NOT_FOUND' => 'ACYM_ADD_ON_NOT_FOUND', | |
| 54 | 51 | ]; |
| 55 | 52 | } |
| 56 | 53 | } |