mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2025-01-17 22:28:34 +01:00
Update tinyfilemanager.php
Fixed issue concerning deleting files... Errore: Bad value “return confirm('Delete file?'');” for attribute “onclick” on element “a”: unterminated string literal I changed with: “return confirm('Delete file?');”
This commit is contained in:
parent
be1288ac60
commit
287146d8af
@ -1193,7 +1193,7 @@ foreach ($files as $f) {
|
||||
<?php endif; ?>
|
||||
<td class="inline-actions">
|
||||
<?php if (!FM_READONLY): ?>
|
||||
<a title="Delete" href="?p=<?php echo urlencode(FM_PATH) ?>&del=<?php echo urlencode($f) ?>" onclick="return confirm('Delete file?'');"><i class="fa fa-trash-o"></i></a>
|
||||
<a title="Delete" href="?p=<?php echo urlencode(FM_PATH) ?>&del=<?php echo urlencode($f) ?>" onclick="return confirm('Delete file?');"><i class="fa fa-trash-o"></i></a>
|
||||
<a title="Rename" href="#" onclick="rename('<?php echo fm_enc(FM_PATH) ?>', '<?php echo fm_enc($f) ?>');return false;"><i class="fa fa-pencil-square-o"></i></a>
|
||||
<a title="Copy to..." href="?p=<?php echo urlencode(FM_PATH) ?>&copy=<?php echo urlencode(trim(FM_PATH . '/' . $f, '/')) ?>"><i class="fa fa-files-o"></i></a>
|
||||
<?php endif; ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user