mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2025-05-03 13:57:47 +02:00
Added Additional Delete Link in File Viewer View (#1141)
* Added Additional Delete Link in File Viewer View I found myself clicking into specific files to see them larger, then wanting to delete them, only to find I had to go back to another screen to delete them. * Changed Reference to Invalid Variable
This commit is contained in:
parent
1042994a60
commit
94b62544bd
@ -1835,6 +1835,9 @@ if (isset($_GET['view'])) {
|
||||
<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>
|
||||
<?php if (!FM_READONLY): ?>
|
||||
<b class="ms-2"><a title="<?php echo lng('Delete') ?>" href="?p=<?php echo urlencode(FM_PATH) ?>&del=<?php echo urlencode($file) ?>" onclick="confirmDailog(event, 1209, '<?php echo lng('Delete').' '.lng('File'); ?>','<?php echo urlencode($file); ?>', this.href);"> <i class="fa fa-trash-o"></i> Delete</a></b>
|
||||
<?php endif; ?>
|
||||
<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
|
||||
// ZIP actions
|
||||
|
Loading…
x
Reference in New Issue
Block a user