C:\xampp\htdocs\landing\wp-content\plugins\totalpoll\src\Admin\Poll\views\settings\subtab.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
35
36
37
<?php defined'ABSPATH' ) && exit(); ?><div class="totalpoll-tabs-container">
    <div class="totalpoll-tabs">
        <?php $firstSubtab key$tab['tabs'] ) ?>
        <?php foreach ( $tab['tabs'] as $subTabId => $subtab ): ?>
            <div class="totalpoll-tabs-item <?php echo $subTabId == $firstSubtab 'active' ''?>" tab-switch="editor>settings>general><?php echo esc_attr$tabId ); ?>><?php echo esc_attr$subTabId ); ?>">
                <span class="dashicons dashicons-<?php echo esc_attr$subtab['icon'] ); ?>"></span>
                <?php echo esc_html$subtab['label'] ); ?>
            </div>
        <?php endforeach; ?>
    </div>
    <div class="totalpoll-tabs-content">
        <?php foreach ( $tab['tabs'] as $subTabId => $subtab ): ?>
            <div class="totalpoll-tab-content <?php echo $subTabId == $firstSubtab 'active' ''?>" tab="editor>settings>general><?php echo esc_attr$tabId ); ?>><?php echo esc_attr$subTabId ); ?>">
                <?php
                
/**
                 * Fires before settings sub tab content.
                 *
                 * @since 4.0.0
                 */
                
do_action'totalpoll/actions/before/admin/editor/settings/tabs/content'"{$tabId}-{$subTabId});

                
$path = empty( $subtab['file'] ) ? __DIR__ "/{$tabId}/{$subTabId}.php" $subtab['file'];
                if ( 
file_exists$path ) ):
                    include_once 
$path;
                endif;

                
/**
                 * Fires after settings sub tab content.
                 *
                 * @since 4.0.0
                 */
                
do_action'totalpoll/actions/after/admin/editor/settings/tabs/content'"{$tabId}-{$subTabId});
                
?>
            </div>
        <?php endforeach; ?>
    </div>
</div>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586