%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/businessmultisite/wp-content/plugins/duplicator-pro/views/settings/general/
Upload File :
Create Path :
Current File : /var/www/businessmultisite/wp-content/plugins/duplicator-pro/views/settings/general/main.php

<?php

defined("ABSPATH") or die("");
require_once(DUPLICATOR____PATH . '/classes/entities/class.secure.global.entity.php');
$is_freelancer_plus = \Duplicator\Addons\ProBase\License\License::isFreelancer();
$subtab = isset($_REQUEST['subtab']) ? $_REQUEST['subtab'] : 'general';
$txt_general = DUP_PRO_U::__("General Settings");
$txt_profile = DUP_PRO_U::__("Features");
$txt_migrate = DUP_PRO_U::__("Migrate Settings");
$spacer = ' &nbsp;|&nbsp; ';
$url = 'admin.php?page=duplicator-pro-settings';
$link_migrate = "{$spacer}<a href='{$url}&subtab=migrate'>{$txt_migrate}</a>";

switch ($subtab) {
    case 'general':
        //GENERAL TAB
        $html = <<<HTML
        <div class='dpro-sub-tabs'>
                <b>{$txt_general}</b>{$spacer}
                <a href='{$url}&subtab=profile'>{$txt_profile}</a>
                {$link_migrate}
        </div>
HTML;
        echo $html;
        include(DUPLICATOR____PATH . '/views/settings/general/inc.general.php');
        break;
    case 'profile':
        //PROFILE TAB
        $html = <<<HTML
        <div class='dpro-sub-tabs'>
                <a href='{$url}&subtab=general'>{$txt_general}</a>{$spacer}
                <b>{$txt_profile}</b>
                {$link_migrate}
        </div>
HTML;
        echo $html;
        include(DUPLICATOR____PATH . '/views/settings/general/inc.feature.php');
        break;
    case 'migrate':
        //MIGRATE TAB
        $html = <<<HTML
        <div class='dpro-sub-tabs'>
                <a href='{$url}&subtab=general'>{$txt_general}</a>{$spacer}
                <a href='{$url}&subtab=profile'>{$txt_profile}</a>{$spacer}
                <b>{$txt_migrate}</b>
        </div>
HTML;
        echo $html;
        include_once(DUPLICATOR____PATH . '/views/settings/general/inc.migrate.php');
}

Zerion Mini Shell 1.0