HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/shootinschool/wp-content/plugins/duplicator/template/parts/admin-logo-header.php
<?php

/**
 * @package Duplicator
 */

use Duplicator\Utils\Help\Help;
use Duplicator\Libs\Snap\SnapJson;

defined("ABSPATH") || exit;

/**
 * Variables
 *
 * @var \Duplicator\Core\Views\TplMng  $tplMng
 * @var array<string, mixed> $tplData
 */
$helpPageUrl = SnapJson::jsonEncode(Help::getHelpPageUrl());
require_once(DUPLICATOR_PLUGIN_PATH . '/assets/js/javascript.php');
?>
<script>
    jQuery(document).ready(function ($) {
        $('.duplicator-help-open').click(function () { 
            if (Duplicator.Help.isDataLoaded()) {
                Duplicator.Help.Display();
            } else {
                Duplicator.Help.Load(<?php echo $helpPageUrl; ?>);
            }
        });
    });
</script>
<div id="dup-meta-screen"></div>
<div class="dup-header">
    <img src="<?php echo DUPLICATOR_PLUGIN_URL . 'assets/img/duplicator-header-logo.svg'; ?>" alt="Duplicator Logo" >
    <button class="duplicator-help-open">
        <i class="fa-regular fa-question-circle"></i>
    </button>
</div>