1.support frps>=0.52.3

2.add page for english
This commit is contained in:
杨黄林
2023-12-05 00:10:55 +08:00
parent cbd9611c3d
commit 8c4e8d82ac
13 changed files with 638 additions and 2314 deletions

View File

@@ -1,4 +1,4 @@
var http_port, https_port;
var httpPort, httpsPort;
(function ($) {
$(function () {
function init() {
@@ -47,4 +47,15 @@ var http_port, https_port;
init();
});
})(layui.$);
})(layui.$);
var pageOptions = {
layout: navigator.language.indexOf("zh") === -1 ? ['prev', 'page', 'next', 'skip', 'limit'] : ['prev', 'page', 'next', 'skip', 'count', 'limit'],
limitTemplet: function (item) {
if (navigator.language.indexOf("zh") === -1) {
return item + ' / Page';
}
return item + ' 条/页';
},
skipText: navigator.language.indexOf("zh") === -1 ? ['Go to', '', 'Confirm'] : ['到第', '页', '确定']
};