try fix encrypt current directory at left-top

pull/471/head
qkqpttgf 2021-11-01 18:50:13 +08:00 committed by GitHub
parent 51cc75c0f5
commit 880f90b026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2394,6 +2394,7 @@ function render_list($path = '', $files = [])
$html = str_replace('<!--IsFolderEnd-->', '', $html); $html = str_replace('<!--IsFolderEnd-->', '', $html);
} }
$html = str_replace('<!--constStr@File-->', getconstStr('File'), $html); $html = str_replace('<!--constStr@File-->', getconstStr('File'), $html);
while (strpos($html, '<!--FolderId-->')) $html = str_replace('<!--FolderId-->', $files['id'], $html);
$html = str_replace('<!--constStr@ShowThumbnails-->', getconstStr('ShowThumbnails'), $html); $html = str_replace('<!--constStr@ShowThumbnails-->', getconstStr('ShowThumbnails'), $html);
$html = str_replace('<!--constStr@CopyAllDownloadUrl-->', getconstStr('CopyAllDownloadUrl'), $html); $html = str_replace('<!--constStr@CopyAllDownloadUrl-->', getconstStr('CopyAllDownloadUrl'), $html);
$html = str_replace('<!--constStr@EditTime-->', getconstStr('EditTime'), $html); $html = str_replace('<!--constStr@EditTime-->', getconstStr('EditTime'), $html);