/var/www/html_uk/wp-content/plugins/automatewoo/admin/views/page-settings.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php

defined
'ABSPATH' ) || exit;

/**
 * @var AutomateWoo\Admin_Settings_Tab_Abstract   $current_tab
 * @var AutomateWoo\Admin_Settings_Tab_Abstract[] $tabs
 */

?>

<div class="wrap woocommerce automatewoo-page automatewoo-page--settings">

    <h2 class="nav-tab-wrapper">
        <?php foreach ( $tabs as $nav_tab ) : ?>
            <a href="<?php echo esc_url$nav_tab->get_url() ); ?>" class="nav-tab <?php echo ( $current_tab->id === $nav_tab->id 'nav-tab-active' '' ); ?>"><?php echo wp_kses_post$nav_tab->name ); ?></a>
        <?php endforeach; ?>
    </h2>

    <div class="aw-settings-messages">
        <?php $current_tab->output_messages(); ?>
    </div>

    <div class="aw-settings-tab-container">

        <?php if ( $current_tab->show_tab_title ) : ?>
            <h3><?php echo wp_kses_post$current_tab->name ); ?></h3>
        <?php endif; ?>

        <?php $current_tab->output(); ?>
    </div>

</div>