PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 10.10.2
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v10.10.2
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
acymailing / back / Views / Override / OverrideView.php

OverrideView.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 10.10.2, at back/Views/Override/OverrideView.php

31 lines 660 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace AcyMailing\Views\Override;
4
5 use AcyMailing\Core\AcymView;
6
7 class OverrideView extends AcymView
8 {
9 public function __construct()
10 {
11 parent::__construct();
12
13 $this->tabs = [];
14
15 $tabs = [
16 ACYM_CMS => ACYM_CMS_TITLE,
17 ];
18
19 if (ACYM_CMS === 'joomla') {
20 acym_loadLanguageFile('com_contact');
21 $tabs['com_contact'] = acym_translation('ACYM_CONTACT');
22 }
23
24 acym_trigger('onAcymGetEmailOverrideSources', [&$tabs]);
25
26 foreach ($tabs as $tabLink => $tabName) {
27 $this->tabs['listing&overrideMailSource='.$tabLink] = $tabName;
28 }
29 }
30 }
31