| Server IP : 213.186.33.4 / Your IP : 216.73.216.59 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awebpaca/lessarmoudes/media/plg_quickicon_extensionupdate/js/ |
Upload File : |
/**
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
jQuery(document).ready(function() {
var ajax_structure = {
success: function(data, textStatus, jqXHR) {
try {
var updateInfoList = jQuery.parseJSON(data);
} catch(e) {
// An error occured
jQuery('#plg_quickicon_extensionupdate').find('span').html(plg_quickicon_extensionupdate_text.ERROR);
}
if (updateInfoList instanceof Array) {
if (updateInfoList.length < 1) {
// No updates
jQuery('#plg_quickicon_extensionupdate').find('span').html(plg_quickicon_extensionupdate_text.UPTODATE);
} else {
var updateString = plg_quickicon_extensionupdate_text.UPDATEFOUND.replace("%s", updateInfoList.length);
jQuery('#plg_quickicon_extensionupdate').find('span').html(updateString);
}
} else {
// An error occured
jQuery('#plg_quickicon_extensionupdate').find('span').html(plg_quickicon_extensionupdate_text.ERROR);
}
},
error: function(jqXHR, textStatus, errorThrown) {
// An error occured
jQuery('#plg_quickicon_extensionupdate').find('span').html(plg_quickicon_extensionupdate_text.ERROR);
},
url: plg_quickicon_extensionupdate_ajax_url + '&eid=0&skip=700'
};
ajax_object = new jQuery.ajax(ajax_structure);
});