- Rebased master

- Cleaned up import & moved it under Subscribers menu
This commit is contained in:
MrCasual
2015-11-07 14:38:38 -05:00
parent 3f168d052f
commit b1ae07d38e
12 changed files with 546 additions and 316 deletions

View File

@ -1,5 +1,6 @@
<?php
namespace MailPoet\Config;
use \MailPoet\Import\BootstrapMenu;
use \MailPoet\Models\Segment;
use \MailPoet\Models\Setting;
@ -78,7 +79,7 @@ class Menu {
array($this, 'settings')
);
add_submenu_page(
'mailpoet',
'null',
__('Import'),
__('Import'),
'manage_options',
@ -219,9 +220,6 @@ class Menu {
echo $this->renderer->render('import.html', $data);
}
function formEditor() {
$id = (isset($_GET['id']) ? (int)$_GET['id'] : 0);
$form = Form::findOne($id);
@ -240,4 +238,4 @@ class Menu {
echo $this->renderer->render('form/editor.html', $data);
}
}
}