doudoudzj 6 سال پیش
والد
کامیت
c8aa241511
3فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 1 1
      about.php
  2. 3 3
      admin/views/login.php
  3. 1 1
      legal.php

+ 1 - 1
about.php

@@ -6,5 +6,5 @@ include("{$ROOT}/core/controllers/about.php");
 
 
 include("{$ROOT}/core/views/header.php");
 include("{$ROOT}/core/views/header.php");
 include("{$ROOT}/core/views/navbar.php");
 include("{$ROOT}/core/views/navbar.php");
-include("{$section_page}");
+include($section_page);
 include("{$ROOT}/core/views/footer.php");
 include("{$ROOT}/core/views/footer.php");

+ 3 - 3
admin/views/login.php

@@ -11,7 +11,7 @@ if (!defined('IN_SYS')) {
         <div class="col-md-6 col-sm-6 margin-auto">
         <div class="col-md-6 col-sm-6 margin-auto">
             <div class="panel panel-default">
             <div class="panel panel-default">
                 <div class="panel-heading">
                 <div class="panel-heading">
-                    <h3 class="panel-title">Login</h3>
+                    <h3 class="panel-title"><?php echo I18N('login'); ?></h3>
                 </div>
                 </div>
                 <div class="panel-body">
                 <div class="panel-body">
                     <?php if (!isAdminLoggedIn()) { ?>
                     <?php if (!isAdminLoggedIn()) { ?>
@@ -21,8 +21,8 @@ if (!defined('IN_SYS')) {
                                 <input type="text" name="username" class="form-control" maxlength="18" placeholder="Username" autofocus required>
                                 <input type="text" name="username" class="form-control" maxlength="18" placeholder="Username" autofocus required>
                             </label>
                             </label>
                             <label>
                             <label>
-                                <span>Password:</span>
-                                <input type="password" name="password" class="form-control" maxlength="35" placeholder="Password" required>
+                                <span><?php echo I18N('password'); ?>:</span>
+                                <input type="password" name="password" class="form-control" maxlength="35" placeholder="<?php echo I18N('password'); ?>" required>
                             </label>
                             </label>
                             <label>
                             <label>
                                 <span>Captcha:</span>
                                 <span>Captcha:</span>

+ 1 - 1
legal.php

@@ -6,5 +6,5 @@ include("{$ROOT}/core/controllers/legal.php");
 
 
 include("{$ROOT}/core/views/header.php");
 include("{$ROOT}/core/views/header.php");
 include("{$ROOT}/core/views/navbar.php");
 include("{$ROOT}/core/views/navbar.php");
-include("{$section_page}");
+include($section_page);
 include("{$ROOT}/core/views/footer.php");
 include("{$ROOT}/core/views/footer.php");