| @@ -1,31 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | - | |
| 3 | -namespace AcyMailing\Views\Automation; | |
| 4 | - | |
| 5 | -use AcyMailing\Core\AcymView; | |
| 6 | - | |
| 7 | -class AutomationView extends AcymView | |
| 8 | -{ | |
| 9 | - public function __construct() | |
| 10 | - { | |
| 11 | - parent::__construct(); | |
| 12 | - | |
| 13 | - $id = acym_getVar('int', 'id'); | |
| 14 | - $layout = acym_getVar('string', 'layout'); | |
| 15 | - if (empty($id) && $layout != 'info') { | |
| 16 | - $this->steps = [ | |
| 17 | - 'action' => 'ACYM_ACTIONS', | |
| 18 | - 'filter' => 'ACYM_ACTIONS_TARGETS', | |
| 19 | - 'summary' => 'ACYM_SUMMARY', | |
| 20 | - ]; | |
| 21 | - } else { | |
| 22 | - $this->steps = [ | |
| 23 | - 'info' => 'ACYM_INFORMATION', | |
| 24 | - 'condition' => 'ACYM_CONDITIONS', | |
| 25 | - 'action' => 'ACYM_ACTIONS', | |
| 26 | - 'filter' => 'ACYM_ACTIONS_TARGETS', | |
| 27 | - 'summary' => 'ACYM_SUMMARY', | |
| 28 | - ]; | |
| 29 | - } | |
| 30 | - } | |
| 31 | -} | |