|
1 |
| -<?php |
2 |
| -//Default Configuration |
3 |
| -$CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":true,"hide_Cols":false,"calc_folder":false,"theme":"light"}'; |
| 1 | +<?php |
| 2 | +//Default Configuration |
| 3 | +$CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":true,"hide_Cols":false,"calc_folder":false,"theme":"light"}'; |
4 | 4 |
|
5 | 5 | /**
|
6 | 6 | * H3K | Tiny File Manager V2.4.6
|
|
51 | 51 |
|
52 | 52 | // Root path for file manager
|
53 | 53 | // use absolute path of directory i.e: '/var/www/folder' or $_SERVER['DOCUMENT_ROOT'].'/folder'
|
54 |
| -$root_path = $_SERVER['DOCUMENT_ROOT']; |
| 54 | +$root_path = '/home'; |
55 | 55 |
|
56 | 56 | // Root url for links in file manager.Relative to $http_host. Variants: '', 'path/to/subfolder'
|
57 | 57 | // Will not working if $root_path will be outside of server document root
|
|
69 | 69 |
|
70 | 70 | // date() format for file modification date
|
71 | 71 | // Doc - https://www.php.net/manual/en/function.date.php
|
72 |
| -$datetime_format = 'd.m.y H:i'; |
| 72 | +$datetime_format = 'Y-m-d H:i'; |
73 | 73 |
|
74 | 74 | // Allowed file extensions for create and rename files
|
75 | 75 | // e.g. 'txt,html,css,js'
|
@@ -3342,9 +3342,6 @@ function fm_show_nav_path($path)
|
3342 | 3342 | }
|
3343 | 3343 | ?>
|
3344 | 3344 | <nav class="navbar navbar-expand-lg <?php echo $getTheme; ?> mb-4 main-nav <?php echo $isStickyNavBar ?>">
|
3345 |
| - <form action="../../views.php" method="POST"> |
3346 |
| - <button style="margin-left:80px;" class="navbar-brand" type="submit" name="view" value="Overview">BirdNET-Pi Homepage</button> |
3347 |
| - <button class="navbar-brand" type="submit" name="view" value="Tools"><?php echo lng('Tools'); ?></button></form> |
3348 | 3345 | <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
3349 | 3346 | <span class="navbar-toggler-icon"></span>
|
3350 | 3347 | </button>
|
@@ -4013,7 +4010,6 @@ function lng($txt) {
|
4013 | 4010 |
|
4014 | 4011 | // English Language
|
4015 | 4012 | $tr['en']['AppName'] = 'BirdNET-Pi Files'; $tr['en']['AppTitle'] = 'BirdNET-Pi Files';
|
4016 |
| - $tr['en']['Tools'] = 'Tools'; $tr['en']['WebTerminal'] = 'Web Terminal'; |
4017 | 4013 | $tr['en']['Login'] = 'Sign in'; $tr['en']['Username'] = 'Username';
|
4018 | 4014 | $tr['en']['Password'] = 'Password'; $tr['en']['Logout'] = 'Sign Out';
|
4019 | 4015 | $tr['en']['Move'] = 'Move'; $tr['en']['Copy'] = 'Copy';
|
|
0 commit comments