| 1 |
<?php |
| 2 |
|
| 3 |
use FluentForm\App\Helpers\Helper; |
| 4 |
?> |
| 5 |
<?php do_action('fluentform_global_menu'); ?> |
| 6 |
<h2><?php _e('Tools', 'fluentform'); ?></h2> |
| 7 |
|
| 8 |
<div class="ff_form_wrap"> |
| 9 |
<div class="ff_admin_menu_wrapper"> |
| 10 |
<?php do_action('fluentform_before_export_import_wrapper'); ?> |
| 11 |
|
| 12 |
<div class="ff_admin_menu_sidebar"> |
| 13 |
<ul class="ff_admin_menu_list"> |
| 14 |
<li class="active"> |
| 15 |
<a data-hash="exportforms" |
| 16 |
href="<?php echo Helper::makeMenuUrl('fluent_forms_transfer', ['hash' => 'exportforms']); ?>" |
| 17 |
> |
| 18 |
<?php echo __('Export Forms', 'fluentform'); ?> |
| 19 |
</a> |
| 20 |
</li> |
| 21 |
<li> |
| 22 |
<a data-hash="importforms" |
| 23 |
href="<?php echo Helper::makeMenuUrl('fluent_forms_transfer', ['hash' => 'importforms']); ?>" |
| 24 |
> |
| 25 |
<?php echo __('Import Forms', 'fluentform'); ?> |
| 26 |
</a> |
| 27 |
</li> |
| 28 |
<li> |
| 29 |
<a data-hash="activity-logs" |
| 30 |
href="<?php echo Helper::makeMenuUrl('fluent_forms_transfer', ['hash' => 'activity-logs']); ?>" |
| 31 |
> |
| 32 |
<?php echo __('Activity Logs', 'fluentform'); ?> |
| 33 |
</a> |
| 34 |
</li> |
| 35 |
</ul> |
| 36 |
</div> |
| 37 |
|
| 38 |
<div class="ff_admin_menu_container"> |
| 39 |
<?php do_action('fluentform_before_export_import_container'); ?> |
| 40 |
<div class="ff_transfer" id="ff_transfer_app"> |
| 41 |
<component :is="component" :app="App"></component> |
| 42 |
</div> |
| 43 |
<?php do_action('fluentform_after_before_export_import_container'); ?> |
| 44 |
</div> |
| 45 |
|
| 46 |
<?php do_action('fluentform_after_export_import_wrapper'); ?> |
| 47 |
</div> |
| 48 |
</div> |
| 49 |
|