HEX
Server: Apache
System: Linux webm010.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: alloesb (202139)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/alloesb/www/wp-content/plugins/pixtypes/features/metaboxes/fields/gallery.php
<?php
/**
 * Wordpress gallery procesing
 */
global $post;

// include our gallery scripts only when we need them
wp_enqueue_media();
wp_enqueue_script( 'pixgallery' );
// ensure the wordpress modal scripts even if an editor is not present
wp_enqueue_script( 'jquery-ui-dialog', false, array( 'jquery' ), false, true );
wp_localize_script( 'pixgallery', 'locals', array(
	'ajax_url'      => admin_url( 'admin-ajax.php' ),
	'pixtypes_l18n' => array(
		'confirmClearGallery' => esc_html__( 'Are you sure you want to clear this gallery?', 'pixtypes' ),
		'alertGalleryIsEmpty' => esc_html__( 'This gallery is already empty!', 'pixtypes' )
	)
) ); ?>
<div id="pixgallery" class="pixgallery_field hidden">
	<ul></ul>
	<a class="open_pixgallery" href="#">
		<input type="hidden" name="<?php echo $field['id']; ?>" id="pixgalleries" value="<?php echo '' !== $meta ? $meta : $field['std'] ?>"/>
		<div><i class="icon dashicons dashicons-images-alt2"></i>
			<span><?php esc_html_e( 'Add Image', 'pixtypes' ); ?></span></div>
		<span class="clear_gallery"><?php esc_html_e( 'Clear', 'pixtypes' ); ?></span>
	</a>
</div>