Update tinyfilemanager.php

This commit is contained in:
Prasath Mani 2017-11-06 23:43:52 +05:30 committed by GitHub
parent 5045e16461
commit 952454c470
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ if ($use_auth) {
?> ?>
<div class="path login-form"> <div class="path login-form">
<img src="https://image.ibb.co/k92AFQ/h3k_logo_dark.png" alt="H3K File manager" style="margin:20px;"> <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_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> <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"> <input type="submit" value="Login">
@ -682,7 +682,7 @@ if (isset($_GET['upload']) && !FM_READONLY) {
<div class="path"> <div class="path">
<p><b>Uploading files</b></p> <p><b>Uploading files</b></p>
<p class="break-word">Destination folder: <?php echo fm_convert_win(FM_ROOT_PATH . '/' . FM_PATH) ?></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="p" value="<?php echo fm_enc(FM_PATH) ?>">
<input type="hidden" name="upl" value="1"> <input type="hidden" name="upl" value="1">
<input type="file" name="upload[]"><br> <input type="file" name="upload[]"><br>
@ -715,7 +715,7 @@ if (isset($_POST['copy']) && !FM_READONLY) {
?> ?>
<div class="path"> <div class="path">
<p><b>Copying</b></p> <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="p" value="<?php echo fm_enc(FM_PATH) ?>">
<input type="hidden" name="finish" value="1"> <input type="hidden" name="finish" value="1">
<?php <?php
@ -1055,7 +1055,7 @@ if (isset($_GET['chmod']) && !FM_READONLY && !FM_IS_WIN) {
<p> <p>
<?php echo 'Full path:'; ?> <?php echo $file_path ?><br> <?php echo 'Full path:'; ?> <?php echo $file_path ?><br>
</p> </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="p" value="<?php echo fm_enc(FM_PATH) ?>">
<input type="hidden" name="chmod" value="<?php echo fm_enc($file) ?>"> <input type="hidden" name="chmod" value="<?php echo fm_enc($file) ?>">
@ -1110,7 +1110,7 @@ $num_files = count($files);
$num_folders = count($folders); $num_folders = count($folders);
$all_files_size = 0; $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="p" value="<?php echo fm_enc(FM_PATH) ?>">
<input type="hidden" name="group" value="1"> <input type="hidden" name="group" value="1">
<div class="file-tree-view" id="file-tree-view"> <div class="file-tree-view" id="file-tree-view">