mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2026-03-14 20:55:50 +01:00
fix function name
correct is "Dialog" not "Dailog"
This commit is contained in:
parent
503569d81d
commit
e24a5c0e93
1 changed files with 6 additions and 6 deletions
|
|
@ -2169,7 +2169,7 @@ $all_files_size = 0;
|
|||
$filesize_raw = "";
|
||||
$filesize = lng('Folder');
|
||||
$perms = substr(decoct(fileperms($path . '/' . $f)), -4);
|
||||
$owner = array('name' => '?');
|
||||
$owner = array('name' => '?');
|
||||
$group = array('name' => '?');
|
||||
if (function_exists('posix_getpwuid') && function_exists('posix_getgrgid')) {
|
||||
try {
|
||||
|
|
@ -2241,7 +2241,7 @@ $all_files_size = 0;
|
|||
$filelink = '?p=' . urlencode(FM_PATH) . '&view=' . urlencode($f);
|
||||
$all_files_size += $filesize_raw;
|
||||
$perms = substr(decoct(fileperms($path . '/' . $f)), -4);
|
||||
$owner = array('name' => '?');
|
||||
$owner = array('name' => '?');
|
||||
$group = array('name' => '?');
|
||||
if (function_exists('posix_getpwuid') && function_exists('posix_getgrgid')) {
|
||||
try {
|
||||
|
|
@ -4774,7 +4774,7 @@ function fm_show_header_login()
|
|||
</div>
|
||||
|
||||
<!--Rename Modal -->
|
||||
<div class="modal modal-alert" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" role="dialog" id="renameDailog" data-bs-theme="<?php echo FM_THEME; ?>">
|
||||
<div class="modal modal-alert" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" role="dialog" id="renameDialog" data-bs-theme="<?php echo FM_THEME; ?>">
|
||||
<div class="modal-dialog" role="document">
|
||||
<form class="modal-content rounded-3 shadow" method="post" autocomplete="off">
|
||||
<div class="modal-body p-4 text-center">
|
||||
|
|
@ -4795,7 +4795,7 @@ function fm_show_header_login()
|
|||
|
||||
<!-- Confirm Modal -->
|
||||
<script type="text/html" id="js-tpl-confirm">
|
||||
<div class="modal modal-alert confirmDailog" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" role="dialog" id="confirmDailog-<%this.id%>" data-bs-theme="<?php echo FM_THEME; ?>">
|
||||
<div class="modal modal-alert confirmDialog" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" role="dialog" id="confirmDialog-<%this.id%>" data-bs-theme="<?php echo FM_THEME; ?>">
|
||||
<div class="modal-dialog" role="document">
|
||||
<form class="modal-content rounded-3 shadow" method="post" autocomplete="off" action="<%this.action%>">
|
||||
<div class="modal-body p-4 text-center">
|
||||
|
|
@ -4855,7 +4855,7 @@ function fm_show_header_login()
|
|||
if (t) {
|
||||
$("#js-rename-from").val(t);
|
||||
$("#js-rename-to").val(t);
|
||||
$("#renameDailog").modal('show');
|
||||
$("#renameDialog").modal('show');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -5080,7 +5080,7 @@ function fm_show_header_login()
|
|||
}
|
||||
}
|
||||
|
||||
// action confirm dailog modal
|
||||
// action confirm Dialog modal
|
||||
function confirmDialog(e, id = 0, title = "Action", content = "", action = null) {
|
||||
e.preventDefault();
|
||||
const tplObj = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue