mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-23 16:02:14 +02:00
Update tinyfilemanager.php
This commit is contained in:
parent
5045e16461
commit
952454c470
|
@ -147,7 +147,7 @@ if ($use_auth) {
|
|||
?>
|
||||
<div class="path login-form">
|
||||
<img src="https://image.ibb.co/k92AFQ/h3k_logo_dark.png" alt="H3K File manager" style="margin:20px;">
|
||||
<form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>" method="post">
|
||||
<form action="" method="post">
|
||||
<label for="fm_usr">Username</label><input type="text" id="fm_usr" name="fm_usr" value="" placeholder="Username" required><br>
|
||||
<label for="fm_pwd">Password</label><input type="password" id="fm_pwd" name="fm_pwd" value="" placeholder="Password" required><br>
|
||||
<input type="submit" value="Login">
|
||||
|
@ -682,7 +682,7 @@ if (isset($_GET['upload']) && !FM_READONLY) {
|
|||
<div class="path">
|
||||
<p><b>Uploading files</b></p>
|
||||
<p class="break-word">Destination folder: <?php echo fm_convert_win(FM_ROOT_PATH . '/' . FM_PATH) ?></p>
|
||||
<form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>" method="post" enctype="multipart/form-data">
|
||||
<form action="" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="p" value="<?php echo fm_enc(FM_PATH) ?>">
|
||||
<input type="hidden" name="upl" value="1">
|
||||
<input type="file" name="upload[]"><br>
|
||||
|
@ -715,7 +715,7 @@ if (isset($_POST['copy']) && !FM_READONLY) {
|
|||
?>
|
||||
<div class="path">
|
||||
<p><b>Copying</b></p>
|
||||
<form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>" method="post">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="p" value="<?php echo fm_enc(FM_PATH) ?>">
|
||||
<input type="hidden" name="finish" value="1">
|
||||
<?php
|
||||
|
@ -1055,7 +1055,7 @@ if (isset($_GET['chmod']) && !FM_READONLY && !FM_IS_WIN) {
|
|||
<p>
|
||||
<?php echo 'Full path:'; ?> <?php echo $file_path ?><br>
|
||||
</p>
|
||||
<form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>" method="post">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="p" value="<?php echo fm_enc(FM_PATH) ?>">
|
||||
<input type="hidden" name="chmod" value="<?php echo fm_enc($file) ?>">
|
||||
|
||||
|
@ -1110,7 +1110,7 @@ $num_files = count($files);
|
|||
$num_folders = count($folders);
|
||||
$all_files_size = 0;
|
||||
?>
|
||||
<form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>" method="post">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="p" value="<?php echo fm_enc(FM_PATH) ?>">
|
||||
<input type="hidden" name="group" value="1">
|
||||
<div class="file-tree-view" id="file-tree-view">
|
||||
|
|
Loading…
Reference in a new issue