mirror of
https://github.com/tsingui/softcenter-1.git
synced 2024-12-23 18:45:17 +00:00
update
This commit is contained in:
parent
162efb8ea9
commit
9b36248a23
@ -164,16 +164,9 @@ $(function () {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
var enable_ss = "<% nvram_get("enable_ss"); %>";
|
|
||||||
var enable_soft = "<% nvram_get("enable_soft"); %>";
|
|
||||||
function menu_hook(title, tab) {
|
function menu_hook(title, tab) {
|
||||||
if(enable_ss == "1" && enable_soft == "1"){
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "Aliddns");
|
||||||
tabtitle[17] = new Array("", "Aliddns");
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_aliddns.asp");
|
||||||
tablink[17] = new Array("", "Module_aliddns.asp");
|
|
||||||
}else{
|
|
||||||
tabtitle[16] = new Array("", "Aliddns");
|
|
||||||
tablink[16] = new Array("", "Module_aliddns.asp");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function reload_Soft_Center(){
|
function reload_Soft_Center(){
|
||||||
|
Binary file not shown.
@ -106,8 +106,8 @@ function init() {
|
|||||||
generate_glutton_link();
|
generate_glutton_link();
|
||||||
}
|
}
|
||||||
function menu_hook(title, tab) {
|
function menu_hook(title, tab) {
|
||||||
tabtitle[tabtitle.length -1] = new Array("", "aria2");
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "aria2");
|
||||||
tablink[tablink.length -1] = new Array("", "Module_aria2.asp");
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_aria2.asp");
|
||||||
}
|
}
|
||||||
function done_validating(action) {
|
function done_validating(action) {
|
||||||
return true;
|
return true;
|
||||||
@ -121,9 +121,6 @@ function check_ddnsto() {
|
|||||||
$G("aria2_ddnsto").checked = false;
|
$G("aria2_ddnsto").checked = false;
|
||||||
$G("f_aria2_ddnsto").value = "false";
|
$G("f_aria2_ddnsto").value = "false";
|
||||||
$G("ddnsto_status").innerHTML = "<font color=#ffffff>如需远程连接Aria,请正确设置DDNSTO插件并启用!</font>";
|
$G("ddnsto_status").innerHTML = "<font color=#ffffff>如需远程连接Aria,请正确设置DDNSTO插件并启用!</font>";
|
||||||
if (validForm()) {
|
|
||||||
document.aria2_form.submit();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if ($G("aria2_ddnsto").checked){
|
if ($G("aria2_ddnsto").checked){
|
||||||
$G("aria2_rpc_secret").readOnly=true;
|
$G("aria2_rpc_secret").readOnly=true;
|
||||||
@ -286,7 +283,7 @@ function version_check() {
|
|||||||
}
|
}
|
||||||
function get_status() {
|
function get_status() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'applydb.cgi?current_page=Module_aria2.asp&next_page=Module_aria2.asp&group_id=&modified=0&action_mode=+Refresh+&action_script=aria2_status.sh&action_wait=&first_time=&preferred_lang=CN',
|
url: 'applydb.cgi?p=aria2_¤t_page=Module_aria2.asp&next_page=Module_aria2.asp&group_id=&modified=0&action_mode=+Refresh+&action_script=aria2_status.sh&action_wait=&first_time=&preferred_lang=CN',
|
||||||
dataType: 'html',
|
dataType: 'html',
|
||||||
error: function(xhr) {
|
error: function(xhr) {
|
||||||
alert("error");
|
alert("error");
|
||||||
@ -553,7 +550,7 @@ function initial_dir_status(data) {
|
|||||||
if (data != "" && data.length != 2) {
|
if (data != "" && data.length != 2) {
|
||||||
get_layer_items("0");
|
get_layer_items("0");
|
||||||
//eval('var default_dir=' + data);
|
//eval('var default_dir=' + data);
|
||||||
var default_dir= data;
|
var default_dir= data;
|
||||||
} else {
|
} else {
|
||||||
//document.getElementById("EditExports").style.display = "none";
|
//document.getElementById("EditExports").style.display = "none";
|
||||||
disk_flag = 1;
|
disk_flag = 1;
|
||||||
@ -1027,8 +1024,8 @@ function toggle_func() {
|
|||||||
<input type="hidden" name="next_page" value="Module_aria2.asp" />
|
<input type="hidden" name="next_page" value="Module_aria2.asp" />
|
||||||
<input type="hidden" name="group_id" value="" />
|
<input type="hidden" name="group_id" value="" />
|
||||||
<input type="hidden" name="modified" value="0" />
|
<input type="hidden" name="modified" value="0" />
|
||||||
<input type="hidden" name="action_mode" value=" Refresh " />
|
<input type="hidden" name="action_mode" value="" />
|
||||||
<input type="hidden" name="action_script" value="aria2_config.sh" />
|
<input type="hidden" name="action_script" value="" />
|
||||||
<input type="hidden" name="action_wait" value="5" />
|
<input type="hidden" name="action_wait" value="5" />
|
||||||
<input type="hidden" name="first_time" value="" />
|
<input type="hidden" name="first_time" value="" />
|
||||||
<input type="hidden" name="preferred_lang" id="preferred_lang" value="<% nvram_get(" preferred_lang "); %>"/>
|
<input type="hidden" name="preferred_lang" id="preferred_lang" value="<% nvram_get(" preferred_lang "); %>"/>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version":"2.4",
|
"version":"2.4",
|
||||||
"md5":"f4e5e3027db9cafbddd77b4f649f8b64",
|
"md5":"bb97c3ddf4f861781df65e6f0b7cb775",
|
||||||
"home_url":"Module_aria2.asp",
|
"home_url":"Module_aria2.asp",
|
||||||
"title":"Aria2",
|
"title":"Aria2",
|
||||||
"description":"linux下载利器",
|
"description":"linux下载利器",
|
||||||
"build_date":"2019-01-13_18:35:15"
|
"build_date":"2019-01-23_19:00:26"
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
2.4
|
2.4
|
||||||
f4e5e3027db9cafbddd77b4f649f8b64
|
bb97c3ddf4f861781df65e6f0b7cb775
|
||||||
|
@ -168,8 +168,8 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
function menu_hook(title, tab) {
|
function menu_hook(title, tab) {
|
||||||
tabtitle[tabtitle.length -1] = new Array("", "Cloudflare DDNS");
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "Cloudflare DDNS");
|
||||||
tablink[tablink.length -1] = new Array("", "Module_cfddns.asp");
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_cfddns.asp");
|
||||||
}
|
}
|
||||||
|
|
||||||
function reload_Soft_Center(){
|
function reload_Soft_Center(){
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
<script type="text/javascript" src="/res/sha1.js"></script>
|
<script type="text/javascript" src="/res/sha1.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function init() {
|
function init() {
|
||||||
show_menu();
|
show_menu(menu_hook);
|
||||||
buildswitch();
|
buildswitch();
|
||||||
var rrt = document.getElementById("switch");
|
var rrt = document.getElementById("switch");
|
||||||
if (document.form.ddnspod_enable.value != "1") {
|
if (document.form.ddnspod_enable.value != "1") {
|
||||||
@ -152,6 +152,10 @@
|
|||||||
function reload_Soft_Center() {
|
function reload_Soft_Center() {
|
||||||
location.href = "/Main_Soft_center.asp";
|
location.href = "/Main_Soft_center.asp";
|
||||||
}
|
}
|
||||||
|
function menu_hook(title, tab) {
|
||||||
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "ddnspod");
|
||||||
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_ddnspod.asp");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body onload="init();">
|
<body onload="init();">
|
||||||
|
@ -228,15 +228,8 @@ function reload_Soft_Center(){ //返回软件中心按钮
|
|||||||
location.href = "/Main_Soft_center.asp";
|
location.href = "/Main_Soft_center.asp";
|
||||||
}
|
}
|
||||||
function menu_hook(title, tab) {
|
function menu_hook(title, tab) {
|
||||||
var enable_ss = "<% nvram_get("enable_ss"); %>";
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "Frpc 内网穿透");
|
||||||
var enable_soft = "<% nvram_get("enable_soft"); %>";
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_frpc.asp");
|
||||||
if(enable_ss == "1" && enable_soft == "1"){
|
|
||||||
tabtitle[tabtitle.length -2] = new Array("", "Frpc 内网穿透");
|
|
||||||
tablink[tablink.length -2] = new Array("", "Module_frpc.asp");
|
|
||||||
}else{
|
|
||||||
tabtitle[tabtitle.length -1] = new Array("", "Frpc 内网穿透");
|
|
||||||
tablink[tablink.length -1] = new Array("", "Module_frpc.asp");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
function addTr(o) { //添加配置行操作
|
function addTr(o) { //添加配置行操作
|
||||||
var _form_addTr = document.form;
|
var _form_addTr = document.form;
|
||||||
|
@ -249,15 +249,8 @@ function reload_Soft_Center(){ //返回软件中心按钮
|
|||||||
location.href = "/Main_Soft_center.asp";
|
location.href = "/Main_Soft_center.asp";
|
||||||
}
|
}
|
||||||
function menu_hook(title, tab) {
|
function menu_hook(title, tab) {
|
||||||
var enable_ss = "<% nvram_get("enable_ss"); %>";
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "Frps 内网穿透");
|
||||||
var enable_soft = "<% nvram_get("enable_soft"); %>";
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_frps.asp");
|
||||||
if(enable_ss == "1" && enable_soft == "1"){
|
|
||||||
tabtitle[tabtitle.length -2] = new Array("", "Frps 内网穿透");
|
|
||||||
tablink[tablink.length -2] = new Array("", "Module_frps.asp");
|
|
||||||
}else{
|
|
||||||
tabtitle[tabtitle.length -1] = new Array("", "Frps 内网穿透");
|
|
||||||
tablink[tablink.length -1] = new Array("", "Module_frps.asp");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
function version_show(){
|
function version_show(){
|
||||||
$j.ajax({
|
$j.ajax({
|
||||||
|
@ -86,6 +86,8 @@
|
|||||||
function menu_hook(title, tab) {
|
function menu_hook(title, tab) {
|
||||||
tabtitle[tabtitle.length -1] = new Array("", "KMS");
|
tabtitle[tabtitle.length -1] = new Array("", "KMS");
|
||||||
tablink[tablink.length -1] = new Array("", "Module_kms.asp");
|
tablink[tablink.length -1] = new Array("", "Module_kms.asp");
|
||||||
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "KMS");
|
||||||
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_kms.asp");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -61,10 +61,10 @@
|
|||||||
"version": "0.3.6"
|
"version": "0.3.6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"build_date": "2019-01-13_18:35:15",
|
"build_date": "2019-01-23_19:00:26",
|
||||||
"description": "linux下载利器",
|
"description": "linux下载利器",
|
||||||
"home_url": "Module_aria2.asp",
|
"home_url": "Module_aria2.asp",
|
||||||
"md5": "f4e5e3027db9cafbddd77b4f649f8b64",
|
"md5": "bb97c3ddf4f861781df65e6f0b7cb775",
|
||||||
"name": "aria2",
|
"name": "aria2",
|
||||||
"tar_url": "aria2/aria2.tar.gz",
|
"tar_url": "aria2/aria2.tar.gz",
|
||||||
"title": "Aria2",
|
"title": "Aria2",
|
||||||
@ -132,7 +132,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"home_url": "https://raw.githubusercontent.com/paldier/softcenter/master",
|
"home_url": "https://raw.githubusercontent.com/paldier/softcenter/master",
|
||||||
"md5": "501f7f2235efa298fe5f28bc8f4ed7e9",
|
"md5": "387f00b348fa27764f0778dbc84542f5",
|
||||||
"tar_url": "softcenter/softcenter.tar.gz",
|
"tar_url": "softcenter/softcenter.tar.gz",
|
||||||
"version": "1.1.6"
|
"version": "1.1.6"
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version":"1.1.6",
|
"version":"1.1.6",
|
||||||
"md5":"501f7f2235efa298fe5f28bc8f4ed7e9"
|
"md5":"387f00b348fa27764f0778dbc84542f5"
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ def work_paths_by_walk():
|
|||||||
print os.path.join(root,sub)
|
print os.path.join(root,sub)
|
||||||
|
|
||||||
def work_parent():
|
def work_parent():
|
||||||
ignore_paths = frozenset(["maintain_files", "softcenter", "v2ray", "adbyby", "gdddns"])
|
ignore_paths = frozenset(["maintain_files", "softcenter", "v2ray", "adbyby", "gdddns", "mdial"])
|
||||||
for fname in os.listdir(parent_path):
|
for fname in os.listdir(parent_path):
|
||||||
|
|
||||||
if fname[0] == "." or fname in ignore_paths:
|
if fname[0] == "." or fname in ignore_paths:
|
||||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
1.1.6
|
1.1.6
|
||||||
501f7f2235efa298fe5f28bc8f4ed7e9
|
387f00b348fa27764f0778dbc84542f5
|
||||||
|
@ -385,8 +385,8 @@
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
function menu_hook(title, tab) {
|
function menu_hook(title, tab) {
|
||||||
tabtitle[tabtitle.length -1] = new Array("", "speedtest");
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "speedtest");
|
||||||
tablink[tablink.length -1] = new Array("", "Module_speedtest.asp");
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_speedtest.asp");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<script type="text/javascript" src="/switcherplugin/jquery.iphone-switch.js"></script>
|
<script type="text/javascript" src="/switcherplugin/jquery.iphone-switch.js"></script>
|
||||||
<script>
|
<script>
|
||||||
function init() {
|
function init() {
|
||||||
show_menu();
|
show_menu(menu_hook);
|
||||||
buildswitch();
|
buildswitch();
|
||||||
conf2obj();
|
conf2obj();
|
||||||
}
|
}
|
||||||
@ -75,6 +75,10 @@ function conf2obj() {
|
|||||||
function reload_Soft_Center() {
|
function reload_Soft_Center() {
|
||||||
location.href = "/Main_Soft_center.asp";
|
location.href = "/Main_Soft_center.asp";
|
||||||
}
|
}
|
||||||
|
function menu_hook(title, tab) {
|
||||||
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "ss-server");
|
||||||
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_ssserver.asp");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body onload="init();">
|
<body onload="init();">
|
||||||
|
@ -218,8 +218,8 @@ function reload_Soft_Center(){
|
|||||||
location.href = "/Main_Soft_center.asp";
|
location.href = "/Main_Soft_center.asp";
|
||||||
}
|
}
|
||||||
function menu_hook(title, tab) {
|
function menu_hook(title, tab) {
|
||||||
tabtitle[tabtitle.length -1] = new Array("", "虚拟内存");
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "虚拟内存");
|
||||||
tablink[tablink.length -1] = new Array("", "Module_swap.asp");
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_swap.asp");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
@ -93,7 +93,7 @@ top: 250px;
|
|||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
function initial(){
|
function initial(){
|
||||||
show_menu();
|
show_menu(menu_hook);
|
||||||
document.form.v2ray_srcip.value = document.form.v2ray_srcip.value.replace(/,yushi,/g,"\r\n");
|
document.form.v2ray_srcip.value = document.form.v2ray_srcip.value.replace(/,yushi,/g,"\r\n");
|
||||||
show_footer();
|
show_footer();
|
||||||
}
|
}
|
||||||
@ -138,6 +138,10 @@ document.form.v2ray_user.value = "0";
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
function menu_hook(title, tab) {
|
||||||
|
tabtitle[tabtitle.length -1] = new Array("", "软件中心", "离线安装", "V2RAY");
|
||||||
|
tablink[tablink.length -1] = new Array("", "Main_Soft_center.asp", "Main_Soft_setting.asp", "Module_v2ray.asp");
|
||||||
|
}
|
||||||
</script></head>
|
</script></head>
|
||||||
<body onload="initial();" onunload="unload_body();" onselectstart="return false;">
|
<body onload="initial();" onunload="unload_body();" onselectstart="return false;">
|
||||||
<div id="TopBanner"></div>
|
<div id="TopBanner"></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user