????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.48.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/pontiacques.org/wp-content/plugins/foobox-image-lightbox/includes/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/pontiacques.org/wp-content/plugins/foobox-image-lightbox/includes/admin/menu.php
<?php
/*
 * FooBox Admin Menu class
 */

if ( ! class_exists( 'FooBox_Admin_Menu' ) ) {

	class FooBox_Admin_Menu {

		function __construct() {
			add_action( 'admin_menu', array( $this, 'register_menu_items' ) );
		}

		/**
		 * @todo add context to the translations
		 */
		function register_menu_items() {

			global $foobox_fs;

			add_menu_page(
				__( 'Getting Started With FooBox', 'foobox-image-lightbox' ),
				__( 'FooBox', 'foobox-image-lightbox' ),
				'manage_options',
				FOOBOX_BASE_SLUG,
				array( $this, 'render_getting_started' ),
				'dashicons-grid-view'
			);

			add_submenu_page(
				FOOBOX_BASE_SLUG,
				__( 'Getting Started With FooBox', 'foobox-image-lightbox' ),
				__( 'Getting Started', 'foobox-image-lightbox' ),
				'manage_options',
				FOOBOX_BASE_SLUG,
				array( $this, 'render_getting_started' )
			);

			if ( ! $foobox_fs->is_registered() ) {
				add_submenu_page(
					FOOBOX_BASE_SLUG,
					__( 'FooBox Opt-In', 'foobox-image-lightbox' ),
					__( 'Activation', 'foobox-image-lightbox' ),
					'manage_options',
					FOOBOX_BASE_PAGE_SLUG_OPTIN,
					array( $foobox_fs, '_connect_page_render' )
				);
			}

			add_submenu_page(
				FOOBOX_BASE_SLUG,
				__( 'FooBox Settings', 'foobox-image-lightbox' ),
				__( 'Settings', 'foobox-image-lightbox' ),
				'manage_options',
				FOOBOX_BASE_PAGE_SLUG_SETTINGS,
				array( $this, 'render_settings' )
			);

			//allow things to add their own menu items afterwards
			foobox_action_admin_menu_after();
		}

		function render_settings() {
			foobox_action_admin_menu_render_settings();
		}

		function render_getting_started() {
			require_once FOOBOX_BASE_PATH . 'includes/admin/view-getting-started.php';
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit