Skip to content

Commit

Permalink
Dynamic Browser Tab Title Handling Based on File Context (#1202)
Browse files Browse the repository at this point in the history
* Update tinyfilemanager.php

Now it will show the filename as browser tab title so that user can easily identify which file is opened on which tab.

* Update tinyfilemanager.php

remove lines 3722 and 3734 and add this directly in  3733 as per the suggestion of @ner00

* Update tinyfilemanager.php

extra trailing space removed
  • Loading branch information
jabedbd authored Oct 14, 2024
1 parent 8d953bf commit 3716af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinyfilemanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -3817,7 +3817,7 @@ function fm_show_header()
<meta name="robots" content="noindex, nofollow">
<meta name="googlebot" content="noindex">
<?php if($favicon_path) { echo '<link rel="icon" href="'.fm_enc($favicon_path).'" type="image/png">'; } ?>
<title><?php echo fm_enc(APP_TITLE) ?></title>
<title><?php echo isset($_GET['edit']) ? $_GET['edit'] : fm_enc(APP_TITLE); ?></title>
<?php print_external('pre-jsdelivr'); ?>
<?php print_external('pre-cloudflare'); ?>
<?php print_external('css-bootstrap'); ?>
Expand Down

0 comments on commit 3716af2

Please sign in to comment.