Uname:Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64

Base Dir : /var/www/html

User : gavin


403WebShell
403Webshell
Server IP : 68.183.124.220  /  Your IP : 216.73.217.137
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : gavin ( 1000)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/wp-content/plugins/nav-menu-collapse/includes/static/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/nav-menu-collapse/includes/static/class-help.php
<?php
/*!
 * Functionality for plugin help.
 *
 * @since 2.0.0
 *
 * @package    Nav Menu Collapse
 * @subpackage Help
 */

if (!defined('ABSPATH'))
{
	exit;
}

/**
 * Class used to implement plugin help functionality.
 *
 * @since 2.0.0
 */
final class Nav_Menu_Collapse_Help
{
	/**
	 * Output the help tabs.
	 *
	 * @since 2.1.0 Removed 'noreferrer' from links.
	 * @since 2.0.3 Help tab ID change.
	 * @since 2.0.1 Enabled help tabs and added AJAX check.
	 * @since 2.0.0
	 *
	 * @access public static
	 * @param  string  $kb_path     Path to the knowledge base article associated with this help tab.
	 * @param  boolean $plugin_page True if the help tab is being added to a plugin-specific page.
	 * @return void
	 */
	public static function output($kb_path, $plugin_page = true)
	{
		$nmc = Nav_Menu_Collapse();
		
		if
		(
			!empty($kb_path)
			&&
			!$nmc->cache->doing_ajax
		)
		{
			$id = 'nmc-' . $nmc->cache->option_name;
			
			if ($plugin_page === true)
			{
				$nmc->cache->screen->set_help_sidebar('<p><strong>' . __('Plugin developed by', 'nav-menu-collapse') . '</strong><br />'
				. '<a href="https://robertnoakes.com/" target="_blank" rel="noopener">Robert Noakes</a></p>'
				. '<hr />'
				. '<p><a href="' . Nav_Menu_Collapse_Constants::URL_SUPPORT . '" target="_blank" rel="noopener" class="button">' . __('Plugin Support', 'nav-menu-collapse') . '</a></p>'
				. '<p><a href="' . Nav_Menu_Collapse_Constants::URL_REVIEW . '" target="_blank" rel="noopener" class="button">' . __('Review Plugin', 'nav-menu-collapse') . '</a></p>'
				. '<p><a href="' . Nav_Menu_Collapse_Constants::URL_TRANSLATE . '" target="_blank" rel="noopener" class="button">' . __('Translate Plugin', 'nav-menu-collapse') . '</a></p>'
				. '<p><a href="' . Nav_Menu_Collapse_Constants::URL_DONATE . '" target="_blank" rel="noopener" class="button">' . __('Plugin Donation', 'nav-menu-collapse') . '</a></p>');
			}
			else if ($plugin_page !== false)
			{
				$id .= $plugin_page;
			}
			
			$url = Nav_Menu_Collapse_Constants::URL_KB . $kb_path . '/';
			
			$nmc->cache->screen->add_help_tab(array
			(
				'id' => $id,
				'priority' => 20,
				'title' => $nmc->cache->plugin_data['Name'],
				
				'content' => '<h3>' . __('For more information about this page, view the knowledge base article at:', 'nav-menu-collapse') . '<br />'
				. '<a href="' . esc_url($url) . '" target="_blank" rel="noopener">' . $url . '</a></h3>'
			));
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit