From d3edb27dc5f10794763f74ca7b90fdd73efa9ff5 Mon Sep 17 00:00:00 2001 From: vallyol Date: Fri, 5 Nov 2021 17:03:04 +0300 Subject: [PATCH] Update htmly.php replacing text with new added key values from language files (;errors) --- system/htmly.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/htmly.php b/system/htmly.php index 152097a..abfa262 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -154,16 +154,16 @@ post('/login', function () { } else { $message['error'] = ''; if (empty($user)) { - $message['error'] .= '
  • User field is required.
  • '; + $message['error'] .= '
  • ' . i18n('User_Error') . '
  • '; } if (empty($pass)) { - $message['error'] .= '
  • Password field is required.
  • '; + $message['error'] .= '
  • ' . i18n('Pass_Error') . '
  • '; } if (!$proper) { - $message['error'] .= '
  • CSRF Token not correct.
  • '; + $message['error'] .= '
  • ' . i18n('Token_Error') . '
  • '; } if (!$captcha) { - $message['error'] .= '
  • reCaptcha not correct.
  • '; + $message['error'] .= '
  • ' . i18n('Captcha_Error') . '
  • '; } config('views.root', 'system/admin/views');