Server : Apache System : Linux pod-100823:apache2_74:v0.5.7 5.4.0-1138-gcp #147~18.04.1-Ubuntu SMP Mon Oct 7 21:46:26 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33.7 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system Directory : /nas/content/live/attorneyexperi/wp-content/plugins/imagify/views/input/ |
<?php defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); if ( empty( $data['values'] ) || empty( $data['name'] ) ) { return; } if ( ! isset( $data['value'] ) ) { $data['value'] = key( $data['values'] ); } if ( empty( $data['current_label'] ) ) { $data['current_label'] = __( 'Current value:', 'imagify' ); } if ( ! isset( $data['values'][ $data['value'] ] ) ) { return; } $list_id = str_replace( [ '[', ']' ], [ '-', '' ], $data['name'] ); $list_id = 'imagify-' . $list_id . '-selector-list'; ?> <div class="imagify-selector"> <span class="hide-if-js"> <?php echo esc_html( $data['current_label'] ); ?> <span class="imagify-selector-current-value-info"><?php echo $data['values'][ $data['value'] ]; ?></span> </span> <button aria-controls="<?php echo esc_attr( $list_id ); ?>" type="button" class="button imagify-button-clean hide-if-no-js imagify-selector-button"> <span class="imagify-selector-current-value-info"><?php echo $data['values'][ $data['value'] ]; ?></span> </button> <ul id="<?php echo esc_attr( $list_id ); ?>" role="listbox" aria-orientation="vertical" aria-hidden="true" class="imagify-selector-list hide-if-no-js"> <?php foreach ( $data['values'] as $val => $label ) { $input_id = $list_id . '-' . sanitize_html_class( $val ); ?> <li class="imagify-selector-choice<?php echo $val === $data['value'] ? ' imagify-selector-current-value" aria-current="true' : ''; ?>" role="option"> <input type="radio" name="<?php echo esc_attr( $data['name'] ); ?>" value="<?php echo esc_attr( $val ); ?>" id="<?php echo esc_attr( $input_id ); ?>" <?php checked( $val, $data['value'] ); ?> class="screen-reader-text"> <label for="<?php echo esc_attr( $input_id ); ?>"><?php echo $label; ?></label> </li> <?php } ?> </ul> </div>