403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.153
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/tu-international.com/wp-content/themes/motorx/js/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/tu-international.com/wp-content/themes/motorx/js/admin/sidebars.js
( function( $ ) {
	"use strict";

	var remove_button_markup = '<div class="widgets-holder-toolbar">\
								<a href="" class="button"></a>\
							</div>';

	$.sidebars_remove_button = function( options ) {
		$.each( options.items || [], function ( index, value ) {
			var
			toolbar = $( remove_button_markup ),
			parent  = $( '#' + value ).parent();

			toolbar.find( 'a' )
				.attr( { 'href': ajaxurl + '?action=remove_custom_sidebar&id=' + value } )
				.text( options.button_title || 'remove this area' )
				.on( 'click', function( e ) {
					if ( ! confirm( options.confirm_message || 'Are you sure you want to remove this widget area?' ) ) {
						e.preventDefault();
					}
				} );

			parent.append( toolbar );
		});
	}

	$(function() {
		if ( _sidebarSettings )
			$.sidebars_remove_button( _sidebarSettings );
	});
} ).call( this, jQuery );

Youez - 2016 - github.com/yon3zu
LinuXploit