-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jian Chang <[email protected]>
- Loading branch information
Showing
7 changed files
with
86 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
-- Copyright (C) 2021 Jian Chang <[email protected]> | ||
-- Licensed to the public under the GNU General Public License v3. | ||
|
||
local m, s, o | ||
local m, s, o, u | ||
local shadowsocks = "shadowsocks" | ||
|
||
m = Map(shadowsocks, "%s - %s" %{translate("ShadowSocks"), translate("Subscription Manage")}) | ||
|
@@ -13,8 +13,8 @@ s.anonymous = true | |
o = s:option(Value, "name", translate("Subscription Name")) | ||
o.rmempty = false | ||
|
||
o = s:option(Value, "subscription_url", translate("Subscription URL")) | ||
o.rmempty = false | ||
u = s:option(Value, "subscription_url", translate("Subscription URL")) | ||
u.rmempty = false | ||
|
||
o = s:option(Value, "filter_words", translate("Filter Words")) | ||
o.description = translate("Splited by <code style='color:red'>/</code>. Server whose alias contain the above string will be filtered.") | ||
|
@@ -32,5 +32,6 @@ o.rmempty = false | |
o = s:option(Button, "subscribe", translate("Update Now")) | ||
o.rawhtml = true | ||
o.template = "shadowsocks/subscribe" | ||
o.url = u | ||
|
||
return m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters