diff --git a/resources/views/malio/admin/code/index.tpl b/resources/views/malio/admin/code/index.tpl index ef800f48..61a37d17 100644 --- a/resources/views/malio/admin/code/index.tpl +++ b/resources/views/malio/admin/code/index.tpl @@ -4,7 +4,7 @@
-

充值码{if $config['enable_donate']=='true'}与捐赠{/if}管理

+

充值码{if $config['enable_donate']===true}与捐赠{/if}管理

@@ -15,6 +15,13 @@

系统中金额流转记录。

+

+ 今日流水:¥{$user->calIncome("today")}
+ 昨日流水:¥{$user->calIncome("yesterday")}
+ 这月流水:¥{$user->calIncome("this month")}
+ 上月流水:¥{$user->calIncome("last month")}
+ 总共流水:¥{$user->calIncome("total")} +

显示表项: {include file='table/checkbox.tpl'}

@@ -43,7 +50,7 @@
充值码code {if $config['enable_donate']=='true'} + class="icon">code {if $config['enable_donate']===true} 捐赠和支出attach_money diff --git a/resources/views/malio/admin/config/telegram/edit.tpl b/resources/views/malio/admin/config/telegram/edit.tpl new file mode 100644 index 00000000..f5603cda --- /dev/null +++ b/resources/views/malio/admin/config/telegram/edit.tpl @@ -0,0 +1,119 @@ +{include file='admin/main.tpl'} + + +
+
+
+

配置编辑 #{$edit_config->id}

+
+
+
+
+
+ +
+
+
+ +
+ + +
+ +
+ + +
+ + {if $edit_config->comment!=''} +
+ + +
+ {/if} + + {if strpos($edit_config->key,'.enable.')===false} +
+ + +
+ {else} +
+ +
+ {/if} + +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+
+
+
+ + {include file='dialog.tpl'} +
+ + +
+
+ + +{include file='admin/footer.tpl'} + + + diff --git a/resources/views/malio/admin/config/telegram/index.tpl b/resources/views/malio/admin/config/telegram/index.tpl new file mode 100644 index 00000000..826efecc --- /dev/null +++ b/resources/views/malio/admin/config/telegram/index.tpl @@ -0,0 +1,41 @@ +{include file='admin/main.tpl'} + +
+
+
+

Telegram 配置

+
+
+
+
+
+ +
+
+
+

显示表项: {include file='table/checkbox.tpl'}

+
+
+
+ +
+ {include file='table/table.tpl'} +
+ + +
+ + +
+
+ +{include file='admin/footer.tpl'} + + + diff --git a/resources/views/malio/admin/detect/ban.tpl b/resources/views/malio/admin/detect/ban.tpl new file mode 100644 index 00000000..e3b398bd --- /dev/null +++ b/resources/views/malio/admin/detect/ban.tpl @@ -0,0 +1,42 @@ + {include file='admin/main.tpl'} + + +
+
+
+

审计封禁记录

+
+
+
+
+
+ +
+
+
+

系统中所有审计封禁记录。

+

显示表项: + {include file='table/checkbox.tpl'} +

+
+
+
+ +
+ {include file='table/table.tpl'} +
+ +
+
+
+ + +{include file='admin/footer.tpl'} + + diff --git a/resources/views/malio/admin/footer.tpl b/resources/views/malio/admin/footer.tpl index 3341f0f5..ae4d81f4 100644 --- a/resources/views/malio/admin/footer.tpl +++ b/resources/views/malio/admin/footer.tpl @@ -1,12 +1,12 @@
©{date("Y")} {$config["appName"]} | Powered by SSPANEL - {if $config["enable_analytics_code"] == 'true'}{include file='analytics.tpl'}{/if} + {if $config["enable_analytics_code"] === true}{include file='analytics.tpl'}{/if}
-{if $config["sspanelAnalysis"] == 'true'} +{if $config["sspanelAnalysis"] === true} + +{literal} + + +{/literal} diff --git a/resources/views/malio/admin/user/edit.tpl b/resources/views/malio/admin/user/edit.tpl index ea2d263b..89638fcd 100644 --- a/resources/views/malio/admin/user/edit.tpl +++ b/resources/views/malio/admin/user/edit.tpl @@ -11,6 +11,22 @@
+ {if $config['enable_sub_cache']===true} +
+
+
+
+ +
+
+
+
+ {/if} +
@@ -84,6 +100,44 @@
+
+
+
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+
+
+
@@ -339,6 +393,7 @@ enable, is_admin, ga_enable, + ban_time: $$getValue('ban_time'), ref_by: $$getValue('ref_by'), forbidden_ip: $$getValue('forbidden_ip'), forbidden_port: $$getValue('forbidden_port'), diff --git a/resources/views/malio/admin/user/index.tpl b/resources/views/malio/admin/user/index.tpl index 43db7d24..3cbce9a9 100644 --- a/resources/views/malio/admin/user/index.tpl +++ b/resources/views/malio/admin/user/index.tpl @@ -14,6 +14,9 @@

系统中所有用户的列表。

+

+ 付费用户:{$user->paidUserCount()} +

显示表项: {include file='table/checkbox.tpl'}

@@ -144,6 +147,7 @@ {"data": "method"}, {"data": "protocol"}, {"data": "obfs"}, + {"data": "obfs_param"}, {"data": "online_ip_count", "orderable": false}, {"data": "last_ss_time", "orderable": false}, {"data": "used_traffic"}, @@ -275,4 +279,4 @@ }) - \ No newline at end of file + diff --git a/resources/views/malio/auth/register.tpl b/resources/views/malio/auth/register.tpl index 84d22671..86afc63e 100644 --- a/resources/views/malio/auth/register.tpl +++ b/resources/views/malio/auth/register.tpl @@ -84,7 +84,7 @@ {/if} {/if} - {if $enable_email_verify == 'true' && $config['register_mode'] == 'invite'} + {if $enable_email_verify == true && $config['register_mode'] == 'invite'}
@@ -97,7 +97,7 @@ {/if}
- {if $enable_email_verify == 'true'} + {if $enable_email_verify == true}
{if $malio_config['enable_register_email_restrict'] == true}
@@ -360,7 +360,7 @@ "area_code": $('#area_code').val(), "sms_code": $('#sms_code').val(), {/if} - code: code{if $enable_email_verify == 'true'}, + code: code{if $enable_email_verify == true}, emailcode: $("#email_code").val(){/if}{if $geetest_html != null}, geetest_challenge: validate.geetest_challenge, geetest_validate: validate.geetest_validate, @@ -408,7 +408,7 @@ } - {if $enable_email_verify == 'true'} + {if $enable_email_verify == true}