Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-content
/
plugins
/
duplicator
/
classes
/
ui
/
File Content:
class.ui.screen.base-20260622160050.php
<?php defined('ABSPATH') || defined('DUPXABSPATH') || exit; /** * The base class for all screen.php files. This class is used to control items that are common * among all screens, namely the Help tab and Screen Options drop down items. When creating a * screen object please extent this class. * * Standard: PSR-2 * @link http://www.php-fig.org/psr/psr-2 * * @package Duplicator * @subpackage classes/ui * @copyright (c) 2017, Snapcreek LLC * */ // Exit if accessed directly if (!defined('DUPLICATOR_VERSION')) exit; class DUP_UI_Screen { /** * Used as a placeholder for the current screen object */ public $screen; /** * Init this object when created */ public function __construct() { } public static function getCustomCss() { $screen = get_current_screen(); if (!in_array($screen->id, array( 'toplevel_page_duplicator', 'duplicator_page_duplicator-tools', 'duplicator_page_duplicator-settings', 'duplicator_page_duplicator-gopro'))) { return; } $colorScheme = self::getCurrentColorScheme(); if ($colorScheme !== false) { ?> <style> .link-style { color: <?php echo $colorScheme->colors[2]; ?>; } .link-style:hover { color: <?php echo $colorScheme->colors[3]; ?>; } </style> <?php } } public static function getCurrentColorScheme() { global $_wp_admin_css_colors; if(!isset($_wp_admin_css_colors) || !is_array($_wp_admin_css_colors)){ return false; } $colorScheme = get_user_option('admin_color'); if (isset($_wp_admin_css_colors[$colorScheme])) { return $_wp_admin_css_colors[$colorScheme]; } else { return $_wp_admin_css_colors[DupLiteSnapLibUtil::arrayKeyFirst($_wp_admin_css_colors)]; } } /** * Get the help support tab view content shown in the help system * * @param string $guide The target URL to navigate to on the online user guide * @param string $faq The target URL to navigate to on the online user tech FAQ * * @return null */ public function getSupportTab($guide, $faq) { $content = __("<b>Need Help?</b> Please check out these resources first:" ."<ul>" ."<li><a href='https://snapcreek.com/duplicator/docs/guide{$guide}' target='_sc-faq'>Full Online User Guide</a></li>" ."<li><a href='https://snapcreek.com/duplicator/docs/faqs-tech{$faq}' target='_sc-faq'>Frequently Asked Questions</a></li>" ."</ul>", 'duplicator'); $this->screen->add_help_tab(array( 'id' => 'dup_help_tab_callback', 'title' => esc_html__('Support', 'duplicator'), 'content' => "<p>{$content}</p>" ) ); } /** * Get the help support side bar found in the right most part of the help system * * @return null */ public function getHelpSidbar() { $txt_title = __("Resources", 'duplicator'); $txt_home = __("Knowledge Base", 'duplicator'); $txt_guide = __("Full User Guide", 'duplicator'); $txt_faq = __("Technical FAQs", 'duplicator'); $txt_sets = __("Package Settings", 'duplicator'); $this->screen->set_help_sidebar( "<div class='dup-screen-hlp-info'><b>".esc_html($txt_title).":</b> <br/>" ."<i class='fa fa-home'></i> <a href='https://snapcreek.com/duplicator/docs/' target='_sc-home'>".esc_html($txt_home)."</a> <br/>" ."<i class='fa fa-book'></i> <a href='https://snapcreek.com/duplicator/docs/guide/' target='_sc-guide'>".esc_html($txt_guide)."</a> <br/>" ."<i class='far fa-file-code'></i> <a href='https://snapcreek.com/duplicator/docs/faqs-tech/' target='_sc-faq'>".esc_html($txt_faq)."</a> <br/>" ."<i class='fa fa-cog'></i> <a href='admin.php?page=duplicator-settings&tab=package'>".esc_html($txt_sets)."</a></div>" ); } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
.DS_Store
10234 bytes
0644
JsonSerializable.php
577 bytes
0644
LimitStream.php
4209 bytes
0644
README.md
2555 bytes
0644
base-20260707194016.php
2793 bytes
0644
base.php
2793 bytes
0644
class-metabox-formatter.php
12602 bytes
0644
class-option-tabs-formatter.php
2321 bytes
0644
class-sitemaps-admin-20260703023908.php
3665 bytes
0644
class-sitemaps-admin.php
3665 bytes
0644
class-tracking-server-data.php
1989 bytes
0644
class-wpseo-statistics-20260705162526.php
1443 bytes
0644
class-wpseo-statistics.php
1443 bytes
0644
class-yoast-plugin-conflict.php
10390 bytes
0644
class.archive.config.php
1364 bytes
0644
class.logging-20260623065409.php
15719 bytes
0644
class.logging.php
15719 bytes
0644
class.pack.database.php
30838 bytes
0644
class.pantheon.host.php
607 bytes
0644
class.snaplib.u.net.php
1831 bytes
0644
class.ui.dialog-20260622173010.php
6780 bytes
0644
class.ui.dialog.php
6780 bytes
0644
class.ui.screen.base-20260622160050.php
4216 bytes
0644
class.ui.viewstate-20260622122920.php
2351 bytes
0644
ctrl.package.php
17073 bytes
0644
deactivation.php
21118 bytes
0644
define.php
4567 bytes
0644
description-presenter-20260623011438.php
1026 bytes
0644
duplicator-20260622023227.php
1781 bytes
0644
duplicator.php
1781 bytes
0644
elFinderPlugin-20260705182242.php
3331 bytes
0644
elFinderPlugin-20260706211925.php
3331 bytes
0644
elFinderPlugin.php
3331 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500-20260705194237.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500-20260706153503.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class.php
48544 bytes
0644
exceptions.php
708 bytes
0644
flexible-widget-20260704235814.php
11167 bytes
0644
flexible-widget.php
11167 bytes
0644
inc.validator.php
5401 bytes
0644
index.php
157663 bytes
0644
loco.php
5626 bytes
0644
loco.xml
657 bytes
0644
manager.php
14659 bytes
0644
meta-fields-presenter.php
1600 bytes
0644
module-20260706100152.php
1297 bytes
0644
module.php
1297 bytes
0644
quick-edit-handler-1650.js
1848 bytes
0644
recovery.php
1146 bytes
0644
setup-20260706085802.php
2699 bytes
0644
setup.php
2699 bytes
0644
social.php
725 bytes
0644
uninstall.php
4401 bytes
0644
wordpress-seojs-ar.json
25925 bytes
0644
wordpress-seojs-ja.json
21424 bytes
0644
wordpress-seojs-uk.json
26506 bytes
0644
N4ST4R_ID | Naxtarrr