From 45648eb676a079b1bfbd086adf8197aa2a105813 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sat, 21 Aug 2021 12:07:25 +0000 Subject: [PATCH] translate "change password" & "export, import" #359 --- common.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/common.php b/common.php index c0746cd..6a93acd 100644 --- a/common.php +++ b/common.php @@ -1638,34 +1638,34 @@ function EnvOpt($needUpdate = 0) }/* else { $frame .= getconstStr('NotNeedUpdate'); }*/ - $frame .= '
+ $frame .= '

- - + - + - +
old pass: + ' . getconstStr('OldPassword') . ':
new pass:' . getconstStr('NewPassword') . ':
reinput:' . getconstStr('ReInput') . ':

- + - +
admin pass: - ' . getconstStr('AdminPassword') . ': +
config: - ' . getconstStr('config') . ': +

@@ -2729,9 +2729,9 @@ function render_list($path = '', $files = []) } // 最后清除换行 - while (strpos($html, "\r\n\r\n")) $html = str_replace("\r\n\r\n", "\r\n", $html); + //while (strpos($html, "\r\n\r\n")) $html = str_replace("\r\n\r\n", "\r\n", $html); //while (strpos($html, "\r\r")) $html = str_replace("\r\r", "\r", $html); - while (strpos($html, "\n\n")) $html = str_replace("\n\n", "\n", $html); + //while (strpos($html, "\n\n")) $html = str_replace("\n\n", "\n", $html); //while (strpos($html, PHP_EOL.PHP_EOL)) $html = str_replace(PHP_EOL.PHP_EOL, PHP_EOL, $html); $exetime = round(microtime(true)-$_SERVER['php_starttime'],3);