mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-10 09:52:15 +02:00
Download and Direct link problems when using with a subfolder. #907
This commit is contained in:
parent
97fd394a0f
commit
789b98f136
|
@ -1688,7 +1688,10 @@ if (isset($_GET['view'])) {
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
<div class="d-flex align-items-center mb-3">
|
<div class="d-flex align-items-center mb-3">
|
||||||
<b><a href="?p=<?php echo urlencode(FM_PATH) ?>&dl=<?php echo urlencode($file) ?>"><i class="fa fa-cloud-download"></i> <?php echo lng('Download') ?></a></b>
|
<form method="post" class="d-inline ms-2" action="?p=<?php echo urlencode(FM_PATH) ?>&dl=<?php echo urlencode($file) ?>">
|
||||||
|
<input type="hidden" name="token" value="<?php echo $_SESSION['token']; ?>">
|
||||||
|
<button type="submit" class="btn btn-link text-decoration-none fw-bold p-0"><i class="fa fa-cloud-download"></i> <?php echo lng('Download') ?></button>
|
||||||
|
</form>
|
||||||
<b class="ms-2"><a href="<?php echo fm_enc($file_url) ?>" target="_blank"><i class="fa fa-external-link-square"></i> <?php echo lng('Open') ?></a></b>
|
<b class="ms-2"><a href="<?php echo fm_enc($file_url) ?>" target="_blank"><i class="fa fa-external-link-square"></i> <?php echo lng('Open') ?></a></b>
|
||||||
<?php
|
<?php
|
||||||
// ZIP actions
|
// ZIP actions
|
||||||
|
|
|
@ -2531,7 +2531,32 @@
|
||||||
"Invalid characters in file or folder name": "Ongeldige karakters in bestands- of mapnaam",
|
"Invalid characters in file or folder name": "Ongeldige karakters in bestands- of mapnaam",
|
||||||
"Operations with archives are not available": "Bewerkingen met archieven zijn niet beschikbaar",
|
"Operations with archives are not available": "Bewerkingen met archieven zijn niet beschikbaar",
|
||||||
"File or folder with this path already exists": "Bestand of map met dit pad bestaat al",
|
"File or folder with this path already exists": "Bestand of map met dit pad bestaat al",
|
||||||
"Moved from": "Verplaatst van"
|
"Moved from": "Verplaatst van",
|
||||||
|
"a files": "bestanden",
|
||||||
|
"Okay": "OK",
|
||||||
|
"Enter here...": "Voer hier in...",
|
||||||
|
"Enter new file name": "Voer nieuwe bestandsnaam in:",
|
||||||
|
"Full path": "Volledig path",
|
||||||
|
"File size": "Bestandsgrootte",
|
||||||
|
"Image sizes": "Afbeeldingsgrootte",
|
||||||
|
"Charset": "Karakterset",
|
||||||
|
"Image": "Afbeelding",
|
||||||
|
"Audio": "Audio",
|
||||||
|
"Video": "Video",
|
||||||
|
"Upload from URL": "Upload van URL ",
|
||||||
|
"Files in archive": "Bestanden in archief",
|
||||||
|
"Total size": "Totale grootte",
|
||||||
|
"Compression": "Compressie",
|
||||||
|
"Size in archive": "Grootte in archief",
|
||||||
|
"Invalid Token.": "Ongeldig token",
|
||||||
|
"Fullscreen": "Volledig scherm",
|
||||||
|
"Undo": "Ongedaan maken",
|
||||||
|
"Redo": "Opnieuw doen",
|
||||||
|
"Theme": "Thema",
|
||||||
|
"Select Theme": "Kies thema",
|
||||||
|
"Select Font Size": "Kies fontgrootte",
|
||||||
|
"Are you sure want to rename?": "Weet u zeker dat u de naam wilt wijzigen?",
|
||||||
|
"Are you sure want to": "Verder gaan met"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue