Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/confenda.com/wp-content/plugins/gallery-photo-gallery/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/confenda.com/wp-content/plugins/gallery-photo-gallery/ays_gpg_shortcode.js
  (function() {
      /* Register the buttons */
      tinymce.create('tinymce.plugins.ays_gpg_button_mce', {
          init : function(ed, url) {
  		   /**
  		   * Adds HTML tag to selected content
  		   */
  			ed.addButton( 'ays_gpg_button_mce', {
  				title : 'Add Gallery',
  				image :  url + '/admin/images/gall_icon.png',
  				cmd: 'ays_gpg_button_cmd'
  			});

  			ed.addCommand( 'ays_gpg_button_cmd', function() {
  				ed.windowManager.open(
  				{
  					title : 'Gallery Photo Gallery',
  					file : ajaxurl + '?action=gen_ays_gpg_shortcode',
  					width : 500,
  					height : 300,
  					inline : 1
  				},
  				{
  					plugin_url : url
  				});

  		   });
  		},
  		createControl : function(n, cm) {
  		   return null;
  		},
  	});
      /* Start the buttons */
      tinymce.PluginManager.add( 'ays_gpg_button_mce', tinymce.plugins.ays_gpg_button_mce );
  })();

ZeroDay Forums Mini