HEX
Server: nginx/1.24.0
System: Linux server 6.12.74+deb13+1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.74-2 (2026-03-08) x86_64
User: www (1001)
PHP: 8.5.2
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/claudiayancor.duckdns.org/wp-content/plugins/photonic/include/js/admin/widget.js
/**
 * widget.js - Contains all Widget functionality required by Photonic
 */
var photonicWidgetData;
jQuery(document).ready(function($) {
	(function(win) {
		"use strict";

		$(document).on('click', '.photonic-wizard', function(e) {
			e.preventDefault();

			var clicked = $(this);
			photonicWidgetData = $(clicked.closest('.photonic-widget').find('.photonic-shortcode')[0]);
			tb_show('Click to create gallery', clicked.attr('href'));
		});

		$(document).on('change', '.photonic-shortcode', function() {
			var $sc_field = $(this);
			var $icon = $($(this).closest('.photonic-widget').find('.photonic-wizard')[0]);
			if (top.wp !== undefined && top.wp.shortcode !== undefined) {
				var shortcode = top.wp.shortcode.next(Photonic_Widget_JS.shortcode, $sc_field.attr('value'));
				var attrs = shortcode.shortcode.attrs.named;
				if ($icon.hasClass('photonic')) {
					var $para = $icon.siblings('p');
					$para.html(Photonic_Widget_JS.edit_message);
				}
				if (attrs.type !== undefined) {
					$icon.attr('class', 'photonic-wizard ' + attrs.type);
				}
				else {
					$icon.attr('class', 'photonic-wizard wp');
				}
			}

			var $sc_display = $($(this).closest('.photonic-widget').find('.photonic-shortcode-display')[0]);
			$sc_display.html("<h4>" + Photonic_Widget_JS.current_shortcode + "</h4>\n" +
				"<code>" + $sc_field.attr('value') + "</code>\n");
		});
	}) (window);
});