Файловый менеджер - Редактировать - /var/www/html/components/com_community/assets/source/js/popups/follower.reject.js
Ðазад
(function( root, $, factory ) { joms.popup || (joms.popup = {}); joms.popup.follower || (joms.popup.follower = {}); joms.popup.follower.reject = factory( root, $ ); define([ 'utils/popup', 'functions/notification' ], function() { return joms.popup.follower.reject; }); })( window, joms.jQuery, function( window, $ ) { var id; function render( _id ) { id = _id; joms.ajax({ func: 'followers,ajaxRejectRequest', data: [ id ], callback: function( json ) { if ( json.success ) { update( json ); return; } // On error response. joms.util.popup.prepare(function( mfp ) { mfp.items[0] = { type: 'inline', src: buildErrorHtml( json ) }; mfp.updateItemHTML(); }); } }); } function update( json ) { $( '.joms-js--frequest-msg-' + id ).html( json.message ); $( '.joms-js--frequest-btn-' + id ).remove(); joms.fn.notification.updateCounter( 'frequest', id, -1 ); } function buildErrorHtml( json ) { json || (json = {}); return [ '<div class="joms-popup joms-popup--whiteblock">', '<div class="joms-popup__title"><button class="mfp-close" type="button" title="',window.joms_lang.COM_COMMUNITY_CLOSE_BUTTON_TITLE,'">×</button>', json.title, '</div>', '<div class="joms-popup__content joms-popup__content--single">', ( json.error || json.message ), '</div>', '<div class="joms-popup__action">', '<button class="joms-button--neutral joms-button--small joms-js--button-close">', window.joms_lang.COM_COMMUNITY_CLOSE_BUTTON, '</button>', '</div>', '</div>' ].join(''); } // Exports. return function( id ) { render( id ); }; });
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка