zhenjiang.dou 8 роки тому
батько
коміт
af3f7b6acf

+ 1 - 0
locales/lang.properties

@@ -35,6 +35,7 @@ payment_methods = Payment Methods & Information
 signup_free_hosting = Sign Up For Free Hosting
 signup_free_hosting = Sign Up For Free Hosting
 remember_me = Remember me
 remember_me = Remember me
 please_login = Please sign in
 please_login = Please sign in
+lost_password = Lost your password?
 
 
 
 
 msg_hello = Hello
 msg_hello = Hello

+ 2 - 1
locales/lang_en_GB.properties

@@ -34,4 +34,5 @@ cancellation_refund = Cancellation & Refund
 payment_methods = Payment Methods & Information
 payment_methods = Payment Methods & Information
 signup_free_hosting = Sign Up For Free Hosting
 signup_free_hosting = Sign Up For Free Hosting
 remember_me = Remember me
 remember_me = Remember me
-please_login = Please sign in
+please_login = Please sign in
+lost_password = Lost your password?

+ 2 - 1
locales/lang_en_US.properties

@@ -34,4 +34,5 @@ cancellation_refund = Cancellation & Refund
 payment_methods = Payment Methods & Information
 payment_methods = Payment Methods & Information
 signup_free_hosting = Sign Up For Free Hosting
 signup_free_hosting = Sign Up For Free Hosting
 remember_me = Remember me
 remember_me = Remember me
-please_login = Please sign in
+please_login = Please sign in
+lost_password = Lost your password?

+ 2 - 1
locales/lang_zh_CN.properties

@@ -34,4 +34,5 @@ cancellation_refund = 取消与退款
 payment_methods = 支付方式
 payment_methods = 支付方式
 signup_free_hosting = 注册免费空间
 signup_free_hosting = 注册免费空间
 remember_me = 记住我
 remember_me = 记住我
-please_login = 请登录
+please_login = 请登录
+lost_password = 忘记密码了?

+ 2 - 1
locales/lang_zh_TW.properties

@@ -34,4 +34,5 @@ cancellation_refund = 取消與退款
 payment_methods = 支付方式
 payment_methods = 支付方式
 signup_free_hosting = 註冊免費空間
 signup_free_hosting = 註冊免費空間
 remember_me = 記住我
 remember_me = 記住我
-please_login = 請登錄
+please_login = 請登錄
+lost_password = 忘記密碼了?

+ 5 - 4
login.php

@@ -21,14 +21,15 @@
 <body>
 <body>
 <?php include ("nav.php"); ?>
 <?php include ("nav.php"); ?>
 <div class="container">
 <div class="container">
-    <form class="form-signin" role="form" action="//cpanel.<?=$domain?>.com/login.php" method="post" name="login">
+    <form class="form-signin" role="form" action="//cpanel.<?=$domain?>/login.php" method="post" name="login">
         <h2 class="form-signin-heading" data-i18n="please_login">Please sign in</h2>
         <h2 class="form-signin-heading" data-i18n="please_login">Please sign in</h2>
         <input type="text" name="uname" class="form-control" placeholder="Username" data-i18n="input_username" required autofocus>
         <input type="text" name="uname" class="form-control" placeholder="Username" data-i18n="input_username" required autofocus>
         <input type="password" name="passwd" class="form-control" placeholder="Password" data-i18n="input_password" required>
         <input type="password" name="passwd" class="form-control" placeholder="Password" data-i18n="input_password" required>
-            <!--<label>-->
-                <input type="checkbox" value="remember-me"><span data-i18n="remember_me"> Remember me</span><a href="https://panel.byethost.com/lostpassword.php">Lost your password?</a>
-            <!--</label>-->
         <div class="checkbox">
         <div class="checkbox">
+            <label>
+                <input type="checkbox" value="remember-me"><span data-i18n="remember_me"> Remember me</span>
+                <a href="https://panel.byethost.com/lostpassword.php" data-i18n="lost_password">Lost your password?</a>
+            </label>
         </div>
         </div>
         <button type="submit" name="submit" class="btn btn-lg btn-primary btn-block" data-i18n="login">Sign in</button>
         <button type="submit" name="submit" class="btn btn-lg btn-primary btn-block" data-i18n="login">Sign in</button>
     </form>
     </form>