403Webshell
Server IP : 51.91.236.193  /  Your IP : 216.73.216.224
Web Server : Apache
System : Linux webm010.cluster128.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : institutah ( 16501)
PHP Version : 7.2.34
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/institutah/www/wp-content/plugins/wordpress-seo/vendor/yoast/license-manager/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/institutah/www/wp-content/plugins/wordpress-seo/vendor/yoast/license-manager/views/script.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	header( 'HTTP/1.0 403 Forbidden' );
	die;
} 
?><script type="text/javascript">
(function($) {
	
	if( typeof YoastLicenseManager !== "undefined" ) {
		return;
	}

	window.YoastLicenseManager = (function () {

		function init() {
			var $keyInputs = $(".yoast-license-key-field.yoast-license-obfuscate");
			var $actionButtons = $('.yoast-license-toggler button');
			var $submitButtons = $('input[type="submit"], button[type="submit"]');

			$submitButtons.click( addDisableEvent );
			$actionButtons.click( actOnLicense );
			$keyInputs.click( setEmptyValue );
		}

		function setEmptyValue() {
			if( ! $(this).is('[readonly]') ) {
				$(this).val('');
			}
		}

		function actOnLicense() {
			var $formScope = $(this).closest('form');
			var $actionButton = $formScope.find('.yoast-license-toggler button');

			// fake input field with exact same name => value			
			$("<input />")
				.attr('type', 'hidden')
				.attr( 'name', $(this).attr('name') )
				.val( $(this).val() )
				.appendTo( $formScope );

			// change button text to show we're working..
			var text = ( $actionButton.hasClass('yoast-license-activate') ) ? "Activating..." : "Deactivating...";
			$actionButton.text( text );
		}

		function addDisableEvent() {
			var $formScope = $(this).closest('form');
			$formScope.submit(disableButtons);
		}

		function disableButtons() {
			var $formScope = $(this).closest('form');
			var $submitButton = $formScope.find('input[type="submit"], button[type="submit"]');
			$submitButton.prop( 'disabled', true );
		}

		return {
			init: init
		}
	
	})();

	YoastLicenseManager.init();

})(jQuery);
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit