GRAYBYTE WORDPRESS FILE MANAGER2508

Server IP : 162.213.255.40 / Your IP : 216.73.216.114
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/updraft/plugins-old/foogallery/includes/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/updraft/plugins-old/foogallery/includes//class-il8n.php
<?php
/**
 * Foogallery class for enqueuing the FooGallery_il8n variable into the page
 */

if ( ! class_exists( 'FooGallery_il8n' ) ) {
	class FooGallery_il8n {

		function __construct() {
			add_action( 'foogallery_enqueue_script-core', array( $this, 'enqueue_il8n' ), 10, 1 );
			add_action( 'foogallery_dequeue_script-core', array( $this, 'dequeue_core' ) );
		}

		/**
		 * Enqueue the il8n script
		 *
		 * @param $js
		 *
		 * @return void
		 */
		function enqueue_il8n( $js ) {
			global $foogallery_enqueue_il8n;

			if ( $foogallery_enqueue_il8n ) {
				return;
			}

			$il8n = array();

			$imageviewer_prev_entry = foogallery_get_language_array_value( 'language_imageviewer_prev_text', __( 'Prev', 'foogallery' ) );
			if ( $imageviewer_prev_entry !== false ) {
				$il8n = array_merge_recursive( $il8n, array(
					'template' => array(
						"image-viewer" => array(
							'prev' => esc_html( $imageviewer_prev_entry )
						)
					)
				) );
			}

			$imageviewer_next_entry = foogallery_get_language_array_value( 'language_imageviewer_next_text', __( 'Next', 'foogallery' ) );
			if ( $imageviewer_next_entry !== false ) {
				$il8n = array_merge_recursive( $il8n, array(
					'template' => array(
						"image-viewer" => array(
							'next' => esc_html( $imageviewer_next_entry )
						)
					)
				) );
			}

			$imageviewer_of_entry = foogallery_get_language_array_value( 'language_imageviewer_of_text', __( 'of', 'foogallery' ) );
			if ( $imageviewer_of_entry !== false ) {
				$il8n = array_merge_recursive( $il8n, array(
					'template' => array(
						"image-viewer" => array(
							'of' => esc_html( $imageviewer_of_entry )
						)
					)
				) );
			}

			$il8n = apply_filters( 'foogallery_il8n', $il8n );

			// Only add the script to the page if there is data to be added.
			if ( count( $il8n ) > 0 ) {
				$script = "var FooGallery_il8n = " . foogallery_json_encode( $il8n ) . ';';
				wp_add_inline_script( 'foogallery-core', $script, 'before' );
			}

			$foogallery_enqueue_il8n = true; // To ensure we do not add multiple times on a page with more than 1 gallery.
		}

		/**
		 * Clears
		 *
		 * @return void
		 */
		function dequeue_core() {
			global $foogallery_enqueue_il8n;
			$foogallery_enqueue_il8n = null; // To ensure we once again add the correct il8n script
		}
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
admin
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
compatibility
--
July 23 2025 15:04:09
hellrfbn / hellrfbn
0755
extensions
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
foopluginbase
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
public
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
thumbs
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:28
hellrfbn / hellrfbn
0644
class-attachment-filters.php
1.846 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-animated-gif-support.php
1.089 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-attachment-custom-class.php
1.674 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-attachment-type.php
3.171 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-attachment.php
7.417 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-cache.php
7.718 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-common-fields.php
32.662 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-crop-position.php
9.286 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-datasource-media_library.php
15.408 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-debug.php
4.195 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-extensions-compatibility.php
1.346 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-force-https.php
2.392 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-lazyload.php
8.644 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-lightbox.php
55.908 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-paging.php
17.126 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-sitemaps.php
2.69 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery-widget.php
3.94 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-foogallery.php
15.58 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-gallery-advanced-settings.php
7.686 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-il8n.php
2.344 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-override-thumbnail.php
7.067 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-posttypes.php
4.988 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-retina.php
3.299 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-thumbnail-dimensions.php
9.425 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-thumbnails.php
8.606 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
class-version-check.php
1.416 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
constants.php
2.605 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
functions.php
72.672 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
includes.php
4.986 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
index.php
0.025 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644
render-functions.php
19.077 KB
June 28 2024 16:09:58
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF