SILENT KILLERPanel

Current Path: > home > > transcarter > www > wp-content > plugins > elementor > includes > > > > controls


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home//transcarter/www/wp-content/plugins/elementor/includes////controls

NameTypeSizeLast ModifiedActions
groups Directory - -
alert.php File 1838 bytes July 17 2025 21:06:23.
animation.php File 4870 bytes July 17 2025 21:06:23.
base-data.php File 3750 bytes July 17 2025 21:06:23.
base-icon-font.php File 580 bytes July 17 2025 21:06:23.
base-multiple.php File 2082 bytes July 17 2025 21:06:23.
base-ui.php File 516 bytes July 17 2025 21:06:23.
base-units.php File 3579 bytes July 17 2025 21:06:23.
base.php File 3154 bytes July 17 2025 21:06:23.
box-shadow.php File 3474 bytes July 17 2025 21:06:23.
button.php File 1718 bytes July 17 2025 21:06:23.
choose.php File 2239 bytes July 17 2025 21:06:23.
code.php File 2038 bytes July 17 2025 21:06:23.
color.php File 2084 bytes July 17 2025 21:06:23.
date-time.php File 2085 bytes July 17 2025 21:06:23.
deprecated-notice.php File 2328 bytes July 17 2025 21:06:23.
dimensions.php File 5120 bytes July 17 2025 21:06:23.
divider.php File 829 bytes July 17 2025 21:06:23.
exit-animation.php File 2603 bytes July 17 2025 21:06:23.
font.php File 2269 bytes July 17 2025 21:06:23.
gallery.php File 5825 bytes July 17 2025 21:06:23.
gaps.php File 1657 bytes July 17 2025 21:06:23.
heading.php File 1348 bytes July 17 2025 21:06:23.
hidden.php File 948 bytes July 17 2025 21:06:23.
hover-animation.php File 4425 bytes July 17 2025 21:06:23.
icon.php File 32077 bytes July 17 2025 21:06:23.
icons.php File 7748 bytes July 17 2025 21:06:23.
image-dimensions.php File 3797 bytes July 17 2025 21:06:23.
media.php File 13829 bytes July 17 2025 21:06:23.
notice.php File 4169 bytes July 17 2025 21:06:23.
number.php File 2114 bytes July 17 2025 21:06:23.
popover-toggle.php File 2728 bytes July 17 2025 21:06:23.
raw-html.php File 1519 bytes July 17 2025 21:06:23.
repeater.php File 5083 bytes July 17 2025 21:06:23.
section.php File 1350 bytes July 17 2025 21:06:23.
select.php File 2625 bytes July 17 2025 21:06:23.
select2.php File 2781 bytes July 17 2025 21:06:23.
slider.php File 3572 bytes July 17 2025 21:06:23.
structure.php File 2521 bytes July 17 2025 21:06:23.
switcher.php File 2126 bytes July 17 2025 21:06:23.
tab.php File 1030 bytes July 17 2025 21:06:23.
tabs.php File 944 bytes July 17 2025 21:06:23.
text-shadow.php File 3208 bytes July 17 2025 21:06:23.
text.php File 2130 bytes July 17 2025 21:06:23.
textarea.php File 2054 bytes July 17 2025 21:06:23.
url.php File 5249 bytes July 17 2025 21:06:23.
visual-choice.php File 2204 bytes July 17 2025 21:06:23.
wp-widget.php File 1378 bytes July 17 2025 21:06:23.
wysiwyg.php File 1776 bytes July 17 2025 21:06:23.

Reading File: /home//transcarter/www/wp-content/plugins/elementor/includes////controls/image-dimensions.php

<?php
namespace Elementor;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Elementor image dimensions control.
 *
 * A base control for creating image dimension control. Displays image width
 * input, image height input and an apply button.
 *
 * @since 1.0.0
 */
class Control_Image_Dimensions extends Control_Base_Multiple {

	/**
	 * Get image dimensions control type.
	 *
	 * Retrieve the control type, in this case `image_dimensions`.
	 *
	 * @since 1.0.0
	 * @access public
	 *
	 * @return string Control type.
	 */
	public function get_type() {
		return 'image_dimensions';
	}

	/**
	 * Get image dimensions control default values.
	 *
	 * Retrieve the default value of the image dimensions control. Used to return the
	 * default values while initializing the image dimensions control.
	 *
	 * @since 1.0.0
	 * @access public
	 *
	 * @return array Control default value.
	 */
	public function get_default_value() {
		return [
			'width' => '',
			'height' => '',
		];
	}

	/**
	 * Get image dimensions control default settings.
	 *
	 * Retrieve the default settings of the image dimensions control. Used to return
	 * the default settings while initializing the image dimensions control.
	 *
	 * @since 1.0.0
	 * @access protected
	 *
	 * @return array Control default settings.
	 */
	protected function get_default_settings() {
		return [
			'show_label' => false,
			'label_block' => true,
		];
	}

	/**
	 * Render image dimensions control output in the editor.
	 *
	 * Used to generate the control HTML in the editor using Underscore JS
	 * template. The variables for the class are available using `data` JS
	 * object.
	 *
	 * @since 1.0.0
	 * @access public
	 */
	public function content_template() {
		if ( ! $this->is_image_editor_supports() ) : ?>
			<div class="elementor-panel-alert elementor-panel-alert-danger">
				<?php echo esc_html__( 'The server does not have ImageMagick or GD installed and/or enabled! Any of these libraries are required for WordPress to be able to resize images. Please contact your server administrator to enable this before continuing.', 'elementor' ); ?>
			</div>
			<?php
			return;
		endif;
		?>
		<# if ( data.description ) { #>
			<div class="elementor-control-field-description">{{{ data.description }}}</div>
		<# } #>
		<div class="elementor-control-field">
			<label class="elementor-control-title">{{{ data.label }}}</label>
			<div class="elementor-control-input-wrapper">
				<div class="elementor-image-dimensions-field elementor-control-unit-2">
					<input id="<?php $this->print_control_uid( 'width' ); ?>" type="number" data-setting="width" />
					<label for="<?php $this->print_control_uid( 'width' ); ?>" class="elementor-image-dimensions-field-description"><?php echo esc_html__( 'Width', 'elementor' ); ?></label>
				</div>
				<div class="elementor-image-dimensions-separator">x</div>
				<div class="elementor-image-dimensions-field elementor-control-unit-2">
					<input id="<?php $this->print_control_uid( 'height' ); ?>" type="number" data-setting="height" />
					<label for="<?php $this->print_control_uid( 'height' ); ?>" class="elementor-image-dimensions-field-description"><?php echo esc_html__( 'Height', 'elementor' ); ?></label>
				</div>
				<button class="elementor-button elementor-image-dimensions-apply-button"><?php echo esc_html__( 'Apply', 'elementor' ); ?></button>
			</div>
		</div>
		<?php
	}

	/**
	 * Image editor support.
	 *
	 * Used to determine whether the editor supports a given image mime-type.
	 *
	 * @since 2.0.0
	 * @access private
	 *
	 * @return bool Whether the editor supports the given mime-type.
	 */
	private function is_image_editor_supports() {
		$arg = [
			'mime_type' => 'image/jpeg',
		];
		return ( wp_image_editor_supports( $arg ) );
	}
}

SILENT KILLER Tool