diff --git a/ui/ui/hotspot-add.tpl b/ui/ui/hotspot-add.tpl
index f0528edd..9f5c7fb9 100644
--- a/ui/ui/hotspot-add.tpl
+++ b/ui/ui/hotspot-add.tpl
@@ -16,8 +16,8 @@
{if $_c['radius_enable']}
@@ -173,15 +173,15 @@
`;
var postOpt = ``;
- function prepaid() {
+ function prePaid() {
$("#validity_unit").html(preOpt);
}
- function postpaid() {
+ function postPaid() {
$("#validity_unit").html(postOpt);
}
document.addEventListener("DOMContentLoaded", function(event) {
- prepaid()
+ prePaid()
})
{if $_c['radius_enable']}
diff --git a/ui/ui/hotspot-edit.tpl b/ui/ui/hotspot-edit.tpl
index 847da83c..95b5d331 100644
--- a/ui/ui/hotspot-edit.tpl
+++ b/ui/ui/hotspot-edit.tpl
@@ -17,10 +17,10 @@
@@ -201,11 +201,11 @@
`;
var postOpt = ``;
- function prepaid() {
+ function prePaid() {
$("#validity_unit").html(preOpt);
}
- function postpaid() {
+ function postPaid() {
$("#validity_unit").html(postOpt);
}
diff --git a/ui/ui/pppoe-add.tpl b/ui/ui/pppoe-add.tpl
index b0e55ded..d2e8d1eb 100644
--- a/ui/ui/pppoe-add.tpl
+++ b/ui/ui/pppoe-add.tpl
@@ -16,8 +16,8 @@
{if $_c['radius_enable']}
@@ -122,15 +122,15 @@
`;
var postOpt = ``;
- function prepaid() {
+ function prePaid() {
$("#validity_unit").html(preOpt);
}
- function postpaid() {
+ function postPaid() {
$("#validity_unit").html(postOpt);
}
document.addEventListener("DOMContentLoaded", function(event) {
- prepaid()
+ prePaid()
})
{if $_c['radius_enable']}
diff --git a/ui/ui/pppoe-edit.tpl b/ui/ui/pppoe-edit.tpl
index afa1d18a..b558a1b7 100644
--- a/ui/ui/pppoe-edit.tpl
+++ b/ui/ui/pppoe-edit.tpl
@@ -17,9 +17,9 @@
{if $_c['radius_enable'] and $d['is_radius']}
@@ -80,9 +80,9 @@
{Lang::T('Period')}
{/if}
-
- {Lang::T('1 Period = 1 Month, Expires the 20th of each month')}
+
+ {Lang::T('1 Period = 1 Month, Expires the 20th of each month')}