mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-08 00:42:19 +02:00
Automatically Select the Full Filepath When Clicked
This will aid in an easier ability to copy/paste when you need the filepath for other uses.
This commit is contained in:
parent
8e87afae5b
commit
0f7d1b1378
|
@ -1703,7 +1703,7 @@ if (isset($_GET['view'])) {
|
|||
<p class="break-word"><b><?php echo lng($view_title) ?> "<?php echo fm_enc(fm_convert_win($file)) ?>"</b></p>
|
||||
<p class="break-word">
|
||||
<?php $display_path = fm_get_display_path($file_path); ?>
|
||||
<strong><?php echo $display_path['label']; ?>:</strong> <?php echo $display_path['path']; ?><br>
|
||||
<strong><?php echo $display_path['label']; ?>:</strong> <span onclick="if(window.getSelection) { var selection = window.getSelection(); var range = document.createRange(); range.selectNodeContents(this); selection.removeAllRanges(); selection.addRange(range); }"><?php echo $display_path['path']; ?></span><br>
|
||||
<strong>File size:</strong> <?php echo ($filesize_raw <= 1000) ? "$filesize_raw bytes" : $filesize; ?><br>
|
||||
<strong>MIME-type:</strong> <?php echo $mime_type ?><br>
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue