mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-08 08:52:23 +02:00
Opted for CSS-Based Functionality Instead of JS
This commit is contained in:
parent
0f7d1b1378
commit
57579e379e
|
@ -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"><b><?php echo lng($view_title) ?> "<?php echo fm_enc(fm_convert_win($file)) ?>"</b></p>
|
||||||
<p class="break-word">
|
<p class="break-word">
|
||||||
<?php $display_path = fm_get_display_path($file_path); ?>
|
<?php $display_path = fm_get_display_path($file_path); ?>
|
||||||
<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><?php echo $display_path['label']; ?>:</strong> <span style="user-select:all;"><?php echo $display_path['path']; ?></span><br>
|
||||||
<strong>File size:</strong> <?php echo ($filesize_raw <= 1000) ? "$filesize_raw bytes" : $filesize; ?><br>
|
<strong>File size:</strong> <?php echo ($filesize_raw <= 1000) ? "$filesize_raw bytes" : $filesize; ?><br>
|
||||||
<strong>MIME-type:</strong> <?php echo $mime_type ?><br>
|
<strong>MIME-type:</strong> <?php echo $mime_type ?><br>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in a new issue