Plugin Directory

Changeset 3019951


Ignore:
Timestamp:
01/10/2024 04:34:35 PM (2 years ago)
Author:
andreamk
Message:

Staging version 1.5.8

Location:
duplicator
Files:
1169 added
27 edited

Legend:

Unmodified
Added
Removed
  • duplicator/trunk/assets/css/mocks.css

    r2909466 r3019951  
    11/* GENERAL STYLES */
    2 
    3 .margin-bottom-0 {
    4     margin-bottom: 0;
    5 }
    6 
    7 .margin-bottom-1 {
    8     margin-bottom: 20px;
    9 }
    10 
    112.green {
    123    color: #008000;
  • duplicator/trunk/assets/css/style.css

    r2990955 r3019951  
    403403
    404404.dup-header {
     405    display: flex;
     406    justify-content: space-between;
     407    align-items: center;
     408    width: calc(100% - 40px);
    405409    border-top: 3px solid #fe4716;
    406410    padding: 20px;
    407411    padding-bottom: 0px;
     412    position: relative;
     413    left: 0px;
     414}
     415
     416.duplicator-help-open {
     417    border-radius: 100%;
     418    width: 40px;
     419    height: 40px;
     420    border-color: transparent;
     421    background: #c8c8c8;
     422    cursor: pointer;
     423}
     424
     425.duplicator-help-open .fa-question-circle {
     426    color: #535252;
     427    font-size: 23px;
    408428}
    409429
     
    12561276    color: #e27730;
    12571277}
     1278
     1279/* Ajax loader */
     1280#duplicator-ajax-loader {
     1281    display: none;
     1282    opacity: 0;
     1283    position: fixed;
     1284    top: 0;
     1285    left: 0;
     1286    z-index: 100000000;
     1287    width: 100%;
     1288    height: 100%;
     1289    width: 100vw;
     1290    height: 100vh;
     1291    background-color: rgba(200, 200, 200, 0.3);
     1292}
     1293
     1294#duplicator-ajax-loader-img-wrapper {
     1295    position: absolute;
     1296    top: 50%;
     1297    left: 50%;
     1298    transform: translate(-50%, -50%);
     1299    opacity: 0.8;
     1300}
     1301
     1302#duplicator-ajax-loader-img-wrapper img {
     1303    animation-name: ajax-loader-spin;
     1304    animation-duration: 2s;
     1305    animation-iteration-count: infinite;
     1306    animation-timing-function: linear;
     1307    width: 100px;
     1308}
     1309
     1310@keyframes ajax-loader-spin {
     1311    0% {
     1312        transform: rotate(0deg);
     1313    }
     1314
     1315    100% {
     1316        transform: rotate(360deg);
     1317    }
     1318}
     1319
     1320/** General styles */
     1321.margin-top-0 {
     1322    margin-top: 0;
     1323}
     1324
     1325.margin-top-1 {
     1326    margin-top: 20px;
     1327}
     1328
     1329.margin-top-2 {
     1330    margin-top: 40px;
     1331}
     1332
     1333.margin-bottom-0 {
     1334    margin-bottom: 0;
     1335}
     1336
     1337.margin-bottom-1 {
     1338    margin-bottom: 20px;
     1339}
     1340
     1341.margin-bottom-2 {
     1342    margin-bottom: 40px;
     1343}
     1344
     1345.margin-left-0 {
     1346    margin-left: 0;
     1347}
     1348
     1349.margin-left-1 {
     1350    margin-left: 20px;
     1351}
     1352
     1353.margin-left-2 {
     1354    margin-left: 40px;
     1355}
     1356
     1357.margin-right-0 {
     1358    margin-right: 0;
     1359}
     1360
     1361.margin-right-1 {
     1362    margin-right: 20px;
     1363}
     1364
     1365.margin-right-2 {
     1366    margin-right: 40px;
     1367}
  • duplicator/trunk/assets/js/javascript.php

    r2881201 r3019951  
    88//UNIQUE NAMESPACE
    99Duplicator          = new Object();
     10Duplicator.Util     = new Object();
    1011Duplicator.UI       = new Object();
    1112Duplicator.Pack     = new Object();
     
    1314Duplicator.Tools    = new Object();
    1415Duplicator.Debug    = new Object();
     16Duplicator.Help     = new Object();
    1517
    1618//GLOBAL CONSTANTS
     
    382384    $('div.dup-wpnotice-box').show(300);
    383385
     386    /**
     387     *
     388     * @param string message // html message conent
     389     * @param string errLevel // notice warning error
     390     * @param function updateCallback // called after message content is updated
     391     *
     392     * @returns void
     393     */
     394    Duplicator.addAdminMessage = function (message, errLevel, options) {
     395        let settings = $.extend({}, {
     396            'isDismissible': true,
     397            'hideDelay': 0, // 0 no hide or millisec
     398            'updateCallback': false
     399        }, options);
     400
     401        var classErrLevel = 'notice';
     402        switch (errLevel) {
     403            case 'error':
     404                classErrLevel = 'notice-error';
     405                break;
     406            case 'warning':
     407                classErrLevel = 'update-nag';
     408                break;
     409            case 'notice':
     410            default:
     411                classErrLevel = 'updated notice-success';
     412                break;
     413        }
     414
     415        var noticeCLasses = 'duplicator-admin-notice notice ' + classErrLevel + ' no_display';
     416        if (settings.isDismissible) {
     417            noticeCLasses += ' is-dismissible';
     418        }
     419
     420        var msgNode = $('<div class="' + noticeCLasses + '">' +
     421                '<div class="margin-top-1 margin-bottom-1 msg-content">' + message + '</div>' +
     422                '</div>');
     423        var dismissButton = $('<button type="button" class="notice-dismiss">' +
     424                '<span class="screen-reader-text">Dismiss this notice.</span>' +
     425                '</button>');
     426
     427        var anchor = $("#wpcontent");
     428        if (anchor.find('.wrap').length) {
     429            anchor = anchor.find('.wrap').first();
     430        }
     431
     432        if (anchor.find('h1').length) {
     433            anchor = anchor.find('h1').first();
     434            msgNode.insertAfter(anchor);
     435        } else {
     436            msgNode.prependTo(anchor);
     437        }
     438
     439        if (settings.isDismissible) {
     440            dismissButton.appendTo(msgNode).click(function () {
     441                dismissButton.closest('.is-dismissible').fadeOut("slow", function () {
     442                    $(this).remove();
     443                });
     444            });
     445        }
     446
     447        if (typeof settings.updateCallback === "function") {
     448            settings.updateCallback(msgNode);
     449        }
     450
     451        $("body, html").animate({scrollTop: 0}, 500);
     452        $(msgNode).css('display', 'none').removeClass("no_display").fadeIn("slow", function () {
     453            if (settings.hideDelay > 0) {
     454                setTimeout(function () {
     455                    dismissButton.closest('.is-dismissible').fadeOut("slow", function () {
     456                        $(this).remove();
     457                    });
     458                }, settings.hideDelay);
     459            }
     460        });
     461    };
    384462});
    385463
     
    408486
    409487</script>
     488<?php
     489    require_once(DUPLICATOR_PLUGIN_PATH . '/assets/js/duplicator/dup.util.php');
     490?>
     491<script>
     492    <?php
     493        require_once(DUPLICATOR_PLUGIN_PATH . '/assets/js/modal-box.js');
     494        require_once(DUPLICATOR_PLUGIN_PATH . '/assets/js/dynamic-help.js');
     495    ?>
     496</script>
  • duplicator/trunk/classes/ui/class.ui.screen.base.php

    r2929695 r3019951  
    118118        }
    119119    }
    120 
    121     /**
    122      * Get the help support tab view content shown in the help system
    123      *
    124      * @param string $guide The target URL to navigate to on the online user guide
    125      * @param string $faq   The target URL to navigate to on the online user tech FAQ
    126      *
    127      * @return null
    128      */
    129     public function getSupportTab($guide, $faq)
    130     {
    131         $content = __(
    132             "<b>Need Help?</b>  Please check out these resources first:"
    133             . "<ul>"
    134             . "<li><a href='" . DUPLICATOR_DOCS_URL . $guide . "' target='_sc-faq'>"
    135             . "Full Online User Guide</a></li>"
    136             . "<li><a href='" . DUPLICATOR_TECH_FAQ_URL . $faq . "' target='_sc-faq'>"
    137             . "Frequently Asked Questions</a></li>"
    138             . "</ul>",
    139             'duplicator'
    140         );
    141 
    142         $this->screen->add_help_tab(array(
    143             'id'      => 'dup_help_tab_callback',
    144             'title'   => esc_html__('Support', 'duplicator'),
    145             'content' => "<p>{$content}</p>"
    146             ));
    147     }
    148 
    149     /**
    150      * Get the help support side bar found in the right most part of the help system
    151      *
    152      * @return null
    153      */
    154     public function getHelpSidbar()
    155     {
    156         $txt_title = __("Resources", 'duplicator');
    157         $txt_home  = __("Knowledge Base", 'duplicator');
    158         $txt_guide = __("Full User Guide", 'duplicator');
    159         $txt_faq   = __("Technical FAQs", 'duplicator');
    160         $txt_sets  = __("Package Settings", 'duplicator');
    161         $this->screen->set_help_sidebar(
    162             "<div class='dup-screen-hlp-info'><b>" . esc_html($txt_title) . ":</b> <br/>"
    163             . "<i class='fa fa-home'></i> <a href='" . DUPLICATOR_DOCS_URL . "' target='_sc-home'>" . esc_html($txt_home) . "</a> <br/>"
    164             . "<i class='fa fa-book'></i> <a href='" . DUPLICATOR_DOCS_URL . "' target='_sc-guide'>" . esc_html($txt_guide) . "</a> <br/>"
    165             . "<i class='far fa-file-code'></i> <a href='" . DUPLICATOR_TECH_FAQ_URL . "' target='_sc-faq'>" . esc_html($txt_faq) . "</a> <br/>"
    166             . "<i class='fa fa-cog'></i> <a href='admin.php?page=duplicator-settings&tab=package'>" . esc_html($txt_sets) . "</a></div>"
    167         );
    168     }
    169120}
  • duplicator/trunk/define.php

    r2997269 r3019951  
    1212
    1313if (function_exists('plugin_dir_url')) {
    14     define('DUPLICATOR_VERSION', '1.5.7.1');
     14    define('DUPLICATOR_VERSION', '1.5.8');
    1515    define('DUPLICATOR_PLUGIN_URL', plugin_dir_url(__FILE__));
    1616    define('DUPLICATOR_SITE_URL', get_site_url());
  • duplicator/trunk/duplicator-main.php

    r2968781 r3019951  
    4848    require_once 'classes/class.server.php';
    4949    require_once 'classes/ui/class.ui.viewstate.php';
     50    require_once 'classes/ui/class.ui.screen.base.php';
    5051    require_once 'classes/package/class.pack.php';
    51     require_once 'views/packages/screen.php';
    5252    require_once 'ctrls/ctrl.package.php';
    5353    require_once 'ctrls/ctrl.tools.php';
  • duplicator/trunk/duplicator.php

    r2997269 r3019951  
    55 * Plugin URI: https://duplicator.com/
    66 * Description: Migrate and backup a copy of your WordPress files and database. Duplicate and move a site from one location to another quickly.
    7  * Version: 1.5.7.1
    8  * Requires at least: 4.0
     7 * Version: 1.5.8
     8 * Requires at least: 4.9
    99 * Tested up to: 6.4
    10  * Requires PHP: 5.3.8
     10 * Requires PHP: 5.6.20
    1111 * Author: Duplicator
    1212 * Author URI: https://duplicator.com/
     
    3434
    3535// CHECK PHP VERSION
    36 define('DUPLICATOR_LITE_PHP_MINIMUM_VERSION', '5.3.8');
    37 define('DUPLICATOR_LITE_PHP_SUGGESTED_VERSION', '5.6.20');
     36define('DUPLICATOR_LITE_PHP_MINIMUM_VERSION', '5.6.20');
     37define('DUPLICATOR_LITE_PHP_SUGGESTED_VERSION', '7.4');
    3838require_once dirname(__FILE__) . "/src/Utils/DuplicatorPhpVersionCheck.php";
    3939if (DuplicatorPhpVersionCheck::check(DUPLICATOR_LITE_PHP_MINIMUM_VERSION, DUPLICATOR_LITE_PHP_SUGGESTED_VERSION) === false) {
  • duplicator/trunk/installer/dup-installer/main.installer.php

    r2997269 r3019951  
    3535}
    3636
    37 define('DUPX_VERSION', '1.5.7.1');
     37define('DUPX_VERSION', '1.5.8');
    3838define('DUPX_INIT', str_replace('\\', '/', dirname(__FILE__)));
    3939define('DUPX_ROOT', preg_match('/^[\\\\\/]?$/', dirname(DUPX_INIT)) ? '/' : dirname(DUPX_INIT));
  • duplicator/trunk/installer/dup-installer/src/Core/Addons/InstAbstractAddonCore.php

    r2773665 r3019951  
    166166                'author'            => '',
    167167                'authorURI'         => '',
    168                 'requiresWP'        => '4.0',
     168                'requiresWP'        => '4.9',
    169169                'requiresPHP'       => '5.3',
    170170                'requiresDuplcator' => '4.0.2',
  • duplicator/trunk/installer/dup-installer/src/Core/Bootstrap.php

    r2881201 r3019951  
    2121    const ARCHIVE_PREFIX      = 'dup-archive__';
    2222    const ARCHIVE_EXTENSION   = '.txt';
    23     const MINIMUM_PHP_VERSION = '5.3.8';
     23    const MINIMUM_PHP_VERSION = '5.6.20';
    2424
    2525    /**
  • duplicator/trunk/installer/installer.tpl

    r2929695 r3019951  
    100100        const VERSION            = '@@VERSION@@';
    101101
    102         const MINIMUM_PHP_VERSION = '5.3.8';
     102        const MINIMUM_PHP_VERSION = '5.6.20';
    103103
    104104        const ZIP_MODE_AUTO    = 0;
  • duplicator/trunk/languages/duplicator-en_US.po

    r2990955 r3019951  
    55"Project-Id-Version: Duplicator 1.5.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/duplicator\n"
    7 "POT-Creation-Date: 2023-11-06 12:12-0600\n"
    8 "PO-Revision-Date: 2023-11-06 12:12-0600\n"
     7"POT-Creation-Date: 2024-01-08 14:06-0600\n"
     8"PO-Revision-Date: 2024-01-08 14:07-0600\n"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    2020"X-Poedit-SearchPath-0: .\n"
    2121
    22 #: assets/js/javascript.php:270
     22#: assets/js/duplicator/dup.util.php:21
     23msgid "wait ..."
     24msgstr ""
     25
     26#: assets/js/duplicator/dup.util.php:83
     27msgid "RESPONSE SUCCESS"
     28msgstr ""
     29
     30#: assets/js/duplicator/dup.util.php:97
     31#: template/admin_pages/settings/general/general.php:323
     32#: template/admin_pages/settings/general/general.php:376
     33msgid "RESPONSE ERROR!"
     34msgstr ""
     35
     36#: assets/js/duplicator/dup.util.php:106
     37msgid "AJAX ERROR! "
     38msgstr ""
     39
     40#: assets/js/duplicator/dup.util.php:106
     41msgid "Ajax request error"
     42msgstr ""
     43
     44#: assets/js/javascript.php:272
    2345msgid "Copied: "
    2446msgstr ""
    2547
    26 #: assets/js/javascript.php:270 assets/js/javascript.php:272
     48#: assets/js/javascript.php:272 assets/js/javascript.php:274
    2749msgid "unable to copy"
    2850msgstr ""
    2951
    30 #: assets/js/javascript.php:276 assets/js/javascript.php:280
     52#: assets/js/javascript.php:278 assets/js/javascript.php:282
    3153msgid "Copy to Clipboard!"
    3254msgstr ""
     
    185207#: classes/ui/class.ui.dialog.php:90 deactivation.php:155
    186208msgid "Cancel"
    187 msgstr ""
    188 
    189 #: classes/ui/class.ui.screen.base.php:132
    190 msgid ""
    191 "<b>Need Help?</b>  Please check out these resources first:<ul><li><a href='"
    192 msgstr ""
    193 
    194 #: classes/ui/class.ui.screen.base.php:144 views/tools/diagnostics/main.php:45
    195 msgid "Support"
    196 msgstr ""
    197 
    198 #: classes/ui/class.ui.screen.base.php:156
    199 msgid "Resources"
    200 msgstr ""
    201 
    202 #: classes/ui/class.ui.screen.base.php:157
    203 msgid "Knowledge Base"
    204 msgstr ""
    205 
    206 #: classes/ui/class.ui.screen.base.php:158
    207 msgid "Full User Guide"
    208 msgstr ""
    209 
    210 #: classes/ui/class.ui.screen.base.php:159
    211 msgid "Technical FAQs"
    212 msgstr ""
    213 
    214 #: classes/ui/class.ui.screen.base.php:160 views/packages/main/packages.php:113
    215 msgid "Package Settings"
    216209msgstr ""
    217210
     
    610603msgstr ""
    611604
    612 #: src/Core/Bootstrap.php:250 src/Core/Bootstrap.php:475
     605#: src/Core/Bootstrap.php:255 src/Core/Bootstrap.php:480
    613606msgid "Upgrade to Pro"
    614607msgstr ""
    615608
    616 #: src/Core/Bootstrap.php:251
     609#: src/Core/Bootstrap.php:256
    617610msgid "NEW!"
    618611msgstr ""
    619612
    620 #: src/Core/Bootstrap.php:255 src/Core/Bootstrap.php:256
     613#: src/Core/Bootstrap.php:260 src/Core/Bootstrap.php:261
    621614#: views/packages/details/controller.php:67
    622 #: views/packages/main/s3.build.php:124 views/settings/controller.php:37
     615#: views/packages/main/s3.build.php:124 views/settings/controller.php:36
    623616msgid "Packages"
    624617msgstr ""
    625618
    626 #: src/Core/Bootstrap.php:265 src/Core/Bootstrap.php:266
     619#: src/Core/Bootstrap.php:270 src/Core/Bootstrap.php:271
    627620#: views/packages/main/packages.php:128
    628621msgid "Import"
    629622msgstr ""
    630623
    631 #: src/Core/Bootstrap.php:276 src/Core/Bootstrap.php:277
     624#: src/Core/Bootstrap.php:281 src/Core/Bootstrap.php:282
    632625msgid "Schedules"
    633626msgstr ""
    634627
    635 #: src/Core/Bootstrap.php:287 src/Core/Bootstrap.php:288
     628#: src/Core/Bootstrap.php:292 src/Core/Bootstrap.php:293
    636629#: template/mocks/storage/storage.php:59 views/packages/details/detail.php:276
    637 #: views/packages/main/s1.setup2.php:103 views/settings/controller.php:43
     630#: views/packages/main/s1.setup2.php:103 views/settings/controller.php:42
    638631msgid "Storage"
    639632msgstr ""
    640633
    641 #: src/Core/Bootstrap.php:296 src/Core/Bootstrap.php:297
    642 #: views/tools/controller.php:22
     634#: src/Core/Bootstrap.php:301 src/Core/Bootstrap.php:302
     635#: views/tools/controller.php:21
    643636msgid "Tools"
    644637msgstr ""
    645638
    646 #: src/Core/Bootstrap.php:307 src/Core/Bootstrap.php:308
     639#: src/Core/Bootstrap.php:312 src/Core/Bootstrap.php:313
    647640#: template/admin_pages/settings/general/general.php:215
    648 #: views/settings/controller.php:24
     641#: views/settings/controller.php:23
    649642msgid "Settings"
    650643msgstr ""
    651644
    652 #: src/Core/Bootstrap.php:317
     645#: src/Core/Bootstrap.php:322
    653646msgid "About Duplicator"
    654647msgstr ""
    655648
    656 #: src/Core/Bootstrap.php:318 template/admin_pages/about_us/tabs.php:17
     649#: src/Core/Bootstrap.php:323 template/admin_pages/about_us/tabs.php:17
    657650msgid "About Us"
    658651msgstr ""
    659652
    660 #: src/Core/Bootstrap.php:495
     653#: src/Core/Bootstrap.php:500
    661654msgid "Manage Packages"
    662655msgstr ""
    663656
    664 #: src/Core/Bootstrap.php:496 views/settings/license.php:11
     657#: src/Core/Bootstrap.php:501 views/settings/license.php:11
    665658msgid "Manage"
    666659msgstr ""
    667660
    668 #: src/Core/MigrationMng.php:238
     661#: src/Core/MigrationMng.php:242
    669662msgid ""
    670663"NOTICE: Safe mode (Basic) was enabled during install, be sure to re-enable "
     
    672665msgstr ""
    673666
    674 #: src/Core/MigrationMng.php:241
     667#: src/Core/MigrationMng.php:245
    675668msgid ""
    676669"NOTICE: Safe mode (Advanced) was enabled during install, be sure to re-"
     
    678671msgstr ""
    679672
    680 #: src/Core/MigrationMng.php:319
     673#: src/Core/MigrationMng.php:323
    681674#, php-format
    682675msgid "Installer file <b>%s</b> removed for security reasons"
    683676msgstr ""
    684677
    685 #: src/Core/MigrationMng.php:324
     678#: src/Core/MigrationMng.php:328
    686679#, php-format
    687680msgid ""
     
    689682msgstr ""
    690683
    691 #: src/Core/MigrationMng.php:335
     684#: src/Core/MigrationMng.php:339
    692685#, php-format
    693686msgid "Installer file <b>%s</b> renamed with HASH"
    694687msgstr ""
    695688
    696 #: src/Core/MigrationMng.php:341
     689#: src/Core/MigrationMng.php:345
    697690#, php-format
    698691msgid ""
     
    701694msgstr ""
    702695
    703 #: src/Core/MigrationMng.php:373
     696#: src/Core/MigrationMng.php:378
    704697msgid "Original files folder moved in installer backup directory"
    705698msgstr ""
    706699
    707 #: src/Core/MigrationMng.php:378
     700#: src/Core/MigrationMng.php:383
    708701#, php-format
    709702msgid "Can't move %s to %s"
    710703msgstr ""
    711704
    712 #: src/Core/MigrationMng.php:395
     705#: src/Core/MigrationMng.php:400
    713706msgid "Installer log"
    714707msgstr ""
    715708
    716 #: src/Core/MigrationMng.php:396
     709#: src/Core/MigrationMng.php:401
    717710msgid "Installer boot log"
    718711msgstr ""
    719712
    720 #: src/Core/MigrationMng.php:397
     713#: src/Core/MigrationMng.php:402
    721714msgid "Original files folder"
    722715msgstr ""
     
    18101803msgstr ""
    18111804
    1812 #: template/admin_pages/settings/general/general.php:323
    1813 #: template/admin_pages/settings/general/general.php:376
    1814 msgid "RESPONSE ERROR!"
    1815 msgstr ""
    1816 
    18171805#: template/admin_pages/settings/general/general.php:366
    18181806msgid "Packages successfully reset"
     
    19731961msgstr ""
    19741962
    1975 #: template/admin_pages/welcome/footer.php:34
     1963#: template/admin_pages/welcome/footer.php:34 template/parts/help/main.php:243
    19761964msgid "Upgrade to Duplicator Pro"
    19771965msgstr ""
     
    25552543msgstr ""
    25562544
     2545#: template/parts/help/main.php:206
     2546msgid "Search"
     2547msgstr ""
     2548
     2549#: template/parts/help/main.php:208
     2550msgid "No results found"
     2551msgstr ""
     2552
     2553#: template/parts/help/main.php:212
     2554msgid "Related Articles"
     2555msgstr ""
     2556
     2557#: template/parts/help/main.php:222
     2558msgid "View Documentation"
     2559msgstr ""
     2560
     2561#: template/parts/help/main.php:224
     2562msgid "Browse documentation, reference material, and tutorials for Duplicator."
     2563msgstr ""
     2564
     2565#: template/parts/help/main.php:231
     2566msgid "View All Documentation"
     2567msgstr ""
     2568
     2569#: template/parts/help/main.php:236
     2570msgid "Get Support"
     2571msgstr ""
     2572
     2573#: template/parts/help/main.php:237
     2574msgid "Upgrade to Duplicator Pro to access our world class customer support."
     2575msgstr ""
     2576
    25572577#: template/parts/notice-bar.php:45
    25582578#, php-format
     
    25912611msgstr ""
    25922612
    2593 #: views/packages/details/detail.php:92 views/settings/controller.php:31
    2594 #: views/tools/controller.php:25 views/tools/diagnostics/inc.settings.php:35
     2613#: views/packages/details/detail.php:92 views/settings/controller.php:30
     2614#: views/tools/controller.php:24 views/tools/diagnostics/inc.settings.php:35
    25952615msgid "General"
    25962616msgstr ""
     
    29162936msgstr ""
    29172937
    2918 #: views/packages/main/packages.php:120 views/tools/controller.php:26
     2938#: views/packages/main/packages.php:113
     2939msgid "Package Settings"
     2940msgstr ""
     2941
     2942#: views/packages/main/packages.php:120 views/tools/controller.php:25
    29192943msgid "Templates"
    29202944msgstr ""
    29212945
    2922 #: views/packages/main/packages.php:132 views/tools/controller.php:27
     2946#: views/packages/main/packages.php:132 views/tools/controller.php:26
    29232947msgid "Recovery"
    29242948msgstr ""
     
    32073231
    32083232#: views/packages/main/s1.setup1.php:213
    3209 #: views/tools/diagnostics/inc.data.php:26
     3233#: views/tools/diagnostics/inc.data.php:25
    32103234msgid "more info"
    32113235msgstr ""
     
    40774101
    40784102#: views/packages/main/s2.scan3.php:426 views/packages/main/s3.build.php:326
    4079 #: views/packages/screen.php:65
    40804103msgid "Overview"
    40814104msgstr ""
     
    47474770msgstr ""
    47484771
    4749 #: views/packages/screen.php:76
    4750 msgid ""
    4751 "<b><i class='fa fa-archive'></i> Packages » All</b><br/> The 'Packages' "
    4752 "section is the main interface for managing all the packages that have been "
    4753 "created.  A Package consists of two core files, the 'archive.zip' and the "
    4754 "'installer.php' file.  The archive file is a zip file containing all your "
    4755 "WordPress files and a copy of your WordPress database.  The installer file "
    4756 "is a php file that when browsed to via a web browser presents a wizard that "
    4757 "redeploys/installs the website by extracting the archive file and installing "
    4758 "the database.   To create a package, click the 'Create New' button and "
    4759 "follow the prompts. <br/><br/><b><i class='fa fa-download'></i> Downloads</"
    4760 "b><br/>To download the package files click on the Installer and Archive "
    4761 "buttons after creating a package.  The archive file will have a copy of the "
    4762 "installer inside of it named installer-backup.php in case the original "
    4763 "installer file is lost.  To see the details of a package click on the <i "
    4764 "class='fa fa-archive'></i> details button.<br/><br/><b><i class='far fa-file-"
    4765 "archive'></i> Archive Types</b><br/>An archive file can be saved as either "
    4766 "a .zip file or .daf file.  A zip file is a common archive format used to "
    4767 "compress and group files.  The daf file short for 'Duplicator Archive "
    4768 "Format' is a custom format used specifically  for working with larger "
    4769 "packages and scale-ability issues on many shared hosting platforms.  Both "
    4770 "formats work very similar.  The main difference is that the daf file can "
    4771 "only be extracted using the installer.php file or the <a href='"
    4772 msgstr ""
    4773 
    4774 #: views/packages/screen.php:99
    4775 msgid ""
    4776 "<b>Packages New » 1 Setup</b> <br/>The setup step allows for optional "
    4777 "filtered directory paths, files, file extensions and database tables.  To "
    4778 "filter specific system files, click the 'Enable File Filters' checkbox and "
    4779 "add the full path of the file or directory, followed by a semicolon.  For a "
    4780 "file extension add the name (i.e. 'zip') followed by a semicolon. <br/><br/"
    4781 ">To exclude a database table, check the box labeled 'Enable Table Filters' "
    4782 "and check the table name to exclude. To include only a copy of your database "
    4783 "in the archive file check the box labeled 'Archive Only the Database'.  The "
    4784 "installer.php file can optionally be pre-filled with data at install time "
    4785 "but is not required.  <br/><br/>"
    4786 msgstr ""
    4787 
    4788 #: views/packages/screen.php:133
    4789 msgid ""
    4790 "<b>Packages » 3 Build</b> <br/>The final step in the build process where the "
    4791 "installer script and archive of the website can be downloaded.   To start "
    4792 "the install process follow these steps: <ol><li>Download the installer.php "
    4793 "and archive.zip files to your local computer.</li><li>For localhost installs "
    4794 "be sure you have PHP, Apache & MySQL installed on your local computer with "
    4795 "software such as XAMPP, Instant WordPress or MAMP for MAC. Place the package."
    4796 "zip and installer.php into any empty directory under your webroot then "
    4797 "browse to the installer.php via your web browser to launch the install "
    4798 "wizard.</li><li>For remote installs use FTP or cPanel to upload both the "
    4799 "archive.zip and installer.php to your hosting provider. Place the files in a "
    4800 "new empty directory under your host's webroot accessible from a valid URL "
    4801 "such as http://your-domain/your-wp-directory/installer.php to launch the "
    4802 "install wizard. On some hosts the root directory will be a something like "
    4803 "public_html -or- www.  If your're not sure contact your hosting provider. </"
    4804 "li></ol>For complete instructions see:<br/><a href='"
    4805 msgstr ""
    4806 
    4807 #: views/packages/screen.php:151
    4808 msgid ""
    4809 "<b>Packages » Details</b> <br/>The details view will give you a full break-"
    4810 "down of the package including any errors that may have occured during the "
    4811 "install. <br/><br/>"
    4812 msgstr ""
    4813 
    48144772#: views/parts/migration-almost-complete.php:15
    48154773msgid "Restore Backup Almost Complete!"
     
    49584916msgstr ""
    49594917
    4960 #: views/settings/controller.php:49
     4918#: views/settings/controller.php:48
    49614919msgid "Access"
    49624920msgstr ""
    49634921
    4964 #: views/settings/controller.php:55
     4922#: views/settings/controller.php:54
    49654923msgid "License"
    49664924msgstr ""
     
    50455003msgstr ""
    50465004
    5047 #: views/settings/packages.php:125 views/tools/diagnostics/logging.php:183
     5005#: views/settings/packages.php:125 views/tools/diagnostics/logging.php:182
    50485006msgid "Host Recommendation:"
    50495007msgstr ""
    50505008
    5051 #: views/settings/packages.php:126 views/tools/diagnostics/logging.php:184
     5009#: views/settings/packages.php:126 views/tools/diagnostics/logging.php:183
    50525010msgid ""
    50535011"Duplicator recommends going with the high performance pro plan or better "
     
    53625320msgstr ""
    53635321
    5364 #: views/tools/diagnostics/inc.data.php:11
    5365 msgid "Stored Data"
    5366 msgstr ""
    5367 
    5368 #: views/tools/diagnostics/inc.data.php:16
     5322#: views/tools/diagnostics/inc.data.php:12
    53695323msgid "Data Cleanup"
    53705324msgstr ""
    53715325
    5372 #: views/tools/diagnostics/inc.data.php:21
     5326#: views/tools/diagnostics/inc.data.php:20
    53735327msgid "Remove Installation Files"
    53745328msgstr ""
    53755329
    5376 #: views/tools/diagnostics/inc.data.php:25
     5330#: views/tools/diagnostics/inc.data.php:24
    53775331msgid "Removes all reserved installer files."
    53785332msgstr ""
    53795333
    5380 #: views/tools/diagnostics/inc.data.php:30
     5334#: views/tools/diagnostics/inc.data.php:29
    53815335msgid ""
    53825336"Clicking on the 'Remove Installation Files' button will attempt to remove "
     
    53865340msgstr ""
    53875341
    5388 #: views/tools/diagnostics/inc.data.php:45
     5342#: views/tools/diagnostics/inc.data.php:44
    53895343msgid "Clear Build Cache"
    53905344msgstr ""
    53915345
    5392 #: views/tools/diagnostics/inc.data.php:48
     5346#: views/tools/diagnostics/inc.data.php:47
    53935347msgid "Removes all build data from:"
    53945348msgstr ""
    53955349
    5396 #: views/tools/diagnostics/inc.data.php:53
    5397 msgid "Options Values"
    5398 msgstr ""
    5399 
    5400 #: views/tools/diagnostics/inc.data.php:87
    5401 msgid "Delete Option?"
    5402 msgstr ""
    5403 
    5404 #: views/tools/diagnostics/inc.data.php:88
    5405 msgid "Delete the option value just selected?"
    5406 msgstr ""
    5407 
    5408 #: views/tools/diagnostics/inc.data.php:89
    5409 msgid "Removing Option, Please Wait..."
    5410 msgstr ""
    5411 
    5412 #: views/tools/diagnostics/inc.data.php:94
     5350#: views/tools/diagnostics/inc.data.php:59
    54135351msgid "Clear Build Cache?"
    54145352msgstr ""
    54155353
    5416 #: views/tools/diagnostics/inc.data.php:95
     5354#: views/tools/diagnostics/inc.data.php:60
    54175355msgid ""
    54185356"This process will remove all build cache files.  Be sure no packages are "
    54195357"currently building or else they will be cancelled."
    5420 msgstr ""
    5421 
    5422 #: views/tools/diagnostics/inc.data.php:107
    5423 msgid "Delete the option value"
    54245358msgstr ""
    54255359
     
    56545588msgstr ""
    56555589
    5656 #: views/tools/diagnostics/information.php:62
    5657 msgid "Plugin settings reset."
    5658 msgstr ""
    5659 
    5660 #: views/tools/diagnostics/information.php:65
    5661 msgid "View state settings reset."
    5662 msgstr ""
    5663 
    5664 #: views/tools/diagnostics/information.php:68
    5665 msgid "Active package settings reset."
     5590#: views/tools/diagnostics/logging.php:168
     5591msgid "Log file not found or unreadable"
    56665592msgstr ""
    56675593
    56685594#: views/tools/diagnostics/logging.php:169
    5669 msgid "Log file not found or unreadable"
    5670 msgstr ""
    5671 
    5672 #: views/tools/diagnostics/logging.php:170
    56735595msgid ""
    56745596"Try to create a package, since no log files were found in the snapshots "
     
    56765598msgstr ""
    56775599
     5600#: views/tools/diagnostics/logging.php:170
     5601msgid "Reasons for log file not showing"
     5602msgstr ""
     5603
    56785604#: views/tools/diagnostics/logging.php:171
    5679 msgid "Reasons for log file not showing"
     5605msgid "The web server does not support returning .log file extentions"
    56805606msgstr ""
    56815607
    56825608#: views/tools/diagnostics/logging.php:172
    5683 msgid "The web server does not support returning .log file extentions"
    5684 msgstr ""
    5685 
    5686 #: views/tools/diagnostics/logging.php:173
    56875609msgid ""
    56885610"The snapshots directory does not have the correct permissions to write "
     
    56905612msgstr ""
    56915613
    5692 #: views/tools/diagnostics/logging.php:174
     5614#: views/tools/diagnostics/logging.php:173
    56935615msgid ""
    56945616"The process that PHP runs under does not have enough permissions to create "
     
    56965618msgstr ""
    56975619
    5698 #: views/tools/diagnostics/logging.php:190
     5620#: views/tools/diagnostics/logging.php:189
    56995621#, php-format
    57005622msgid ""
     
    57035625msgstr ""
    57045626
    5705 #: views/tools/diagnostics/logging.php:200
    5706 #: views/tools/diagnostics/logging.php:205
     5627#: views/tools/diagnostics/logging.php:199
     5628#: views/tools/diagnostics/logging.php:204
    57075629msgid "Options"
    57085630msgstr ""
    57095631
    5710 #: views/tools/diagnostics/logging.php:207
     5632#: views/tools/diagnostics/logging.php:206
    57115633msgid "Refresh"
    57125634msgstr ""
    57135635
    5714 #: views/tools/diagnostics/logging.php:210
     5636#: views/tools/diagnostics/logging.php:209
    57155637msgid "Auto Refresh"
    57165638msgstr ""
    57175639
     5640#: views/tools/diagnostics/logging.php:215
     5641msgid "Package Logs"
     5642msgstr ""
     5643
    57185644#: views/tools/diagnostics/logging.php:216
    5719 msgid "Package Logs"
    5720 msgstr ""
    5721 
    5722 #: views/tools/diagnostics/logging.php:217
    57235645msgid "Top 20"
    57245646msgstr ""
     
    57305652#: views/tools/diagnostics/main.php:44
    57315653msgid "Logs"
     5654msgstr ""
     5655
     5656#: views/tools/diagnostics/main.php:45
     5657msgid "Support"
    57325658msgstr ""
    57335659
  • duplicator/trunk/languages/duplicator.pot

    r2990955 r3019951  
    66"Project-Id-Version: Duplicator 1.5.3\n"
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/duplicator\n"
    8 "POT-Creation-Date: 2023-11-06 12:12-0600\n"
     8"POT-Creation-Date: 2024-01-08 14:06-0600\n"
    99"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1010"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1818"X-Poedit-SearchPath-0: .\n"
    1919
    20 #: assets/js/javascript.php:270
     20#: assets/js/duplicator/dup.util.php:21
     21msgid "wait ..."
     22msgstr ""
     23
     24#: assets/js/duplicator/dup.util.php:83
     25msgid "RESPONSE SUCCESS"
     26msgstr ""
     27
     28#: assets/js/duplicator/dup.util.php:97
     29#: template/admin_pages/settings/general/general.php:323
     30#: template/admin_pages/settings/general/general.php:376
     31msgid "RESPONSE ERROR!"
     32msgstr ""
     33
     34#: assets/js/duplicator/dup.util.php:106
     35msgid "AJAX ERROR! "
     36msgstr ""
     37
     38#: assets/js/duplicator/dup.util.php:106
     39msgid "Ajax request error"
     40msgstr ""
     41
     42#: assets/js/javascript.php:272
    2143msgid "Copied: "
    2244msgstr ""
    2345
    24 #: assets/js/javascript.php:270 assets/js/javascript.php:272
     46#: assets/js/javascript.php:272 assets/js/javascript.php:274
    2547msgid "unable to copy"
    2648msgstr ""
    2749
    28 #: assets/js/javascript.php:276 assets/js/javascript.php:280
     50#: assets/js/javascript.php:278 assets/js/javascript.php:282
    2951msgid "Copy to Clipboard!"
    3052msgstr ""
     
    175197#: classes/ui/class.ui.dialog.php:90 deactivation.php:155
    176198msgid "Cancel"
    177 msgstr ""
    178 
    179 #: classes/ui/class.ui.screen.base.php:132
    180 msgid "<b>Need Help?</b>  Please check out these resources first:<ul><li><a href='"
    181 msgstr ""
    182 
    183 #: classes/ui/class.ui.screen.base.php:144 views/tools/diagnostics/main.php:45
    184 msgid "Support"
    185 msgstr ""
    186 
    187 #: classes/ui/class.ui.screen.base.php:156
    188 msgid "Resources"
    189 msgstr ""
    190 
    191 #: classes/ui/class.ui.screen.base.php:157
    192 msgid "Knowledge Base"
    193 msgstr ""
    194 
    195 #: classes/ui/class.ui.screen.base.php:158
    196 msgid "Full User Guide"
    197 msgstr ""
    198 
    199 #: classes/ui/class.ui.screen.base.php:159
    200 msgid "Technical FAQs"
    201 msgstr ""
    202 
    203 #: classes/ui/class.ui.screen.base.php:160 views/packages/main/packages.php:113
    204 msgid "Package Settings"
    205199msgstr ""
    206200
     
    568562msgstr ""
    569563
    570 #: src/Core/Bootstrap.php:250 src/Core/Bootstrap.php:475
     564#: src/Core/Bootstrap.php:255 src/Core/Bootstrap.php:480
    571565msgid "Upgrade to Pro"
    572566msgstr ""
    573567
    574 #: src/Core/Bootstrap.php:251
     568#: src/Core/Bootstrap.php:256
    575569msgid "NEW!"
    576570msgstr ""
    577571
    578 #: src/Core/Bootstrap.php:255 src/Core/Bootstrap.php:256
     572#: src/Core/Bootstrap.php:260 src/Core/Bootstrap.php:261
    579573#: views/packages/details/controller.php:67
    580 #: views/packages/main/s3.build.php:124 views/settings/controller.php:37
     574#: views/packages/main/s3.build.php:124 views/settings/controller.php:36
    581575msgid "Packages"
    582576msgstr ""
    583577
    584 #: src/Core/Bootstrap.php:265 src/Core/Bootstrap.php:266
     578#: src/Core/Bootstrap.php:270 src/Core/Bootstrap.php:271
    585579#: views/packages/main/packages.php:128
    586580msgid "Import"
    587581msgstr ""
    588582
    589 #: src/Core/Bootstrap.php:276 src/Core/Bootstrap.php:277
     583#: src/Core/Bootstrap.php:281 src/Core/Bootstrap.php:282
    590584msgid "Schedules"
    591585msgstr ""
    592586
    593 #: src/Core/Bootstrap.php:287 src/Core/Bootstrap.php:288
     587#: src/Core/Bootstrap.php:292 src/Core/Bootstrap.php:293
    594588#: template/mocks/storage/storage.php:59 views/packages/details/detail.php:276
    595 #: views/packages/main/s1.setup2.php:103 views/settings/controller.php:43
     589#: views/packages/main/s1.setup2.php:103 views/settings/controller.php:42
    596590msgid "Storage"
    597591msgstr ""
    598592
    599 #: src/Core/Bootstrap.php:296 src/Core/Bootstrap.php:297
    600 #: views/tools/controller.php:22
     593#: src/Core/Bootstrap.php:301 src/Core/Bootstrap.php:302
     594#: views/tools/controller.php:21
    601595msgid "Tools"
    602596msgstr ""
    603597
    604 #: src/Core/Bootstrap.php:307 src/Core/Bootstrap.php:308
     598#: src/Core/Bootstrap.php:312 src/Core/Bootstrap.php:313
    605599#: template/admin_pages/settings/general/general.php:215
    606 #: views/settings/controller.php:24
     600#: views/settings/controller.php:23
    607601msgid "Settings"
    608602msgstr ""
    609603
    610 #: src/Core/Bootstrap.php:317
     604#: src/Core/Bootstrap.php:322
    611605msgid "About Duplicator"
    612606msgstr ""
    613607
    614 #: src/Core/Bootstrap.php:318 template/admin_pages/about_us/tabs.php:17
     608#: src/Core/Bootstrap.php:323 template/admin_pages/about_us/tabs.php:17
    615609msgid "About Us"
    616610msgstr ""
    617611
    618 #: src/Core/Bootstrap.php:495
     612#: src/Core/Bootstrap.php:500
    619613msgid "Manage Packages"
    620614msgstr ""
    621615
    622 #: src/Core/Bootstrap.php:496 views/settings/license.php:11
     616#: src/Core/Bootstrap.php:501 views/settings/license.php:11
    623617msgid "Manage"
    624618msgstr ""
    625619
    626 #: src/Core/MigrationMng.php:238
     620#: src/Core/MigrationMng.php:242
    627621msgid "NOTICE: Safe mode (Basic) was enabled during install, be sure to re-enable all your plugins."
    628622msgstr ""
    629623
    630 #: src/Core/MigrationMng.php:241
     624#: src/Core/MigrationMng.php:245
    631625msgid "NOTICE: Safe mode (Advanced) was enabled during install, be sure to re-enable all your plugins."
    632626msgstr ""
    633627
    634 #: src/Core/MigrationMng.php:319
     628#: src/Core/MigrationMng.php:323
    635629#, php-format
    636630msgid "Installer file <b>%s</b> removed for security reasons"
    637631msgstr ""
    638632
    639 #: src/Core/MigrationMng.php:324
     633#: src/Core/MigrationMng.php:328
    640634#, php-format
    641635msgid "Can't remove installer file <b>%s</b>, please remove it for security reasons"
    642636msgstr ""
    643637
    644 #: src/Core/MigrationMng.php:335
     638#: src/Core/MigrationMng.php:339
    645639#, php-format
    646640msgid "Installer file <b>%s</b> renamed with HASH"
    647641msgstr ""
    648642
    649 #: src/Core/MigrationMng.php:341
     643#: src/Core/MigrationMng.php:345
    650644#, php-format
    651645msgid "Can't rename installer file <b>%s</b> with HASH, please remove it for security reasons"
    652646msgstr ""
    653647
    654 #: src/Core/MigrationMng.php:373
     648#: src/Core/MigrationMng.php:378
    655649msgid "Original files folder moved in installer backup directory"
    656650msgstr ""
    657651
    658 #: src/Core/MigrationMng.php:378
     652#: src/Core/MigrationMng.php:383
    659653#, php-format
    660654msgid "Can't move %s to %s"
    661655msgstr ""
    662656
    663 #: src/Core/MigrationMng.php:395
     657#: src/Core/MigrationMng.php:400
    664658msgid "Installer log"
    665659msgstr ""
    666660
    667 #: src/Core/MigrationMng.php:396
     661#: src/Core/MigrationMng.php:401
    668662msgid "Installer boot log"
    669663msgstr ""
    670664
    671 #: src/Core/MigrationMng.php:397
     665#: src/Core/MigrationMng.php:402
    672666msgid "Original files folder"
    673667msgstr ""
     
    15941588msgstr ""
    15951589
    1596 #: template/admin_pages/settings/general/general.php:323
    1597 #: template/admin_pages/settings/general/general.php:376
    1598 msgid "RESPONSE ERROR!"
    1599 msgstr ""
    1600 
    16011590#: template/admin_pages/settings/general/general.php:366
    16021591msgid "Packages successfully reset"
     
    17201709msgstr ""
    17211710
    1722 #: template/admin_pages/welcome/footer.php:34
     1711#: template/admin_pages/welcome/footer.php:34 template/parts/help/main.php:243
    17231712msgid "Upgrade to Duplicator Pro"
    17241713msgstr ""
     
    22152204msgstr ""
    22162205
     2206#: template/parts/help/main.php:206
     2207msgid "Search"
     2208msgstr ""
     2209
     2210#: template/parts/help/main.php:208
     2211msgid "No results found"
     2212msgstr ""
     2213
     2214#: template/parts/help/main.php:212
     2215msgid "Related Articles"
     2216msgstr ""
     2217
     2218#: template/parts/help/main.php:222
     2219msgid "View Documentation"
     2220msgstr ""
     2221
     2222#: template/parts/help/main.php:224
     2223msgid "Browse documentation, reference material, and tutorials for Duplicator."
     2224msgstr ""
     2225
     2226#: template/parts/help/main.php:231
     2227msgid "View All Documentation"
     2228msgstr ""
     2229
     2230#: template/parts/help/main.php:236
     2231msgid "Get Support"
     2232msgstr ""
     2233
     2234#: template/parts/help/main.php:237
     2235msgid "Upgrade to Duplicator Pro to access our world class customer support."
     2236msgstr ""
     2237
    22172238#: template/parts/notice-bar.php:45
    22182239#, php-format
     
    22462267msgstr ""
    22472268
    2248 #: views/packages/details/detail.php:92 views/settings/controller.php:31
    2249 #: views/tools/controller.php:25 views/tools/diagnostics/inc.settings.php:35
     2269#: views/packages/details/detail.php:92 views/settings/controller.php:30
     2270#: views/tools/controller.php:24 views/tools/diagnostics/inc.settings.php:35
    22502271msgid "General"
    22512272msgstr ""
     
    25562577msgstr ""
    25572578
    2558 #: views/packages/main/packages.php:120 views/tools/controller.php:26
     2579#: views/packages/main/packages.php:113
     2580msgid "Package Settings"
     2581msgstr ""
     2582
     2583#: views/packages/main/packages.php:120 views/tools/controller.php:25
    25592584msgid "Templates"
    25602585msgstr ""
    25612586
    2562 #: views/packages/main/packages.php:132 views/tools/controller.php:27
     2587#: views/packages/main/packages.php:132 views/tools/controller.php:26
    25632588msgid "Recovery"
    25642589msgstr ""
     
    28302855
    28312856#: views/packages/main/s1.setup1.php:213
    2832 #: views/tools/diagnostics/inc.data.php:26
     2857#: views/tools/diagnostics/inc.data.php:25
    28332858msgid "more info"
    28342859msgstr ""
     
    35443569
    35453570#: views/packages/main/s2.scan3.php:426 views/packages/main/s3.build.php:326
    3546 #: views/packages/screen.php:65
    35473571msgid "Overview"
    35483572msgstr ""
     
    41114135msgstr ""
    41124136
    4113 #: views/packages/screen.php:76
    4114 msgid "<b><i class='fa fa-archive'></i> Packages » All</b><br/> The 'Packages' section is the main interface for managing all the packages that have been created.  A Package consists of two core files, the 'archive.zip' and the 'installer.php' file.  The archive file is a zip file containing all your WordPress files and a copy of your WordPress database.  The installer file is a php file that when browsed to via a web browser presents a wizard that redeploys/installs the website by extracting the archive file and installing the database.   To create a package, click the 'Create New' button and follow the prompts. <br/><br/><b><i class='fa fa-download'></i> Downloads</b><br/>To download the package files click on the Installer and Archive buttons after creating a package.  The archive file will have a copy of the installer inside of it named installer-backup.php in case the original installer file is lost.  To see the details of a package click on the <i class='fa fa-archive'></i> details button.<br/><br/><b><i class='far fa-file-archive'></i> Archive Types</b><br/>An archive file can be saved as either a .zip file or .daf file.  A zip file is a common archive format used to compress and group files.  The daf file short for 'Duplicator Archive Format' is a custom format used specifically  for working with larger packages and scale-ability issues on many shared hosting platforms.  Both formats work very similar.  The main difference is that the daf file can only be extracted using the installer.php file or the <a href='"
    4115 msgstr ""
    4116 
    4117 #: views/packages/screen.php:99
    4118 msgid "<b>Packages New » 1 Setup</b> <br/>The setup step allows for optional filtered directory paths, files, file extensions and database tables.  To filter specific system files, click the 'Enable File Filters' checkbox and add the full path of the file or directory, followed by a semicolon.  For a file extension add the name (i.e. 'zip') followed by a semicolon. <br/><br/>To exclude a database table, check the box labeled 'Enable Table Filters' and check the table name to exclude. To include only a copy of your database in the archive file check the box labeled 'Archive Only the Database'.  The installer.php file can optionally be pre-filled with data at install time but is not required.  <br/><br/>"
    4119 msgstr ""
    4120 
    4121 #: views/packages/screen.php:133
    4122 msgid "<b>Packages » 3 Build</b> <br/>The final step in the build process where the installer script and archive of the website can be downloaded.   To start the install process follow these steps: <ol><li>Download the installer.php and archive.zip files to your local computer.</li><li>For localhost installs be sure you have PHP, Apache & MySQL installed on your local computer with software such as XAMPP, Instant WordPress or MAMP for MAC. Place the package.zip and installer.php into any empty directory under your webroot then browse to the installer.php via your web browser to launch the install wizard.</li><li>For remote installs use FTP or cPanel to upload both the archive.zip and installer.php to your hosting provider. Place the files in a new empty directory under your host's webroot accessible from a valid URL such as http://your-domain/your-wp-directory/installer.php to launch the install wizard. On some hosts the root directory will be a something like public_html -or- www.  If your're not sure contact your hosting provider. </li></ol>For complete instructions see:<br/><a href='"
    4123 msgstr ""
    4124 
    4125 #: views/packages/screen.php:151
    4126 msgid "<b>Packages » Details</b> <br/>The details view will give you a full break-down of the package including any errors that may have occured during the install. <br/><br/>"
    4127 msgstr ""
    4128 
    41294137#: views/parts/migration-almost-complete.php:15
    41304138msgid "Restore Backup Almost Complete!"
     
    42514259msgstr ""
    42524260
    4253 #: views/settings/controller.php:49
     4261#: views/settings/controller.php:48
    42544262msgid "Access"
    42554263msgstr ""
    42564264
    4257 #: views/settings/controller.php:55
     4265#: views/settings/controller.php:54
    42584266msgid "License"
    42594267msgstr ""
     
    43304338msgstr ""
    43314339
    4332 #: views/settings/packages.php:125 views/tools/diagnostics/logging.php:183
     4340#: views/settings/packages.php:125 views/tools/diagnostics/logging.php:182
    43334341msgid "Host Recommendation:"
    43344342msgstr ""
    43354343
    4336 #: views/settings/packages.php:126 views/tools/diagnostics/logging.php:184
     4344#: views/settings/packages.php:126 views/tools/diagnostics/logging.php:183
    43374345msgid "Duplicator recommends going with the high performance pro plan or better from our recommended list"
    43384346msgstr ""
     
    45954603msgstr ""
    45964604
    4597 #: views/tools/diagnostics/inc.data.php:11
    4598 msgid "Stored Data"
    4599 msgstr ""
    4600 
    4601 #: views/tools/diagnostics/inc.data.php:16
     4605#: views/tools/diagnostics/inc.data.php:12
    46024606msgid "Data Cleanup"
    46034607msgstr ""
    46044608
    4605 #: views/tools/diagnostics/inc.data.php:21
     4609#: views/tools/diagnostics/inc.data.php:20
    46064610msgid "Remove Installation Files"
    46074611msgstr ""
    46084612
    4609 #: views/tools/diagnostics/inc.data.php:25
     4613#: views/tools/diagnostics/inc.data.php:24
    46104614msgid "Removes all reserved installer files."
    46114615msgstr ""
    46124616
    4613 #: views/tools/diagnostics/inc.data.php:30
     4617#: views/tools/diagnostics/inc.data.php:29
    46144618msgid "Clicking on the 'Remove Installation Files' button will attempt to remove the installer files used by Duplicator.  These files should not be left on production systems for security reasons. Below are the files that should be removed."
    46154619msgstr ""
    46164620
    4617 #: views/tools/diagnostics/inc.data.php:45
     4621#: views/tools/diagnostics/inc.data.php:44
    46184622msgid "Clear Build Cache"
    46194623msgstr ""
    46204624
    4621 #: views/tools/diagnostics/inc.data.php:48
     4625#: views/tools/diagnostics/inc.data.php:47
    46224626msgid "Removes all build data from:"
    46234627msgstr ""
    46244628
    4625 #: views/tools/diagnostics/inc.data.php:53
    4626 msgid "Options Values"
    4627 msgstr ""
    4628 
    4629 #: views/tools/diagnostics/inc.data.php:87
    4630 msgid "Delete Option?"
    4631 msgstr ""
    4632 
    4633 #: views/tools/diagnostics/inc.data.php:88
    4634 msgid "Delete the option value just selected?"
    4635 msgstr ""
    4636 
    4637 #: views/tools/diagnostics/inc.data.php:89
    4638 msgid "Removing Option, Please Wait..."
    4639 msgstr ""
    4640 
    4641 #: views/tools/diagnostics/inc.data.php:94
     4629#: views/tools/diagnostics/inc.data.php:59
    46424630msgid "Clear Build Cache?"
    46434631msgstr ""
    46444632
    4645 #: views/tools/diagnostics/inc.data.php:95
     4633#: views/tools/diagnostics/inc.data.php:60
    46464634msgid "This process will remove all build cache files.  Be sure no packages are currently building or else they will be cancelled."
    4647 msgstr ""
    4648 
    4649 #: views/tools/diagnostics/inc.data.php:107
    4650 msgid "Delete the option value"
    46514635msgstr ""
    46524636
     
    48644848msgstr ""
    48654849
    4866 #: views/tools/diagnostics/information.php:62
    4867 msgid "Plugin settings reset."
    4868 msgstr ""
    4869 
    4870 #: views/tools/diagnostics/information.php:65
    4871 msgid "View state settings reset."
    4872 msgstr ""
    4873 
    4874 #: views/tools/diagnostics/information.php:68
    4875 msgid "Active package settings reset."
     4850#: views/tools/diagnostics/logging.php:168
     4851msgid "Log file not found or unreadable"
    48764852msgstr ""
    48774853
    48784854#: views/tools/diagnostics/logging.php:169
    4879 msgid "Log file not found or unreadable"
     4855msgid "Try to create a package, since no log files were found in the snapshots directory with the extension *.log"
    48804856msgstr ""
    48814857
    48824858#: views/tools/diagnostics/logging.php:170
    4883 msgid "Try to create a package, since no log files were found in the snapshots directory with the extension *.log"
     4859msgid "Reasons for log file not showing"
    48844860msgstr ""
    48854861
    48864862#: views/tools/diagnostics/logging.php:171
    4887 msgid "Reasons for log file not showing"
     4863msgid "The web server does not support returning .log file extentions"
    48884864msgstr ""
    48894865
    48904866#: views/tools/diagnostics/logging.php:172
    4891 msgid "The web server does not support returning .log file extentions"
     4867msgid "The snapshots directory does not have the correct permissions to write files.  Try setting the permissions to 755"
    48924868msgstr ""
    48934869
    48944870#: views/tools/diagnostics/logging.php:173
    4895 msgid "The snapshots directory does not have the correct permissions to write files.  Try setting the permissions to 755"
    4896 msgstr ""
    4897 
    4898 #: views/tools/diagnostics/logging.php:174
    48994871msgid "The process that PHP runs under does not have enough permissions to create files.  Please contact your hosting provider for more details"
    49004872msgstr ""
    49014873
    4902 #: views/tools/diagnostics/logging.php:190
     4874#: views/tools/diagnostics/logging.php:189
    49034875#, php-format
    49044876msgid "Consider our recommended %1$shost list%2$s if you’re unhappy with your current provider"
    49054877msgstr ""
    49064878
    4907 #: views/tools/diagnostics/logging.php:200
    4908 #: views/tools/diagnostics/logging.php:205
     4879#: views/tools/diagnostics/logging.php:199
     4880#: views/tools/diagnostics/logging.php:204
    49094881msgid "Options"
    49104882msgstr ""
    49114883
    4912 #: views/tools/diagnostics/logging.php:207
     4884#: views/tools/diagnostics/logging.php:206
    49134885msgid "Refresh"
    49144886msgstr ""
    49154887
    4916 #: views/tools/diagnostics/logging.php:210
     4888#: views/tools/diagnostics/logging.php:209
    49174889msgid "Auto Refresh"
    49184890msgstr ""
    49194891
     4892#: views/tools/diagnostics/logging.php:215
     4893msgid "Package Logs"
     4894msgstr ""
     4895
    49204896#: views/tools/diagnostics/logging.php:216
    4921 msgid "Package Logs"
    4922 msgstr ""
    4923 
    4924 #: views/tools/diagnostics/logging.php:217
    49254897msgid "Top 20"
    49264898msgstr ""
     
    49344906msgstr ""
    49354907
     4908#: views/tools/diagnostics/main.php:45
     4909msgid "Support"
     4910msgstr ""
     4911
    49364912#: views/tools/diagnostics/support.php:36
    49374913msgid "Migrating WordPress is a complex process and the logic to make all the magic happen smoothly may not work quickly with every site.  With over 30,000 plugins and a very complex server eco-system some migrations may run into issues.  This is why the Duplicator includes a detailed knowledgebase that can help with many common issues.  Resources to additional support, approved hosting, and alternatives to fit your needs can be found below."
  • duplicator/trunk/src/Ajax/ServicesEducation.php

    r2968781 r3019951  
    286286                if (!is_object($data)) {
    287287                    $requestError['code']    = -1;
    288                     $requestError['message'] = __('Invalid license JSON data.', 'duplicator-pro');
     288                    $requestError['message'] = __('Invalid license JSON data.', 'duplicator');
    289289                    $requestError['details'] = 'Response: ' . wp_remote_retrieve_body($response);
    290290                } else {
  • duplicator/trunk/src/Core/Bootstrap.php

    r2990955 r3019951  
    1919use DUP_Log;
    2020use DUP_Package;
    21 use DUP_Package_Screen;
    2221use DUP_Settings;
     22use DUP_UI_Screen;
     23use Duplicator\Controllers\HelpPageController;
    2324use Duplicator\Utils\Email\EmailSummaryBootstrap;
    2425use Duplicator\Views\AdminNotices;
     
    114115            Notifications::init();
    115116            EmailSummaryPreviewPageController::init();
     117            HelpPageController::init();
    116118            $dashboardService = new ServicesDashboard();
    117119            $dashboardService->init();
     
    185187        /* CSS */
    186188        wp_register_style('dup-jquery-ui', DUPLICATOR_PLUGIN_URL . 'assets/css/jquery-ui.css', null, "1.11.2");
    187         wp_register_style('dup-font-awesome', DUPLICATOR_PLUGIN_URL . 'assets/css/fontawesome-all.min.css', null, '5.7.2');
     189        wp_register_style('dup-font-awesome', DUPLICATOR_PLUGIN_URL . 'assets/css/font-awesome/css/all.min.css', [], '6.4.2');
    188190        wp_register_style('dup-plugin-global-style', DUPLICATOR_PLUGIN_URL . 'assets/css/global_admin_style.css', null, DUPLICATOR_VERSION);
    189191        wp_register_style('dup-plugin-style', DUPLICATOR_PLUGIN_URL . 'assets/css/style.css', array('dup-plugin-global-style'), DUPLICATOR_VERSION);
     
    196198        wp_register_script('dup-jquery-qtip', DUPLICATOR_PLUGIN_URL . 'assets/js/jquery.qtip/jquery.qtip.min.js', array('jquery'), '2.2.1');
    197199
    198         add_action('admin_head', array('DUP_UI_Screen', 'getCustomCss'));
     200        add_action('admin_head', [DUP_UI_Screen::class, 'getCustomCss']);
    199201        // Clean tmp folder
    200202        DUP_Package::not_active_files_tmp_cleanup();
     
    214216    public static function menuInit()
    215217    {
     218        $menuLabel = apply_filters('duplicator_menu_label_duplicator', 'Duplicator');
    216219        //SVG Icon: See https://websemantics.uk/tools/image-to-data-uri-converter/
    217         $hook_prefix = add_menu_page('Duplicator Plugin', 'Duplicator', 'export', 'duplicator', null, DUP_Constants::ICON_SVG);
     220        $hook_prefix = add_menu_page('Duplicator Plugin', $menuLabel, 'export', 'duplicator', null, DUP_Constants::ICON_SVG);
    218221        add_action('admin_print_scripts-' . $hook_prefix, array(__CLASS__, 'scripts'));
    219222        add_action('admin_print_styles-' . $hook_prefix, array(__CLASS__, 'styles'));
     
    222225        $subMenuItems = self::getSubmenuItems();
    223226        foreach ($subMenuItems as $k => $subMenuItem) {
     227            $pageTitle = apply_filters('duplicator_page_title_' . $subMenuItem['menu_slug'], $subMenuItem['page_title']);
     228            $menuLabel = apply_filters('duplicator_menu_label_' . $subMenuItem['menu_slug'], $subMenuItem['menu_title']);
     229
    224230            $subMenuItems[$k]['hook_prefix'] = add_submenu_page(
    225231                $subMenuItem['parent_slug'],
    226                 $subMenuItem['page_title'],
    227                 $subMenuItem['menu_title'],
     232                $pageTitle,
     233                $menuLabel,
    228234                $subMenuItem['capability'],
    229235                $subMenuItem['menu_slug'],
     
    238244            add_action('admin_print_styles-' . $subMenuItems[$k]['hook_prefix'], array(__CLASS__, 'styles'));
    239245        }
    240         $GLOBALS['DUP_Package_Screen'] = new DUP_Package_Screen($subMenuItems[0]['hook_prefix']);
    241246    }
    242247
  • duplicator/trunk/src/Core/Notifications/Notifications.php

    r2990955 r3019951  
    6161            return;
    6262        }
     63
     64        // Add notification count to menu label.
     65        add_filter('duplicator_menu_label_duplicator', function ($label) {
     66            if (self::getCount() === 0) {
     67                return $label;
     68            }
     69            return $label . '<span class="awaiting-mod">' . self::getCount() . '</span>';
     70        });
    6371
    6472        self::update();
  • duplicator/trunk/src/Utils/Email/EmailSummaryBootstrap.php

    r2990955 r3019951  
    165165        if ($frequency === EmailSummary::SEND_FREQ_NEVER) {
    166166            if (wp_next_scheduled(self::CRON_HOOK)) {
    167                 return is_int(wp_clear_scheduled_hook(self::CRON_HOOK));
     167                //have to check return like this because
     168                //wp_clear_scheduled_hook returns void in WP < 5.1
     169                return !self::isFalseOrWpError(wp_clear_scheduled_hook(self::CRON_HOOK));
    168170            } else {
    169171                return true;
     
    172174            if (
    173175                wp_next_scheduled(self::CRON_HOOK)
    174                 && !is_int(wp_clear_scheduled_hook(self::CRON_HOOK)) //make sure we clear the old cron
     176                && self::isFalseOrWpError(wp_clear_scheduled_hook(self::CRON_HOOK))
    175177            ) {
    176178                return false;
    177179            }
    178180
    179             return (wp_schedule_event(
     181            return !self::isFalseOrWpError(wp_schedule_event(
    180182                self::getFirstRunTime($frequency),
    181183                self::getCronSchedule($frequency),
    182184                self::CRON_HOOK
    183             ) === true);
     185            ));
    184186        }
    185187    }
     
    233235        }
    234236    }
     237
     238    /**
     239     * Returns true if is false or wp_error
     240     *
     241     * @param mixed $value The value
     242     *
     243     * @return bool
     244     */
     245    private static function isFalseOrWpError($value)
     246    {
     247        return $value === false || is_wp_error($value);
     248    }
    235249}
  • duplicator/trunk/template/admin_pages/settings/general/email_summary.php

    r2968781 r3019951  
    1717?>
    1818
    19 <h3 class="title"><?php _e('Email Summary', 'duplicator-pro') ?></h3>
     19<h3 class="title"><?php _e('Email Summary', 'duplicator') ?></h3>
    2020<hr size="1" />
    2121<table class="dup-capabilities-selector-wrapper form-table">
    2222    <tr valign="top">
    23         <th scope="row"><label><?php _e('Frequency', 'duplicator-pro'); ?></label></th>
     23        <th scope="row"><label><?php _e('Frequency', 'duplicator'); ?></label></th>
    2424        <td>
    2525            <select id="email-summary-frequency" name="email_summary_frequency">
     
    3636                        'You can view the email summary example %1shere%2s.',
    3737                        '%1s and %2s are the opening and close <a> tags to the summary preview link',
    38                         'duplicator-pro'
     38                        'duplicator'
    3939                    ),
    4040                    '<a href="' . EmailSummary::getPreviewLink() . '" target="_blank">',
  • duplicator/trunk/template/parts/admin-logo-header.php

    r2881207 r3019951  
    44 * @package Duplicator
    55 */
     6
     7use Duplicator\Utils\Help\Help;
     8use Duplicator\Libs\Snap\SnapJson;
    69
    710defined("ABSPATH") || exit;
     
    1316 * @var array<string, mixed> $tplData
    1417 */
     18$helpPageUrl = SnapJson::jsonEncode(Help::getHelpPageUrl());
     19require_once(DUPLICATOR_PLUGIN_PATH . '/assets/js/javascript.php');
    1520?>
     21<script>
     22    jQuery(document).ready(function ($) {
     23        $('.duplicator-help-open').click(function () {
     24            if (Duplicator.Help.isDataLoaded()) {
     25                Duplicator.Help.Display();
     26            } else {
     27                Duplicator.Help.Load(<?php echo $helpPageUrl; ?>);
     28            }
     29        });
     30    });
     31</script>
    1632<div id="dup-meta-screen"></div>
    1733<div class="dup-header">
    1834    <img src="<?php echo DUPLICATOR_PLUGIN_URL . 'assets/img/duplicator-header-logo.svg'; ?>" alt="Duplicator Logo" >
     35    <button class="duplicator-help-open">
     36        <i class="fa-regular fa-question-circle"></i>
     37    </button>
    1938</div>
  • duplicator/trunk/views/packages/controller.php

    r2773665 r3019951  
    88
    99//COMMON HEADER DISPLAY
    10 require_once(DUPLICATOR_PLUGIN_PATH . '/assets/js/javascript.php');
    1110require_once(DUPLICATOR_PLUGIN_PATH . '/views/inc.header.php');
    1211
  • duplicator/trunk/views/packages/details/detail.php

    r2990955 r3019951  
    2727$mysqlcompat_on          = isset($Package->Database->Compatible) && strlen($Package->Database->Compatible);
    2828$mysqlcompat_on          = ($mysqldump_on && $mysqlcompat_on) ? true : false;
    29 $dbbuild_mode            = ($mysqldump_on) ? 'mysqldump' : 'PHP';
     29$dbbuild_mode            = $package->Database->info->buildMode;
    3030$archive_build_mode      = ($package->Archive->Format === 'ZIP') ? 'ZipArchive (zip)' : 'DupArchive (daf)';
    3131$dup_install_secure_on   = isset($package->Installer->OptsSecureOn) ? $package->Installer->OptsSecureOn : 0;
  • duplicator/trunk/views/settings/controller.php

    r2968781 r3019951  
    1313
    1414//COMMON HEADER DISPLAY
    15 require_once(DUPLICATOR_PLUGIN_PATH . '/assets/js/javascript.php');
    1615require_once(DUPLICATOR_PLUGIN_PATH . '/views/inc.header.php');
    1716require_once(DUPLICATOR_PLUGIN_PATH . '/classes/ui/class.ui.dialog.php');
  • duplicator/trunk/views/tools/controller.php

    r2881201 r3019951  
    55defined('ABSPATH') || defined('DUPXABSPATH') || exit;
    66require_once(DUPLICATOR_PLUGIN_PATH . '/classes/ui/class.ui.dialog.php');
    7 require_once(DUPLICATOR_PLUGIN_PATH . '/assets/js/javascript.php');
    87require_once(DUPLICATOR_PLUGIN_PATH . '/views/inc.header.php');
    98
  • duplicator/trunk/views/tools/diagnostics/inc.data.php

    r2773665 r3019951  
    11<?php
     2
    23defined('ABSPATH') || defined('DUPXABSPATH') || exit;
    3     $sql = "SELECT * FROM `{$wpdb->prefix}options` WHERE  `option_name` LIKE  '%duplicator_%' AND  `option_name` NOT LIKE '%duplicator_pro%' ORDER BY option_name";
     4
    45?>
    56
     
    910    <div class="dup-box-title">
    1011        <i class="fa fa-th-list"></i>
    11         <?php esc_html_e("Stored Data", 'duplicator'); ?>
     12        <?php esc_html_e("Data Cleanup", 'duplicator'); ?>
    1213        <div class="dup-box-arrow"></div>
    1314    </div>
    1415    <div class="dup-box-panel" id="dup-settings-diag-opts-panel" style="<?php echo esc_html($ui_css_opts_panel); ?>">
    15         <div style="padding-left:10px">
    16             <h3 class="title"><?php esc_html_e('Data Cleanup', 'duplicator') ?></h3>
    17             <table class="dup-reset-opts">
    18                 <tr style="vertical-align:text-top">
    19                     <td>
    20                         <button id="dup-remove-installer-files-btn" type="button" class="button button-small dup-fixed-btn" onclick="Duplicator.Tools.deleteInstallerFiles();">
    21                             <?php esc_html_e("Remove Installation Files", 'duplicator'); ?>
    22                         </button>
    23                     </td>
    24                     <td>
    25                         <?php esc_html_e("Removes all reserved installer files.", 'duplicator'); ?>
    26                         <a href="javascript:void(0)" onclick="jQuery('#dup-tools-delete-moreinfo').toggle()">[<?php esc_html_e("more info", 'duplicator'); ?>]</a><br/>
     16        <table class="dup-reset-opts">
     17            <tr style="vertical-align:text-top">
     18                <td>
     19                    <button id="dup-remove-installer-files-btn" type="button" class="button button-small dup-fixed-btn" onclick="Duplicator.Tools.deleteInstallerFiles();">
     20                        <?php esc_html_e("Remove Installation Files", 'duplicator'); ?>
     21                    </button>
     22                </td>
     23                <td>
     24                    <?php esc_html_e("Removes all reserved installer files.", 'duplicator'); ?>
     25                    <a href="javascript:void(0)" onclick="jQuery('#dup-tools-delete-moreinfo').toggle()">[<?php esc_html_e("more info", 'duplicator'); ?>]</a><br/>
    2726
    28                         <div id="dup-tools-delete-moreinfo">
    29                             <?php
    30                                 esc_html_e("Clicking on the 'Remove Installation Files' button will attempt to remove the installer files used by Duplicator.  These files should not "
    31                                 . "be left on production systems for security reasons. Below are the files that should be removed.", 'duplicator');
    32                                 echo "<br/><br/>";
     27                    <div id="dup-tools-delete-moreinfo">
     28                        <?php
     29                            esc_html_e("Clicking on the 'Remove Installation Files' button will attempt to remove the installer files used by Duplicator.  These files should not "
     30                            . "be left on production systems for security reasons. Below are the files that should be removed.", 'duplicator');
     31                            echo "<br/><br/>";
    3332
    34                                 $installer_files = array_keys($installer_files);
    35                                 array_push($installer_files, '[HASH]_archive.zip/daf');
    36                                 echo '<i>' . implode('<br/>', $installer_files) . '</i>';
    37                                 echo "<br/><br/>";
    38                                 ?>
    39                         </div>
    40                     </td>
    41                 </tr>
    42                 <tr>
    43                     <td>
    44                         <button type="button" class="button button-small dup-fixed-btn" onclick="Duplicator.Tools.ConfirmClearBuildCache()">
    45                             <?php esc_html_e("Clear Build Cache", 'duplicator'); ?>
    46                         </button>
    47                     </td>
    48                     <td><?php esc_html_e("Removes all build data from:", 'duplicator'); ?> [<?php echo DUP_Settings::getSsdirTmpPath() ?>].</td>
    49                 </tr>
    50             </table>
    51         </div>
    52         <div style="padding:0px 20px 0px 25px">
    53             <h3 class="title" style="margin-left:-15px"><?php esc_html_e("Options Values", 'duplicator') ?> </h3>
    54             <table class="widefat" cellspacing="0">
    55                 <thead>
    56                     <tr>
    57                         <th>Key</th>
    58                         <th>Value</th>
    59                     </tr>
    60                 </thead>
    61                 <tbody>
    62                 <?php
    63                 foreach ($wpdb->get_results("{$sql}") as $key => $row) { ?>
    64                     <tr>
    65                         <td>
    66                             <?php
    67                              echo (in_array($row->option_name, $GLOBALS['DUPLICATOR_OPTS_DELETE']))
    68                                 ? "<a href='javascript:void(0)' onclick='Duplicator.Settings.ConfirmDeleteOption(this)'>" . esc_html($row->option_name) . "</a>"
    69                                 : $row->option_name;
     33                            $installer_files = array_keys($installer_files);
     34                            array_push($installer_files, '[HASH]_archive.zip/daf');
     35                            echo '<i>' . implode('<br/>', $installer_files) . '</i>';
     36                            echo "<br/><br/>";
    7037                            ?>
    71                         </td>
    72                         <td><textarea class="dup-opts-read" readonly="readonly"><?php echo esc_textarea($row->option_value); ?></textarea></td>
    73                     </tr>
    74                 <?php } ?>
    75                 </tbody>
    76             </table>
    77         </div>
     38                    </div>
     39                </td>
     40            </tr>
     41            <tr>
     42                <td>
     43                    <button type="button" class="button button-small dup-fixed-btn" onclick="Duplicator.Tools.ConfirmClearBuildCache()">
     44                        <?php esc_html_e("Clear Build Cache", 'duplicator'); ?>
     45                    </button>
     46                </td>
     47                <td><?php esc_html_e("Removes all build data from:", 'duplicator'); ?> [<?php echo DUP_Settings::getSsdirTmpPath() ?>].</td>
     48            </tr>
     49        </table>
    7850
    7951    </div>
     
    8456THICK-BOX DIALOGS: -->
    8557<?php
    86     $confirm1               = new DUP_UI_Dialog();
    87     $confirm1->title        = __('Delete Option?', 'duplicator');
    88     $confirm1->message      = __('Delete the option value just selected?', 'duplicator');
    89     $confirm1->progressText = __('Removing Option, Please Wait...', 'duplicator');
    90     $confirm1->jscallback   = 'Duplicator.Settings.DeleteOption()';
    91     $confirm1->initConfirm();
    92 
    93     $confirm2             = new DUP_UI_Dialog();
    94     $confirm2->title      = __('Clear Build Cache?', 'duplicator');
    95     $confirm2->message    = __('This process will remove all build cache files.  Be sure no packages are currently building or else they will be cancelled.', 'duplicator');
    96     $confirm2->jscallback = 'Duplicator.Tools.ClearBuildCache()';
    97     $confirm2->initConfirm();
     58    $confirmClearBuildCache             = new DUP_UI_Dialog();
     59    $confirmClearBuildCache->title      = __('Clear Build Cache?', 'duplicator');
     60    $confirmClearBuildCache->message    = __('This process will remove all build cache files.  Be sure no packages are currently building or else they will be cancelled.', 'duplicator');
     61    $confirmClearBuildCache->jscallback = 'Duplicator.Tools.ClearBuildCache()';
     62    $confirmClearBuildCache->initConfirm();
    9863?>
    9964
     
    10166jQuery(document).ready(function($)
    10267{
    103     Duplicator.Settings.ConfirmDeleteOption = function (anchor)
    104     {
    105         var key = $(anchor).text();
    106         var msg_id = '<?php echo esc_js($confirm1->getMessageID()); ?>';
    107         var msg    = '<?php esc_html_e('Delete the option value', 'duplicator');?>' + ' [' + key + '] ?';
    108         jQuery('#dup-remove-options-value').val(key);
    109         jQuery('#' + msg_id).html(msg)
    110         <?php $confirm1->showConfirm(); ?>
    111     }
    112 
    113     Duplicator.Settings.DeleteOption = function ()
    114     {
    115         jQuery('#dup-settings-form').submit();
    116     }
    117 
    11868    Duplicator.Tools.ConfirmClearBuildCache = function ()
    11969    {
    120          <?php $confirm2->showConfirm(); ?>
     70         <?php $confirmClearBuildCache->showConfirm(); ?>
    12171    }
    12272
  • duplicator/trunk/views/tools/diagnostics/information.php

    r2997269 r3019951  
    4747    }
    4848}
    49 
    50 $remove_response = '';
    51 if (isset($_POST['remove-options'])) {
    52     if (!isset($_POST['_wpnonce']) || !wp_verify_nonce($_POST['_wpnonce'], 'duplicator_settings_page')) {
    53         wp_die(__('Security check failed.', 'duplicator'));
    54     }
    55 
    56     $remove_options = sanitize_text_field($_POST['remove-options']);
    57     $action_result  = DUP_Settings::DeleteWPOption($remove_options);
    58     switch ($remove_options) {
    59         case 'duplicator_settings':
    60                 $remove_response = __('Plugin settings reset.', 'duplicator');
    61             break;
    62         case 'duplicator_ui_view_state':
    63                 $remove_response = __('View state settings reset.', 'duplicator');
    64             break;
    65         case 'duplicator_package_active':
    66                 $remove_response = __('Active package settings reset.', 'duplicator');
    67             break;
    68     }
    69 }
    7049?>
    7150
    7251<form id="dup-settings-form" action="<?php echo admin_url('admin.php?page=duplicator-tools&tab=diagnostics&section=info'); ?>" method="post">
    73     <?php wp_nonce_field('duplicator_settings_page', '_wpnonce', false); ?>
    74     <input type="hidden" id="dup-remove-options-value" name="remove-options" value="">
    75 
    7652    <?php
    77     if (! empty($remove_response)) {
    78         echo "<div id='message' class='notice notice-success is-dismissible dup-wpnotice-box'><p>" . esc_html($remove_response) . "</p></div>";
    79     }
    80 
     53    wp_nonce_field('duplicator_settings_page', '_wpnonce', false);
    8154    include_once 'inc.data.php';
    8255    include_once 'inc.settings.php';
     
    8457    include_once 'inc.phpinfo.php';
    8558    ?>
    86    
    8759</form>
  • duplicator/trunk/views/tools/diagnostics/logging.php

    r2990955 r3019951  
    44
    55defined('ABSPATH') || defined('DUPXABSPATH') || exit;
    6 require_once(DUPLICATOR_PLUGIN_PATH . '/assets/js/javascript.php');
    76require_once(DUPLICATOR_PLUGIN_PATH . '/views/inc.header.php');
    87
Note: See TracChangeset for help on using the changeset viewer.