forked from marekrei/encode-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
3328 lines (3027 loc) · 113 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/***************************************************************************
*
* Encode Explorer
*
* Author : Marek Rei (marek ät marekrei dot com)
* Version : 6.4.1
* Homepage : encode-explorer.siineiolekala.net
*
*
* NB!:If you change anything, save with UTF-8! Otherwise you may
* encounter problems, especially when displaying images.
*
***************************************************************************/
/***************************************************************************/
/* HERE ARE THE SETTINGS FOR CONFIGURATION */
/***************************************************************************/
//
// Initialising variables. Don't change these.
//
$_CONFIG = array();
$_ERROR = "";
$_START_TIME = microtime(TRUE);
/*
* GENERAL SETTINGS
*/
//
// Choose a language. See below in the language section for options.
// Default: $_CONFIG['lang'] = "en";
//
$_CONFIG['lang'] = "en";
//
// Display thumbnails when hovering over image entries in the list.
// Common image types are supported (jpeg, png, gif).
// Pdf files are also supported but require ImageMagick to be installed.
// Default: $_CONFIG['thumbnails'] = true;
//
$_CONFIG['thumbnails'] = true;
//
// Maximum sizes of the thumbnails.
// Default: $_CONFIG['thumbnails_width'] = 200;
// Default: $_CONFIG['thumbnails_height'] = 200;
//
$_CONFIG['thumbnails_width'] = 300;
$_CONFIG['thumbnails_height'] = 300;
//
// Mobile interface enabled. true/false
// Default: $_CONFIG['mobile_enabled'] = true;
//
$_CONFIG['mobile_enabled'] = true;
//
// Mobile interface as the default setting. true/false
// Default: $_CONFIG['mobile_default'] = false;
//
$_CONFIG['mobile_default'] = false;
/*
* USER INTERFACE
*/
//
// Will the files be opened in a new window? true/false
// Default: $_CONFIG['open_in_new_window'] = false;
//
$_CONFIG['open_in_new_window'] = false;
//
// How deep in subfolders will the script search for files?
// Set it larger than 0 to display the total used space.
// Default: $_CONFIG['calculate_space_level'] = 0;
//
$_CONFIG['calculate_space_level'] = 0;
//
// Will the page header be displayed? 0=no, 1=yes.
// Default: $_CONFIG['show_top'] = true;
//
$_CONFIG['show_top'] = true;
//
// The title for the page
// Default: $_CONFIG['main_title'] = "Encode Explorer";
//
$_CONFIG['main_title'] = "Encode Explorer";
//
// The secondary page titles, randomly selected and displayed under the main header.
// For example: $_CONFIG['secondary_titles'] = array("Secondary title", "“Secondary title with quotes”");
// Default: $_CONFIG['secondary_titles'] = array();
//
$_CONFIG['secondary_titles'] = array();
//
// Display breadcrumbs (relative path of the location).
// Default: $_CONFIG['show_path'] = true;
//
$_CONFIG['show_path'] = true;
//
// Display the time it took to load the page.
// Default: $_CONFIG['show_load_time'] = true;
//
$_CONFIG['show_load_time'] = true;
//
// The time format for the "last changed" column.
// Default: $_CONFIG['time_format'] = "d.m.y H:i:s";
//
$_CONFIG['time_format'] = "d.m.y H:i:s";
//
// Charset. Use the one that suits for you.
// Default: $_CONFIG['charset'] = "UTF-8";
//
$_CONFIG['charset'] = "UTF-8";
/*
* PERMISSIONS
*/
//
// The array of folder names that will be hidden from the list.
// Default: $_CONFIG['hidden_dirs'] = array();
//
$_CONFIG['hidden_dirs'] = array();
//
// Filenames that will be hidden from the list.
// Default: $_CONFIG['hidden_files'] = array(".ftpquota", "index.php", "index.php~", ".htaccess", ".htpasswd");
//
$_CONFIG['hidden_files'] = array(".ftpquota", "index.php", "index.php~", ".htaccess", ".htpasswd");
//
// Whether authentication is required to see the contents of the page.
// If set to false, the page is public.
// If set to true, you should specify some users as well (see below).
// Important: This only prevents people from seeing the list.
// They will still be able to access the files with a direct link.
// Default: $_CONFIG['require_login'] = false;
//
$_CONFIG['require_login'] = false;
//
// Whether use md5 to store passwords both in session and this script.
// If set to false, the password will be stored as is.
// If set to true, script will use md5 to store and check passwords.
// Default: $_CONFIG['md5_passwords'] = false;
//
$_CONFIG['md5_passwords'] = false;
//
// Usernames and passwords for restricting access to the page.
// The format is: array(username, password, status)
// Status can be either "user" or "admin". User can read the page, admin can upload and delete.
// For example: $_CONFIG['users'] = array(array("username1", "password1", "user"), array("username2", "password2", "admin"));
// You can also keep require_login=false and specify an admin.
// That way everyone can see the page but username and password are needed for uploading.
// For example: $_CONFIG['users'] = array(array("username", "password", "admin"));
// IF md5_passwords config is set, than password should be md5 encrypted
// For example: $_CONFIG['users'] = array(array("username", "5f4dcc3b5aa765d61d8327deb882cf99", "admin"));
// Default: $_CONFIG['users'] = array();
//
$_CONFIG['users'] = array();
//
// Permissions for uploading, creating new directories and deleting.
// They only apply to admin accounts, regular users can never perform these operations.
// Default:
// $_CONFIG['upload_enable'] = true;
// $_CONFIG['newdir_enable'] = true;
// $_CONFIG['delete_enable'] = false;
//
$_CONFIG['upload_enable'] = true;
$_CONFIG['newdir_enable'] = true;
$_CONFIG['delete_enable'] = false;
/*
* UPLOADING
*/
//
// List of directories where users are allowed to upload.
// For example: $_CONFIG['upload_dirs'] = array("./myuploaddir1/", "./mydir/upload2/");
// The path should be relative to the main directory, start with "./" and end with "/".
// All the directories below the marked ones are automatically included as well.
// If the list is empty (default), all directories are open for uploads, given that the password has been set.
// Default: $_CONFIG['upload_dirs'] = array();
//
$_CONFIG['upload_dirs'] = array();
//
// MIME type that are allowed to be uploaded.
// For example, to only allow uploading of common image types, you could use:
// $_CONFIG['upload_allow_type'] = array("image/png", "image/gif", "image/jpeg");
// Default: $_CONFIG['upload_allow_type'] = array();
//
$_CONFIG['upload_allow_type'] = array();
//
// File extensions that are not allowed for uploading.
// For example: $_CONFIG['upload_reject_extension'] = array("php", "html", "htm");
// Default: $_CONFIG['upload_reject_extension'] = array();
//
$_CONFIG['upload_reject_extension'] = array("php", "php2", "php3", "php4", "php5", "phtml");
//
// By default, apply 0755 permissions to new directories
//
// The mode parameter consists of three octal number components specifying
// access restrictions for the owner, the user group in which the owner is
// in, and to everybody else in this order.
//
// See: https://php.net/manual/en/function.chmod.php
//
// Default: $_CONFIG['new_dir_mode'] = 0755;
//
$_CONFIG['new_dir_mode'] = 0755;
//
// By default, apply 0644 permissions to uploaded files
//
// The mode parameter consists of three octal number components specifying
// access restrictions for the owner, the user group in which the owner is
// in, and to everybody else in this order.
//
// See: https://php.net/manual/en/function.chmod.php
//
// Default: $_CONFIG['upload_file_mode'] = 0644;
//
$_CONFIG['upload_file_mode'] = 0644;
/*
* LOGGING
*/
//
// Upload notification e-mail.
// If set, an e-mail will be sent every time someone uploads a file or creates a new dirctory.
// Default: $_CONFIG['upload_email'] = "";
//
$_CONFIG['upload_email'] = "";
//
// Logfile name. If set, a log line will be written there whenever a directory or file is accessed.
// For example: $_CONFIG['log_file'] = ".log.txt";
// Default: $_CONFIG['log_file'] = "";
//
$_CONFIG['log_file'] = "";
/*
* SYSTEM
*/
//
// The starting directory. Normally no need to change this.
// Use only relative subdirectories!
// For example: $_CONFIG['starting_dir'] = "./mysubdir/";
// Default: $_CONFIG['starting_dir'] = ".";
//
$_CONFIG['starting_dir'] = ".";
//
// Location in the server. Usually this does not have to be set manually.
// Default: $_CONFIG['basedir'] = "";
//
$_CONFIG['basedir'] = "";
//
// Big files. If you have some very big files (>4GB), enable this for correct
// file size calculation.
// Default: $_CONFIG['large_files'] = false;
//
$_CONFIG['large_files'] = false;
//
// The session name, which is used as a cookie name.
// Change this to something original if you have multiple copies in the same space
// and wish to keep their authentication separate.
// The value can contain only letters and numbers. For example: MYSESSION1
// More info at: http://www.php.net/manual/en/function.session-name.php
// Default: $_CONFIG['session_name'] = "";
//
$_CONFIG['session_name'] = "";
/***************************************************************************/
/* TÕLKED */
/* */
/* TRANSLATIONS. */
/***************************************************************************/
$_TRANSLATIONS = array();
// Albanian
$_TRANSLATIONS["al"] = array(
"file_name" => "Emri Skedarit",
"size" => "Madhësia",
"last_changed" => "Ndryshuar",
"total_used_space" => "Memorija e përdorur total",
"free_space" => "Memorija e lirë",
"password" => "Fjalëkalimi",
"upload" => "Ngarko skedarë",
"failed_upload" => "Ngarkimi i skedarit dështoi!",
"failed_move" => "Lëvizja e skedarit në udhëzuesin e saktë deshtoi!",
"wrong_password" => "Fjalëkalimi i Gabuar!!",
"make_directory" => "New dir",
"new_dir_failed" => "Failed to create directory",
"chmod_dir_failed" => "Failed to change directory rights",
"unable_to_read_dir" => "Unable to read directory",
"location" => "Location",
"root" => "Root"
);
// Bulgarian
$_TRANSLATIONS["bg"] = array(
"file_name" => "Име",
"size" => "Размер",
"last_changed" => "Последна промяна",
"total_used_space" => "Общо използвано",
"free_space" => "Свободно място",
"password" => "Парола",
"upload" => "Качване",
"failed_upload" => "Неуспешно качване на файла!",
"failed_move" => "Неуспешно преместване на файла в правилната директория!",
"wrong_password" => "Грешна парола",
"make_directory" => "Нова директория",
"new_dir_failed" => "Грешка при създаване на директорията",
"chmod_dir_failed" => "Грешка при смяна на правата до директорията",
"unable_to_read_dir" => "Директорията не може да бъде прочетена",
"location" => "Път",
"root" => "Корен",
"log_file_permission_error" => "Скриптът няма права за запис в лог файла.",
"upload_not_allowed" => "Настройките на скрипта не позволяват качване в тази директория.",
"upload_dir_not_writable" => "Нямате право за запис в тази директория.",
"mobile_version" => "Мобилна версия",
"standard_version" => "Стандартен изглед",
"page_load_time" => "Страницата е генерирана за %.2f мс",
"wrong_pass" => "Грешен потребител или парола",
"username" => "Потребител",
"log_in" => "Вход",
"upload_type_not_allowed" => "Този файлов формат е забранен за качване.",
"del" => "Изтриване",
"log_out" => "Изход"
);
// Czech
$_TRANSLATIONS["cz"] = array(
"file_name" => "Název souboru",
"size" => "Velikost",
"last_changed" => "Změněno",
"total_used_space" => "Obsazený prostor",
"free_space" => "Volný prostor",
"password" => "Heslo",
"upload" => "Nahrát",
"failed_upload" => "Nahrávání se nezdařilo!",
"failed_move" => "Přesun souboru do určeného adresáře se nezdařil!",
"wrong_password" => "Chybné heslo",
"make_directory" => "Nový adresář",
"new_dir_failed" => "Vytvoření adresáře se nezdařilo",
"chmod_dir_failed" => "Změna práv adresáře se nezdařila",
"unable_to_read_dir" => "Chyba při čtení adresáře",
"location" => "Umístění",
"root" => "Kořenový adresář",
"log_file_permission_error" => "Skript nemá oprávnění k zápisu do souboru protokolu.",
"upload_not_allowed" => "Konfigurační skript neumožňuje nahrávání v tomto adresáři.",
"upload_dir_not_writable" => "Tento adresář nemá oprávnění k zápisu.",
"mobile_version" => "Zobrazení pro mobil",
"standard_version" => "Standardní zobrazení",
"page_load_time" => "Stránka nahrána za %.2f ms",
"wrong_pass" => "Špatné uživatelské jméno nebo heslo",
"username" => "Uživatelské jméno",
"log_in" => "Přihlásit se",
"upload_type_not_allowed" => "Tento typ souboru není povolen pro nahrávání.",
"del" => "Smazat",
"log_out" => "Odhlásit se"
);
// Dutch
$_TRANSLATIONS["nl"] = array(
"file_name" => "Bestandsnaam",
"size" => "Omvang",
"last_changed" => "Laatst gewijzigd",
"total_used_space" => "Totaal gebruikte ruimte",
"free_space" => "Beschikbaar",
"password" => "Wachtwoord",
"upload" => "Upload",
"failed_upload" => "Fout bij uploaden van bestand!",
"failed_move" => "Fout bij het verplaatsen van tijdelijk uploadbestand!",
"wrong_password" => "Fout wachtwoord!",
"make_directory" => "Nieuwe folder",
"new_dir_failed" => "Fout bij aanmaken folder!",
"chmod_dir_failed" => "Rechten konden niet gewijzigd worden!",
"unable_to_read_dir" => "Niet mogelijk om directorie te lezen",
"location" => "Locatie",
"root" => "Root",
"log_file_permission_error" => "Script heeft geen toegang tot het logbestand.",
"upload_not_allowed" => "Uploaden van bestanden is niet toegestaan.",
"upload_dir_not_writable" => "Het is niet toegestaan in deze directorie bestanden te plaatsen.",
"mobile_version" => "Mobiele weergave",
"standard_version" => "Standaard weergave",
"page_load_time" => "Pagina geladen in %.2f ms",
"wrong_pass" => "Foutieve gebruikersnaam of wachtwoord",
"username" => "Gebruikersnaam",
"log_in" => "Inloggen",
"upload_type_not_allowed" => "Dit type bestand is niet toegestaan.",
"del" => "Verwijder", // short for Delete
"log_out" => "Uitloggen"
);
// English
$_TRANSLATIONS["en"] = array(
"file_name" => "File name",
"size" => "Size",
"last_changed" => "Last updated",
"total_used_space" => "Total space used",
"free_space" => "Free space",
"password" => "Password",
"upload" => "Upload",
"failed_upload" => "Failed to upload the file!",
"failed_move" => "Failed to move the file into the right directory!",
"wrong_password" => "Wrong password",
"make_directory" => "New directory",
"new_dir_failed" => "Failed to create directory",
"chmod_dir_failed" => "Failed to change directory rights",
"unable_to_read_dir" => "Unable to read directory",
"location" => "Location",
"root" => "Root",
"log_file_permission_error" => "The script does not have permissions to write the log file.",
"upload_not_allowed" => "The script configuration does not allow uploading in this directory.",
"upload_dir_not_writable" => "This directory does not have write permissions.",
"mobile_version" => "Mobile view",
"standard_version" => "Standard view",
"page_load_time" => "Page loaded in %.2f ms",
"wrong_pass" => "Wrong username or password",
"username" => "Username",
"log_in" => "Log in",
"upload_type_not_allowed" => "This file type is not allowed for uploading.",
"del" => "Delete",
"log_out" => "Log out"
);
// Estonian
$_TRANSLATIONS["et"] = array(
"file_name" => "Faili nimi",
"size" => "Suurus",
"last_changed" => "Viimati muudetud",
"total_used_space" => "Kokku kasutatud",
"free_space" => "Vaba ruumi",
"password" => "Parool",
"upload" => "Uploadi",
"failed_upload" => "Faili ei õnnestunud serverisse laadida!",
"failed_move" => "Faili ei õnnestunud õigesse kausta liigutada!",
"wrong_password" => "Vale parool",
"make_directory" => "Uus kaust",
"new_dir_failed" => "Kausta loomine ebaõnnestus",
"chmod_dir_failed" => "Kausta õiguste muutmine ebaõnnestus",
"unable_to_read_dir" => "Unable to read directory",
"location" => "Asukoht",
"root" => "Peakaust"
);
// Finnish
$_TRANSLATIONS["fi"] = array(
"file_name" => "Tiedoston nimi",
"size" => "Koko",
"last_changed" => "Muokattu",
"total_used_space" => "Yhteenlaskettu koko",
"free_space" => "Vapaa tila",
"password" => "Salasana",
"upload" => "Lisää tiedosto",
"failed_upload" => "Tiedoston lisäys epäonnistui!",
"failed_move" => "Tiedoston siirto kansioon epäonnistui!",
"wrong_password" => "Väärä salasana",
"make_directory" => "Uusi kansio",
"new_dir_failed" => "Uuden kansion luonti epäonnistui!",
"chmod_dir_failed" => "Kansion käyttäjäoikeuksien muuttaminen epäonnistui!",
"unable_to_read_dir" => "Kansion sisältöä ei voi lukea.",
"location" => "Paikka",
"root" => "Juurihakemisto",
"log_file_permission_error" => "Ohjelman ei ole sallittu kirjoittaa lokiin.",
"upload_not_allowed" => "Ohjelman asetukset eivät salli tiedoston lisäämistä tähän kansioon.",
"upload_dir_not_writable" => "Kansioon tallentaminen epäonnistui.",
"mobile_version" => "Mobiilinäkymä",
"standard_version" => "Tavallinen näkymä",
"page_load_time" => "Sivu ladattu %.2f ms:ssa",
"wrong_pass" => "Väärä käyttäjätunnus tai salasana",
"username" => "Käyttäjätunnus",
"log_in" => "Kirjaudu sisään",
"log_out" => "Kirjaudu ulos",
"upload_type_not_allowed" => "Tämän tiedostotyypin lisääminen on estetty.",
"del" => "Poista"
);
// French
$_TRANSLATIONS["fr"] = array(
"file_name" => "Nom de fichier",
"size" => "Taille",
"last_changed" => "Ajouté",
"total_used_space" => "Espace total utilisé",
"free_space" => "Espace libre",
"password" => "Mot de passe",
"upload" => "Envoyer un fichier",
"failed_upload" => "Erreur lors de l'envoi",
"failed_move" => "Erreur lors du changement de dossier",
"wrong_password" => "Mauvais mot de passe",
"make_directory" => "Nouveau dossier",
"new_dir_failed" => "Erreur lors de la création du dossier",
"chmod_dir_failed" => "Impossible de changer les permissions du dossier",
"unable_to_read_dir" => "Impossible de lire le dossier",
"location" => "Localisation",
"root" => "Racine",
"log_file_permission_error" => "Le script ne possède pas les permissions pour écrire un fichier d'enregistrement.",
"upload_not_allowed" => "La configuration actuelle ne permet de déposer un fichier dans ce dossier.",
"upload_dir_not_writable" => "Ce dossier ne possède pas les permissions en écriture.",
"mobile_version" => "Vue mobile",
"standard_version" => "Vue standard",
"page_load_time" => "Page chargée en %.2f ms",
"wrong_pass" => "Identifiant ou mot de passe incorrect",
"username" => "Identifiant",
"log_in" => "Connexion",
"upload_type_not_allowed" => "Ce format de fichier n'est pas autorisé.",
"del" => "Effacer",
"log_out" => "Déconnexion"
);
// German
$_TRANSLATIONS["de"] = array(
"file_name" => "Dateiname",
"size" => "Größe",
"last_changed" => "Letzte Änderung",
"total_used_space" => "Benutzter Speicherplatz",
"free_space" => "Freier Speicherplatz",
"password" => "Passwort",
"upload" => "Upload",
"failed_upload" => "Upload ist fehlgeschlagen!",
"failed_move" => "Verschieben der Datei ist fehlgeschlagen!",
"wrong_password" => "Falsches Passwort",
"make_directory" => "Neuer Ordner",
"new_dir_failed" => "Erstellen des Ordners fehlgeschlagen",
"chmod_dir_failed" => "Veränderung der Zugriffsrechte des Ordners fehlgeschlagen",
"unable_to_read_dir" => "Ordner konnte nicht gelesen werden",
"location" => "Ort",
"root" => "Wurzelverzeichnis",
"log_file_permission_error" => "Das Script kann wegen fehlenden Berechtigungen keine Log Datei schreiben.",
"upload_not_allowed" => "Die Scriptkonfiguration erlaubt kein Hochladen in dieses Verzeichnis.",
"upload_dir_not_writable" => "Dieser Ordner besitzt keine Schreibrechte.",
"mobile_version" => "Mobile Ansicht",
"standard_version" => "Normale Ansicht",
"page_load_time" => "Die Seite wurde in %.2f ms geladen",
"wrong_pass" => "Benutzername oder Kennwort falsch",
"username" => "Benutzername",
"log_in" => "Einloggen",
"upload_type_not_allowed" => "Dieser Dateityp darf nicht hochgeladen werden.",
"del" => "Entfernen",
"log_out" => "Ausloggen"
);
// Greek
$_TRANSLATIONS["el"] = array(
"file_name" => "Όνομα αρχείου",
"size" => "Μέγεθος",
"last_changed" => "Τροποποιημένο",
"total_used_space" => "Χρησιμοποιημένος χώρος",
"free_space" => "Ελεύθερος χώρος",
"password" => "Εισάγεται κωδικό",
"upload" => "Φόρτωση",
"failed_upload" => "Αποτυχία φόρτωσης αρχείου!",
"failed_move" => "Αποτυχία μεταφοράς αρχείου στον κατάλληλο φάκελο!",
"wrong_password" => "Λάθος κωδικός",
"make_directory" => "Δημιουργία νέου φακέλου",
"new_dir_failed" => "Αποτυχία δημιουργίας νέου φακέλου",
"chmod_dir_failed" => "Αποτυχία τροποποίησης δικαιωμάτων φακέλου",
"unable_to_read_dir" => "Unable to read directory",
"location" => "Location",
"root" => "Root"
);
// Spanish
$_TRANSLATIONS["es"] = array(
"file_name" => "Nombre del archivo",
"size" => "Tamaño",
"last_changed" => "Último cambio",
"total_used_space" => "Espacio total usado",
"free_space" => "Espacio libre",
"password" => "Contraseña",
"upload" => "Subir el archivo",
"failed_upload" => "¡Error al subir el archivo!",
"failed_move" => "¡Error al mover el archivo al directorio seleccionado!",
"wrong_password" => "Contraseña incorrecta",
"make_directory" => "Crear directorio",
"new_dir_failed" => "Error al crear el directorio",
"chmod_dir_failed" => "Error al cambiar los permisos del directorio",
"unable_to_read_dir" => "No es posible leer el directorio",
"location" => "Localización",
"root" => "Raíz",
"log_file_permission_error" => "El script no tiene permisos para escribir en el archivo de registro.",
"upload_not_allowed" => "La configuración del script no permite subir archivos en este directorio.",
"upload_dir_not_writable" => "Este directorio no tiene permisos de escritura.",
"mobile_version" => "Vista móvil",
"standard_version" => "Vista estándar",
"page_load_time" => "Página cargada en %.2f ms",
"wrong_pass" => "Nombre de usuario o contraseña incorrectos",
"username" => "Usuario",
"log_in" => "Iniciar sesión",
"upload_type_not_allowed" => "Este tipo de archivo no está permitido para la subida.",
"del" => "Eliminar",
"log_out" => "Cerrar sesión"
);
// Esperanto
$_TRANSLATIONS["eo"] = array(
"file_name" => "Dosiernomo",
"size" => "Grando",
"last_changed" => "Lasta ŝanĝo",
"total_used_space" => "Uzata spaco",
"free_space" => "Disponebla spaco",
"password" => "pasvorto",
"upload" => "Alŝuto",
"failed_upload" => "Alŝuto malsukcesis!",
"failed_move" => "Movo de la dosiero malsukcesis!",
"wrong_password" => "Malĝusta pasvorto",
"make_directory" => "Nova dosierujo",
"new_dir_failed" => "Kreado de dosierujo malsukcesis",
"chmod_dir_failed" => "Ŝanĝo de dosierujaj rajtoj malsukcesis",
"unable_to_read_dir" => "Dosierujo ne estas legebla",
"location" => "Loko",
"root" => "Radiko",
"log_file_permission_error" => "La skripto ne rajtas skribi la protokolan dosieron.",
"upload_not_allowed" => "La skripto malpermesas alŝuti en ĉi tiun dosierujon.",
"upload_dir_not_writable" => "Ĉi tiu dosierujo ne rajtigas skribadon.",
"mobile_version" => "Vido por mobilaj iloj",
"standard_version" => "Defaŭlta vido",
"page_load_time" => "Paĝo ŝarĝita en %.2f ms",
"wrong_pass" => "Malĝusta salutnomo aŭ pasvorto",
"username" => "Salutnomo",
"log_in" => "Ensaluto",
"upload_type_not_allowed" => "Alŝuto estas malpermesita por ĉi tiu dosiertipo.",
"del" => "For", // short for Delete
"log_out" => "Adiaŭo"
);
// Hungarian
$_TRANSLATIONS["hu"] = array(
"file_name" => "Fájl név",
"size" => "Méret",
"last_changed" => "Utolsó módosítás",
"total_used_space" => "Összes elfoglalt terület",
"free_space" => "Szabad terület",
"password" => "Jelszó",
"upload" => "Feltöltés",
"failed_upload" => "A fájl feltöltése nem sikerült!",
"failed_move" => "A fájl mozgatása nem sikerült!",
"wrong_password" => "Hibás jelszó",
"make_directory" => "Új mappa",
"new_dir_failed" => "A mappa létrehozása nem sikerült",
"chmod_dir_failed" => "A mappa jogainak megváltoztatása nem sikerült",
"unable_to_read_dir" => "A mappa nem olvasható",
"location" => "Hely",
"root" => "Gyökér",
"log_file_permission_error" => "A log fájl írása jogosultsági okok miatt nem sikerült.",
"upload_not_allowed" => "Ebbe a mappába a feltöltés nem engedélyezett.",
"upload_dir_not_writable" => "A mappa nem írható.",
"mobile_version" => "Mobil nézet",
"standard_version" => "Web nézet",
"page_load_time" => "Letöltési id? %.2f ms",
"wrong_pass" => "Rossz felhasználónév vagy jelszó",
"username" => "Felhasználónév",
"log_in" => "Belépés",
"upload_type_not_allowed" => "A fájltípus feltöltése tiltott."
);
// Italian
$_TRANSLATIONS["it"] = array(
"file_name" => "Nome file",
"size" => "Dimensione",
"last_changed" => "Ultima modifica",
"total_used_space" => "Totale spazio usato",
"free_space" => "Spazio disponibile",
"password" => "Parola chiave",
"upload" => "Caricamento file",
"failed_upload" => "Caricamento del file fallito!",
"failed_move" => "Spostamento del file nella cartella fallito!",
"wrong_password" => "Password sbagliata",
"make_directory" => "Nuova cartella",
"new_dir_failed" => "Creazione cartella fallita!",
"chmod_dir_failed" => "Modifica dei permessi della cartella fallita!",
"unable_to_read_dir" => "Non abilitato a leggere la cartella",
"location" => "Posizione",
"root" => "Indice",
"log_file_permission_error" => "Lo script non ha i permessi per scrivere il file di log.",
"upload_not_allowed" => "La configurazione dello script non permette l'upload in questa cartella.",
"upload_dir_not_writable" => "Questa cartella non ha i permessi di scrittura.",
"mobile_version" => "Visualizzazione Mobile",
"standard_version" => "Visualizzazione Standard",
"page_load_time" => "Page aperta in %.2f min",
"wrong_pass" => "Username o password errati",
"username" => "Username",
"log_in" => "Log in",
"upload_type_not_allowed" => "Questo formato di file non è abilitato per l'upload.",
"del" => "Cancella", // short for Delete
"log_out" => "Esci"
);
// Korean
$_TRANSLATIONS["ko"] = array(
"file_name" => "이름",
"size" => "크기",
"last_changed" => "마지막 수정",
"total_used_space" => "사용한 공간",
"free_space" => "남은 공간",
"password" => "비밀번호",
"upload" => "올리기",
"failed_upload" => "파일을 올릴 수 없습니다.",
"failed_move" => "파일을 옮길 수 없습니다.",
"wrong_password" => "비밀번호가 올바르지 않습니다.",
"make_directory" => "만들기",
"new_dir_failed" => "폴더를 만들 수 없습니다.",
"chmod_dir_failed" => "권한 설정을 할 수 없습니다.",
"unable_to_read_dir" => "폴더를 읽을 수 없습니다.",
"location" => "위치",
"root" => "최상위 폴더",
"log_file_permission_error" => "로그 파일의 위치에 쓰기 권한을 가지고 있지 않습니다.",
"upload_not_allowed" => "이 위치에 올릴 수 없습니다.",
"upload_dir_not_writable" => "이 위치에 쓰기 권한을 가지고 있지 않습니다.",
"mobile_version" => "모바일 버전으로 보기",
"standard_version" => "표준 화면으로 보기",
"page_load_time" => "페이지 로드 %.2f ms",
"wrong_pass" => "사용자 이름 또는 비밀번호가 올바르지 않습니다.",
"username" => "사용자 이름",
"log_in" => "로그인",
"upload_type_not_allowed" => "이 종류의 파일은 올릴 수 없습니다.",
"del" => "삭제",
"log_out" => "로그아웃"
);
// Norwegian
$_TRANSLATIONS["no"] = array(
"file_name" => "Navn",
"size" => "Størrelse",
"last_changed" => "Endret",
"total_used_space" => "Brukt plass",
"free_space" => "Resterende plass",
"password" => "Passord",
"upload" => "Last opp",
"failed_upload" => "Opplasting gikk galt",
"failed_move" => "Kunne ikke flytte objektet",
"wrong_password" => "Feil passord",
"make_directory" => "Ny mappe",
"new_dir_failed" => "Kunne ikke lage ny mappe",
"chmod_dir_failed" => "Kunne ikke endre rettigheter",
"unable_to_read_dir" => "Kunne ikke lese mappen",
"location" => "Område",
"root" => "Rot"
);
//Polish
$_TRANSLATIONS["pl"] = array(
"file_name" => "Nazwa pliku",
"size" => "Rozmiar",
"last_changed" => "Data zmiany",
"total_used_space" => "Cała przestrzeń",
"free_space" => "Wolna przestrzeń",
"password" => "Hasło",
"upload" => "Prześlij",
"failed_upload" => "Przesłanie pliku nie powiodło się",
"failed_move" => "Przenoszenie pliku nie powiodło się!",
"wrong_password" => "Niepoprawne hasło",
"make_directory" => "Nowy folder",
"new_dir_failed" => "Błąd podczas tworzenia nowego folderu",
"chmod_dir_failed" => "Błąd podczas zmiany uprawnień folderu",
"unable_to_read_dir" => "Odczytanie folderu nie powiodło się",
"location" => "Miejsce",
"root" => "Start",
"log_file_permission_error" => "Brak uprawnień aby utworzyć dziennik działań.",
"upload_not_allowed" => "Konfiguracja zabrania przesłania pliku do tego folderu.",
"upload_dir_not_writable" => "Nie można zapisać pliku do tego folderu.",
"mobile_version" => "Wersja mobilna",
"standard_version" => "Widok standardowy",
"page_load_time" => "Załadowano w %.2f ms",
"wrong_pass" => "Niepoprawna nazwa użytkownika lub złe hasło",
"username" => "Użytkownik",
"log_in" => "Zaloguj się",
"upload_type_not_allowed" => "Ten rodzaj pliku jest zabroniony.",
"del" => "Kasuj",
"log_out" => "Wyloguj się"
);
// Portuguese (Brazil)
$_TRANSLATIONS["pt_BR"] = array(
"file_name" => "Nome do arquivo",
"size" => "Tamanho",
"last_changed" => "Modificado em",
"total_used_space" => "Total de espaço utilizado",
"free_space" => "Espaço livre",
"password" => "Senha",
"upload" => "Enviar",
"failed_upload" => "Falha ao enviar o arquivo!",
"failed_move" => "Falha ao mover o arquivo para o diretório correto!",
"wrong_password" => "Senha errada",
"make_directory" => "Nova pasta",
"new_dir_failed" => "Falha ao criar diretório",
"chmod_dir_failed" => "Falha ao mudar os privilégios do diretório",
"unable_to_read_dir" => "Não foi possível ler o diretório",
"location" => "Localização",
"root" => "Raíz",
"log_file_permission_error" => "O script não tem permissão para escrever o arquivo de log.",
"upload_not_allowed" => "A configuração do script não permite envios neste diretório.",
"upload_dir_not_writable" => "Não há permissão para escrita neste diretório.",
"mobile_version" => "Versão Móvel",
"standard_version" => "Versão Padrão",
"page_load_time" => "Página carregada em %.2f ms",
"wrong_pass" => "Nome de usuário ou senha errados",
"username" => "Nome de Usuário",
"log_in" => "Log in",
"upload_type_not_allowed" => "Não é permitido envio de arquivos deste tipo.",
"del" => "Deletar",
"log_out" => "Log out"
);
// Portuguese (Portugal)
$_TRANSLATIONS["pt_PT"] = array(
"file_name" => "Nome do ficheiro",
"size" => "Tamanho",
"last_changed" => "Modificado em",
"total_used_space" => "Total de espaço utilizado",
"free_space" => "Espaço livre",
"password" => "Palavra-passe",
"upload" => "Enviar",
"failed_upload" => "Falha ao enviar o ficheiro!",
"failed_move" => "Falha ao mover o ficheiro para a pasta correcta!",
"wrong_password" => "Palavra-passe errada",
"make_directory" => "Nova pasta",
"new_dir_failed" => "Falha ao criar pasta",
"chmod_dir_failed" => "Falha ao mudar os privilégios da pasta",
"unable_to_read_dir" => "Não foi possível ler a pasta",
"location" => "Localização",
"root" => "Raíz",
"log_file_permission_error" => "O script não tem permissão para escrever o ficheiro de log.",
"upload_not_allowed" => "A configuração do script não permite envios para esta pasta.",
"upload_dir_not_writable" => "Não há permissão para escrita nesta pasta.",
"mobile_version" => "Versão Móvel",
"standard_version" => "Versão Padrão",
"page_load_time" => "Página carregada em %.2f ms",
"wrong_pass" => "Nome de utilizador ou palavra-passe incorrectos",
"username" => "Nome de utilizador",
"log_in" => "Entrar",
"upload_type_not_allowed" => "Não é permitido o envio de ficheiros deste tipo.",
"del" => "Apagar",
"log_out" => "Sair"
);
// Romanian
$_TRANSLATIONS["ro"] = array(
"file_name" => "Nume fisier",
"size" => "Marime",
"last_changed" => "Ultima modificare",
"total_used_space" => "Spatiu total utilizat",
"free_space" => "Spatiu disponibil",
"password" => "Parola",
"upload" => "Incarcare fisier",
"failed_upload" => "Incarcarea fisierului a esuat!",
"failed_move" => "Mutarea fisierului in alt director a esuat!",
"wrong_password" => "Parol gresita!",
"make_directory" => "Director nou",
"new_dir_failed" => "Eroare la crearea directorului",
"chmod_dir_failed" => "Eroare la modificarea drepturilor pe director",
"unable_to_read_dir" => "Nu s-a putut citi directorul",
"location" => "Locatie",
"root" => "Root"
);
// Russian
$_TRANSLATIONS["ru"] = array(
"file_name" => "Имя файла",
"size" => "Размер",
"last_changed" => "Последнее изменение",
"total_used_space" => "Всего использовано",
"free_space" => "Свободно",
"password" => "Пароль",
"upload" => "Загрузка",
"failed_upload" => "Не удалось загрузить файл!",
"failed_move" => "Не удалось переместить файл в нужную папку!",
"wrong_password" => "Неверный пароль",
"make_directory" => "Новая папка",
"new_dir_failed" => "Не удалось создать папку",
"chmod_dir_failed" => "Не удалось изменить права доступа к папке",
"unable_to_read_dir" => "Не возможно прочитать папку",
"location" => "Расположение",
"root" => "Корневая папка",
"log_file_permission_error" => "Скрипт не имеет прав для записи лога файла.",
"upload_not_allowed" => "Загрузка в эту папку запрещена в настройках скрипта",
"upload_dir_not_writable" => "В эту папку запрещена запись",
"mobile_version" => "Мобильный вид",
"standard_version" => "Обычный вид",
"page_load_time" => "Страница загружена за %.2f мс.",
"wrong_pass" => "Неверное имя пользователя или пароль",
"username" => "Имя пользователя",
"log_in" => "Войти",
"upload_type_not_allowed" => "Этот тип файла запрещено загружать",
"del" => "удалить",
"log_out" => "выйти"
);
// Ukrainian
$_TRANSLATIONS["ua"] = array(
"file_name" => "Ім'я файлу",
"size" => "Розмір",
"last_changed" => "Востаннє змінено",
"total_used_space" => "Всього використано",
"free_space" => "Вільно",
"password" => "Пароль",
"upload" => ">> Завантажити",
"failed_upload" => "Не вдалось завантажити файл!",
"failed_move" => "Не вдалось перемістити файл в потрібну теку!",
"wrong_password" => "Невірний пароль",
"make_directory" => "Нова тека",
"new_dir_failed" => "Не вдалось створити теку",
"chmod_dir_failed" => "Не вдалось змінити права доступу до теки",
"unable_to_read_dir" => "Неможливо прочитати теку",
"location" => "Знаходження",
"root" => "Початок",
"log_file_permission_error" => "Скрипт не має прав запису лог файлу.",
"upload_not_allowed" => "Завантаження в цю теку заборонено в налаштуваннях скрипта",
"upload_dir_not_writable" => "В цю теку запис заборонений",
"mobile_version" => "Мобільний",
"standard_version" => "Звичайний вид",
"page_load_time" => "Сторінка завантажена за %.2f мс.",
"wrong_pass" => "Невірне ім'я користувача чи пароль",
"username" => "Ім'я користувача",
"log_in" => "Вийти",
"upload_type_not_allowed" => "Цей тип файлу завантажувати заборонено",
"del" => "Видалити",
"log_out" => "вийти"
);
// Slovensky
$_TRANSLATIONS["sk"] = array(
"file_name" => "Meno súboru",
"size" => "Veľkosť",
"last_changed" => "Posledná zmena",
"total_used_space" => "Použité miesto celkom",
"free_space" => "Voľné miesto",
"password" => "Heslo",
"upload" => "Nahranie súborov",
"failed_upload" => "Chyba nahrávania súboru!",
"failed_move" => "Nepodarilo sa presunúť súbor do vybraného adresára!",
"wrong_password" => "Neplatné heslo!",
"make_directory" => "Nový priečinok",
"new_dir_failed" => "Nepodarilo sa vytvoriť adresár!",
"chmod_dir_failed" => "Nepodarilo sa zmeniť práva adresára!",
"unable_to_read_dir" => "Nemôžem čítať adresár",
"location" => "Umiestnenie",
"root" => "Domov"
);
// Swedish
$_TRANSLATIONS["sv"] = array(
"file_name" => "Filnamn",
"size" => "Storlek",
"last_changed" => "Senast ändrad",
"total_used_space" => "Totalt upptaget utrymme",
"free_space" => "Ledigt utrymme",
"password" => "Lösenord",
"upload" => "Ladda upp",
"failed_upload" => "Fel vid uppladdning av fil!",
"failed_move" => "Fel vid flytt av fil till mapp!",
"wrong_password" => "Fel lösenord",
"make_directory" => "Ny mapp",
"new_dir_failed" => "Fel vid skapande av mapp",
"chmod_dir_failed" => "Fel vid ändring av mappens egenskaper",
"unable_to_read_dir" => "Kan inte lasa den filen",
"location" => "Plats",
"root" => "Hem",
"log_file_permission_error" => "Scriptet har inte behörighet att skriva till loggfilen.",
"upload_not_allowed" => "Skriptets konfiguration tillåter inte uppladdning till denna katalog.",
"upload_dir_not_writable" => "Denna katalog har inte behörigheter för att skriva.",
"mobile_version" => "Mobilvisning",
"standard_version" => "Standardvisning",
"page_load_time" => "Sidan laddades på %.2f ms",
"wrong_pass" => "Fel användarnamn eller lösenord",
"username" => "Användarnamn",
"log_in" => "Logga in",
"upload_type_not_allowed" => "Denna filtyp är det inte tillåtet att ladda upp.",
"del" => "Ta bort",
"log_out" => "Logga ut"
);
// Turkish
$_TRANSLATIONS["tr"] = array(
"file_name" => "Dosya Adı",