51

Re: Another File Browser

Wow, it's easy.

But now I have a error. Where must appears: Undefined variable: level in /Users/eduard/Sites/cim/www/web/js/tiny_mce/PDWFileBrowser/functions.php on line 133.

http://img269.imageshack.us/img269/589/errorts.jpg

52

Re: Another File Browser

Tool is Beta and buggig.
See my Screenshot.
It's same.

Waiting to stable Version.

Can you create a "New folder" ??

53

Re: Another File Browser

lord_icon wrote:

Tool is Beta and buggig.
See my Screenshot.
It's same.

Waiting to stable Version.

Can you create a "New folder" ??

No, I can't do anything.

54

Re: Another File Browser

Meanwhile, this is the catalan translation

<?php
/*
Language: Català (ca)

$lang = array(
    "decimal seperator" => ",",
    "thousands separator" => ".",
    "datetime format" => "d/m/Y H:i", // www.php.net/manual/en/function.date.php
    "Insert" => "Inserir",
    "File" => "Fitxer",
    "Root" => "Root",
    "Close" => "Tancar",
    "New folder" => "Nova carpeta",
    "Upload" => "Pujar",
    "Clipboard" => "Portapapers",
    "Items" => "objectes",
    "Change view" => "Canvia la vista",
    "View" => "Vista",
    "Large images" => "Imatges grans",
    "Small images" => "Imatges petites",
    "List" => "Llista",
    "Details" => "Detalls",
    "Tiles" => "Mosaic",
    "Content" => "Contingut",
    "Show the preview pane" => "Mostra la vista prèvia",
    "Help" => "Ajuda",
    "Search" => "Cerca",
    "Dimensions" => "Dimensions",
    "Filename" => "Nom",
    "Filetype" => "Tipus",
    "Size" => "Mida",
    "Modified on" => "Data de modificació",
    "Directory" => "Directori",
    "Add a new folder" => "Crea una nova carpeta",
    "New folder is created in" => "La nova carpeta serà creada dins",
    "Name of the new folder" => "Nom de la nova carpeta",
    "Create folder" => "Crear carpeta",
    "Upload a new file" => "Pujar un fitxar",
    "Image editor" => "Editor d'imatges",
    "Browse" => "Navega...",
    "Upload Queue" => "Cua de pujada",
    "Currently uploading in folder" => "Actualment pujant a la carpeta",
    "Select your file" => "Selecciona el(s) fitxer(s)",
    
    //Context menu
    "cmenu_insert" => "Insertar",
    "cmenu_edit" => "Editar imatge",
    "cmenu_copy" => "Copiar",
    "cmenu_cut" => "Tallar",
    "cmenu_paste" => "Enganxar",
    "cmenu_delete" => "Esborrar",
    "cmenu_delete_confirm_message_folder" => "Segur que vols esborrar aquesta carpeta i el seu contingut?",
    "cmenu_delete_confirm_message_file" => "Segur que vols esborrar aquest fitxer?",
    "cmenu_delete_confirm_message_image" => "Segur que vols esborrar aquesta imatge?",
    "cmenu_open" => "Obert",
    "cmenu_large_images" => "Imatges grans",
    "cmenu_small_images" => "Imatges petites",
    "cmenu_list" => "Llista",
    "cmenu_details" => "Detalls",
    "cmenu_tiles" => "Mosaic",
    "cmenu_content" => "Contingut",
    "cmenu_refresh" => "Refresca",
    "cmenu_new_folder" => "Nova carpeta",
    "cmenu_rename" => "Canviar el nom",
    
    //Messages
    "folder_tampered_with" => "La ruta del fitxer s'ha modificat!",
    "folder_name_invalid" => "La creació de la nova carpeta ha fallat!<br />El següents caràcters no estan permesos: ^ \\ / ? * \" ' < > : |",
    "create_folder_successful" => "La nova carpeta s'ha creat!",
    "create_folder_failed" => "La creació de la nova carpeta ha fallat!",
    "file_tampered_with" => "La ruta del fitxer s'ha modificat!",
    "loadfolder_error_1" => "La ruta del fitxer s'ha modificat!",
    "delete_error_1" => "La ruta del fitxer o de la carpeta s'ha modificat!",
    "delete_error_2" => "No s'ha pogut esborrar el fitxer!",
    "delete_error_3" => "No s'ha pogut esborrar la carpeta!",
    "delete_success" => " fitxers esborrats correctament!",
    "select_one_file" => "Selecciona només un fitxer per moure!",
    "insert_cancelled" => "S'ha cancel·lat la inserció perquè no hi ha destí!",
    "directory_already_exists" => "La carpeta ja existeix!",
    "file_already_exists" => "El fitxer ja existeix!",
    "rename_failed" => "El canvi de nom ha fallat!",
    "rename_file" => "Si us plau dóna un nom nou {0}{1}L'extensió del fitxers s'afegeix automàticament!{1}(Aquests caràcters no estan permesos {2})",
    "rename_folder" => "Si us plau dóna un nom nou {0}{1}(Aquests caràcters no estan permesos {2})",
    "action_not_allowed" => "Acció no permesa!"
);

55

Re: Another File Browser

Hi quisoc and lord_icon,

Sorry the plug in isn't working for you guys. It is indeed still beta and it isn't perfect just yet. If you add

error_reporting(E_ALL ^ E_NOTICE);

in the first line of the config.php file then their shouldn't be to many problems. Now all errors are reported also the notices. I hope to have a new update next week but I'm not going to promise anything.

BTW You can just delete line 133 because the $level variable isn't doing anything.

Quisoc thanks for the translation I will add it to the rest of the bunch wink

If it still isn't working for you then e-mail me and I will try to help you out.

Greetings,

Guido

Last edited by Guido Neele (2010-08-20 20:47:20)

56

Re: Another File Browser

Hi Guido,

I will send you sometimes in if news runs of the evening.

Then there you have my access dates FTP.

QUISOC and I have exactly the same problems. Only on your HP it seems to run.

The file browser should be also presumably used by others.

P.s. Can you write invoice?
If you wanted I can also pay to you a little what. Need moreover, however, an invoice. To receive the money from the books. (However only if you want)

57

Re: Another File Browser

Hi,

needle and I build on the file browser.
Some problems could be already remedied.

The file browser itself also runs in the Safe_mode.
Indeed, a few variables must become here differently decorates.

Here I need your help.
With whom goes: "Create of folder"?

Is able to do him sometimes please the following output here posten:

[PHP]
<?php
echo '<pre>';
//print_r(ini_get_all());

echo 'safe_mode_exec_dir: '. ini_get('safe_mode_exec_dir');
echo '<hr>';
echo 'open_basedir: '. ini_get('open_basedir');
echo '<hr>';
echo 'session.save_path: ' . ini_get('session.save_path');
echo '<hr>';
echo 'upload_tmp_dir: '. ini_get('upload_tmp_dir');

echo '</pre>';
?>
[/PHP]

Output:

safe_mode_exec_dir: /srv/www/htdocs/ks014/temp
open_basedir: /srv/www/htdocs/ks014/:/usr/share/php
session.save_path: /srv/www/htdocs/ks014/temp
upload_tmp_dir: /srv/www/htdocs/ks014/temp

58

Re: Another File Browser

Who has, for example, the following problem:

Warning: is_file(): open_basedir restriction in effect. File(/tmp/minify_40223144609a846b6d948e5a76c1f0be) is not within the allowed path(s): (/srv/www/htdocs/ks013/:/usr/share/php) in /srv/www/htdocs/ks013/html/werbemittel/open_source/com.moxiecode.tinymce/filebrowser/minify.php on line 460

Warning: file_put_contents(): open_basedir restriction in effect. File(/tmp/minify_40223144609a846b6d948e5a76c1f0be) is not within the allowed path(s): (/srv/www/htdocs/ks013/:/usr/share/php) in /srv/www/htdocs/ks013/html/werbemittel/open_source/com.moxiecode.tinymce/filebrowser/minify.php on line 389

Warning: file_put_contents(/tmp/minify_40223144609a846b6d948e5a76c1f0be): failed to open stream: Operation not permitted in /srv/www/htdocs/ks013/html/werbemittel/open_source/com.moxiecode.tinymce/filebrowser/minify.php on line 389

He works on the file: minify.php
Line: 98

OLD:
  define('MINIFY_CACHE_DIR', sys_get_temp_dir());


in the following: NEW:
  define('MINIFY_CACHE_DIR', ini_get('upload_tmp_dir'));


However, I must still test out this with needle.
Doubtfully whether is applicable for everybody.

59

Re: Another File Browser

@QUISOC

Download please this file:
http://www.megafileupload.com/en/file/2 … e-tgz.html   (2.1 MB)

The file has:
Tiny-MCE
  and the
Filebrowser from neele


Unzip the file in your root folder

/test2/tiny_mce/...

Adapt still the path in...
/test2/filebrowser/config.php

$uploadpath = '/test2/tmp/';

Then everything should immediately go:
http://www.<your_domain.de/test2/

Neele has already made various changes.
I have still made several changes.
Neele has received all changes of me.
However, are not taken yet.
So SUPER-BETA.

However, tests sometimes and says me sometimes your mistakes. (in case still which are)

60

Re: Another File Browser

Hi, tomorrow I'll try all yours suggestions.
Thanks!!

61

Re: Another File Browser

All proposals are in one file already in it.

There only to your own pictures state path.

Then you should be able to call on it directly

62

Re: Another File Browser

This week I solved a lot of bugs and various other problems and today I uploaded a new version that should perform better.

Among the changes are:

-----------------------------------------
Version 1.1 beta
-----------------------------------------
+ Added Catalan language (by quisoc)
+ Added French (by tasiot)
+ Added Swedish language (by Swensson)
+ The line "All files (*.*)" in the filter is now also translated
+ The line "Upload is limited to ?? Mb" is now also translated
* Solved javascript errors with Internet Explorer (Rename, Cut & Paste, Copy & Paste, Delete are now working)
* Solved various PHP Notice and Strict Standards errors.

You can find the new download @ http://www.neele.name/filebrowser/

63

Re: Another File Browser

I have changed the Russian language file a little (some terms were left untranslated), here it is:

<?php
/*
Language: Russian
File: lang/ru.php
*/ 
$lang = array(
    "decimal seperator" => ".",
    "thousands separator" => ",",
    "datetime format" => "d.m.Y H:i", // www.php.net/manual/en/function.date.php
    "Insert" => "????????",
    "File" => "????",
    "Root" => "??????",
    "Close" => "???????",
    "New folder" => "????? ?????",
    "Upload" => "????????",
    "Clipboard" => "????? ??????",
    "Items" => "????????",
    "Change view" => "???????? ???",
    "View" => "???",
    "Large images" => "???????????",
    "Small images" => "??????",
    "List" => "??????",
    "Details" => "???????",
    "Tiles" => "??????",
    "Content" => "?????????",
    "Show the preview pane" => "???????? ?????? ?????????????",
    "Help" => "??????",
    "Search" => "?????",
    "All files" => "??? ?????",
    "Dimensions" => "??????????",
    "Filename" => "??? ?????",
    "Filetype" => "???",
    "Size" => "??????",
    "Modified on" => "????????",
    "Directory" => "??????????",
    "Add a new folder" => "???????? ????? ?????",
    "New folder is created in" => "????? ????? ????? ??????? ?",
    "Name of the new folder" => "???????? ????? ?????",
    "Create folder" => "??????? ????? ?????",
    "Upload a new file" => "???????? ????? ????",
    "Image editor" => "???????? ???????????",
    "Browse" => "???????...",
    "Upload Queue" => "??????? ???????",
    "Currently uploading in folder" => "???????????? ? ?????",
    "Select your file" => "???????? ????(?)",
    
    //Context menu
    "cmenu_insert" => "????????",
    "cmenu_edit" => "????????????? ???????????",
    "cmenu_copy" => "??????????",
    "cmenu_cut" => "????????",
    "cmenu_paste" => "????????",
    "cmenu_delete" => "???????",
    "cmenu_delete_confirm_message_folder" => "?? ????????????? ?????? ??????? ??? ????? ?? ???? ???????????",
    "cmenu_delete_confirm_message_file" => "?? ????????????? ?????? ??????? ???? ?????",
    "cmenu_delete_confirm_message_image" => "?? ????????????? ?????? ??????? ??? ????????????",
    "cmenu_open" => "???????",
    "cmenu_large_images" => "???????????",
    "cmenu_small_images" => "??????",
    "cmenu_list" => "??????",
    "cmenu_details" => "???????",
    "cmenu_tiles" => "??????",
    "cmenu_content" => "?????????",
    "cmenu_refresh" => "????????",
    "cmenu_new_folder" => "????? ?????",
    "cmenu_rename" => "?????????????",
    
    //Messages
    "folder_tampered_with" => "???? ? ????? ??? ???????!",
    "folder_name_invalid" => "????? ????? ?? ???????!<br />??????????? ????????????? ????????? ????????: ^ \\ / ? * \" ' < > : |",
    "create_folder_successful" => "????? ????? ???????!",
    "create_folder_failed" => "????? ????? ?? ???????!",
    "file_tampered_with" => "???? ? ????? ??? ???????!",
    "loadfolder_error_1" => "???? ? ????? ??? ???????!",
    "delete_error_1" => "???? ? ????? ??? ????? ??? ???????!",
    "delete_error_2" => "???? ?? ??????!",
    "delete_error_3" => "????? ?? ???????!",
    "delete_success" => " ????? ??????? ???????!",
    "select_one_file" => "???????? ???? ???? ??? ???????!",
    "insert_cancelled" => "??????? ?? ???????????, ??? ??? ?? ??????? ???????????????!",
    "directory_already_exists" => "????? ?????????? ??? ????!",
    "file_already_exists" => "????? ???? ??? ????!",
    "rename_success" => "?????????????? ???????????!",
    "rename_failed" => "?????????????? ?? ???????????!",
    "rename_file" => "?????????? ??????? ????? ??? ??? {0}{1}?????????? ??????????? ?????????????!{1}(????????? ??????? ???????????: {2})",
    "rename_folder" => "?????????? ??????? ????? ??? ??? {0}{1}(????????? ??????? ???????????: {2})",
    "action_not_allowed" => "???????? ?? ?????????!",
    
    //Late additions
    "upload_limited_to" => "??????????? ?? ??????? -- %d ??!",
    "bytes" => "????",
    "kB" => "??",
    "MB" => "??"
);

?>

64

Re: Another File Browser

Hi there,

For everyone who downloaded the latest version 1.1 beta.

Search isn't working because of an error in the file js/jquery.mediabrowser.js.
On line 615 remove var. After this the search feature should work again.

I will update the download this evening.

Guido


Ps. Bonysoft thanks for the translation.

Last edited by Guido Neele (2010-08-31 11:54:18)

65

Re: Another File Browser

Hi,

Nice work Guido smile It's works great smile

Here my Spanish translation tongue

<?php
/*
Language: Spanish (es)
File: lang/es.php
*/ 

$lang = array(
    "decimal seperator" => ",",
    "thousands separator" => ".",
    "datetime format" => "d/m/Y H:i", // www.php.net/manual/en/function.date.php
    "Insert" => "Insertar",
    "File" => "Archivo",
    "Root" => "Raíz",
    "Close" => "Cerrar",
    "New folder" => "Nueva Carpeta",
    "Upload" => "Subir",
    "Clipboard" => "Portapapeles",
    "Items" => "Elementos",
    "Change view" => "Cambiar Vista",
    "View" => "Vista",
    "Large images" => "Imágenes Grandes",
    "Small images" => "Imágenes Pequeñas",
    "List" => "Lista",
    "Details" => "Detalles",
    "Tiles" => "Mosaico",
    "Content" => "Contenido",
    "Show the preview pane" => "Ver vista previa",
    "Help" => "Ayuda",
    "Search" => "Buscar",
    "All files" => "Todos los archivos",
    "Dimensions" => "Dimensiones",
    "Filename" => "Nombre",
    "Filetype" => "Tipo",
    "Size" => "Tamaño",
    "Modified on" => "Modificado",
    "Directory" => "Directorio",
    "Add a new folder" => "Crear nueva carpeta",
    "New folder is created in" => "La nueva carpeta será creada en",
    "Name of the new folder" => "Nombre de la nueva carpeta",
    "Create folder" => "Crear carpeta",
    "Upload a new file" => "Subir archivo",
    "Image editor" => "Editor de imágenes",
    "Browse" => "Navegar...",
    "Upload Queue" => "Cola de subida",
    "Currently uploading in folder" => "Actualmente subiendo a la carpeta",
    "Select your file" => "Selecciona el(los) archivo(s)",
    
    //Context menu
    "cmenu_insert" => "Insertar",
    "cmenu_edit" => "Editar imagen",
    "cmenu_copy" => "Copiar",
    "cmenu_cut" => "Cortar",
    "cmenu_paste" => "Pegar",
    "cmenu_delete" => "Borrar",
    "cmenu_delete_confirm_message_folder" => "¿Seguro que desea borrar la carpeta y su contenido?",
    "cmenu_delete_confirm_message_file" => "¿Seguro que desea borrar este archivo?",
    "cmenu_delete_confirm_message_image" => "¿Seguro que desea borrar esta imagen?",
    "cmenu_open" => "Abrir",
    "cmenu_large_images" => "Imágenes Grandes",
    "cmenu_small_images" => "Imágenes Pequeñas",
    "cmenu_list" => "Lista",
    "cmenu_details" => "Detalles",
    "cmenu_tiles" => "Mosaico",
    "cmenu_content" => "Contenido",
    "cmenu_refresh" => "Refrescar",
    "cmenu_new_folder" => "Nueva carpeta",
    "cmenu_rename" => "Renombrar",
    
    //Messages
    "folder_tampered_with" => "¡La ruta de la carpeta a sido modificado!",
    "folder_name_invalid" => "¡La creación de la nueva carpeta a fallado!",
    "create_folder_successful" => "¡Se ha creado una nueva carpeta!",
    "create_folder_failed" => "¡La creación de la nueva carpeta a fallado!",
    "file_tampered_with" => "¡La ruta del archivo a sido modificado!",
    "loadfolder_error_1" => "¡La ruta del archivo a sido modificado!",
    "delete_error_1" => "¡La ruta del archivo o de la carpeta a sido modificado!",
    "delete_error_2" => "¡Error al borrar el archivo!",
    "delete_error_3" => "¡Error al borrar la carpeta!",
    "delete_success" => "¡Archivo(s) borrado(s) correctamente!",
    "select_one_file" => "¡Elige un archivo!",
    "insert_cancelled" => "¡No existe el destino!",
    "directory_already_exists" => "¡La carpeta ya existe!",
    "file_already_exists" => "¡El archivo ya existe!",
    "rename_success" => "¡Se ha renombrado el archivo!",
    "rename_failed" => "¡Error al renombrar!",
    "rename_file" => "Elige un nuevo nombre {0}{1}La extensión se añade automáticamente{1}(Los siguientes carácteres no están permitidos {2})",
    "rename_folder" => "Elige un nuevo nombre {0}{1}(Los siguientes carácteres no están permitidos {2})",
    "action_not_allowed" => "¡Acción no permitida!",
    
    //Late additions
    "upload_limited_to" => "Subida máxima %d MB!",
    "bytes" => "bytes",
    "kB" => "kB",
    "MB" => "MB"
);

?>

Last edited by thedavis (2010-08-31 19:40:00)

66

Re: Another File Browser

Thanks Davis! I will add it to the demo and the download.

Guido

67

Re: Another File Browser

FYI,

I just added a project to Sourceforge for the PDW File Browser. The link is http://sourceforge.net/projects/pdwfilebrowser/
All latest versions will be posted there and you can submit feature requests, bugs and support requests. I will keep tracking this forum in the future so no worries.

Greetings,

Guido

68

Re: Another File Browser

Guido Neele wrote:

FYI,

I just added a project to Sourceforge for the PDW File Browser. The link is http://sourceforge.net/projects/pdwfilebrowser/
All latest versions will be posted there and you can submit feature requests, bugs and support requests. I will keep tracking this forum in the future so no worries.

Greetings,

Guido

Thanks Guido for the great work smile You are working in the image editor? tongue

69

Re: Another File Browser

Hello Guido & Group,

First off let me say thank you to Guido for this plugin.  If I can get it to work I will be even happier.
This might seem a dumb question but what is the PHP ver. PDW runs on? I'm on IIS with PHP 5.2.9-1. TinyMCE 3.3.8

I'm getting the following errors:

Warning: dir(hxxp://www.xxxx.xxx/images/pdfs/) [function.dir]: failed to open dir: not implemented in D:\domains\xxxx.xxx\wwwroot\calendar\tinymce\jscripts\tiny_mce\plugins\pdwfilebrowser\functions.php on line 81

Fatal error: Call to a member function read() on a non-object in D:\domains\xxxx.xxx\wwwroot\calendar\tinymce\jscripts\tiny_mce\plugins\pdwfilebrowser\functions.php on line 83

Is this a permissions error?

TIA
Metalshaper

Last edited by metalshaper (2010-09-03 22:41:57)

70

Re: Another File Browser

Hi Metalshaper,

Thanks for trying PDW File Browser. I hope we can get it working for you.

By the look of your error I think that the constant DOCUMENTROOT in config.php is set wrong.

Replace:

define('DOCUMENTROOT', 'hxxp://www.xxxx.xxx');

with:

define('DOCUMENTROOT', realpath((getenv('DOCUMENT_ROOT') && preg_match('#^'.preg_quote(realpath(getenv('DOCUMENT_ROOT'))).'#', realpath(__FILE__))) ? getenv('DOCUMENT_ROOT') : str_replace(dirname(@$_SERVER['PHP_SELF']), '', str_replace(DIRECTORY_SEPARATOR, '/', dirname(__FILE__)))));

Windows Servers tend to have trouble with $_SERVER['DOCUMENT_ROOT'].

You could also hard code the path like this:

define('DOCUMENTROOT', 'D:\\domains\\xxxx.xxx\\wwwroot\\PATH\\TO\\UPLOAD\\DIR');

Oh and you need to do the same thing to $savepath in swfupload/upload.php or you will get problems uploading files.

Change line 61 (upload.php) to

$DOCROOT = realpath((getenv('DOCUMENT_ROOT') && preg_match('#^'.preg_quote(realpath(getenv('DOCUMENT_ROOT'))).'#', realpath(__FILE__))) ? getenv('DOCUMENT_ROOT') : str_replace(dirname(@$_SERVER['PHP_SELF']), '', str_replace(DIRECTORY_SEPARATOR, '/', dirname(__FILE__))));
$save_path = $DOCROOT . rawurldecode($_POST["uploadpath"]);

Hope this gets you further.

Greetings,


Guido

BTW I haven't written this plugin with Windows Servers in mind so problems may occur. I did test it on a Windows Server and it worked fine but results may vary.

Last edited by Guido Neele (2010-09-04 01:39:58)

71

Re: Another File Browser

HI there i hope someone can help me with this problem as it has be stumped.

I have tryed to setup the file manager with TinyMCE but for some reason in the file manager i am getting the following error

Fatal error: Call to a member function read() on a non-object in REMOVED/filemanager/functions.php on line 83

I can not seem to figger out why i am getting this error i have checked my config folder and made sure my directory has the trailing slash, both cach and the files folder are set to 777.

I am just running round in circles.

Also if i can get this fixed i will be starting on the Italian Translation if you would be interested.

72

Re: Another File Browser

Hi Anthony,

Is this your own server or are you using a hosting provider? Because the error has to do with permissions. It has to do with who's the owner of the folder and which users have access to that folder.

For instance when you log in to your website via ftp you are logging in with a username. This user has permission to add/remove/edit folders. However when PDW File Browser tries to access the same folder it is accessing the folder as an apache user, most often called "nobody" or "apache". This user needs permission to. Please ask your hosting provider for more information.

You could also try to do the following:

1. Remove the current upload folder
2. Create a php-file with the following source code:

<?php
$uploadfolder = dirname(__FILE__) . "/your_upload_folder_name/";
if(@mkdir($uploadfolder, 0755)){
    echo "folder created! path = $uploadfolder";
} else {
    echo "creating folder failed!";
}

?>

3. Call it whatever you want and upload it to the folder where you want to create your upload folder.
4. Call the file via your web browser.

This way apache is the owner of the folder.

Translations are always welcome. The more the merrier.


Greetings and success,


Guido

Last edited by Guido Neele (2010-09-08 19:24:16)

73

Re: Another File Browser

hi

That solution has not worked.

you can see this error on the followeing page.

http://www.milliment.net/MilliCMS/MilliCMS-1.2/

Is there a way of writing in something for the Config folder for FTP access using the FTP information of an account.

I think this would be an awsome feature to be installed into it

74

Re: Another File Browser

Hello Guido,

first of all I want to thank you for this great plugin.

I have enquired a problem though. I have tried the plugin on a PHP 5.2.9 server and it works great, but on PHP 5.3 and above, it is unable to create thumbnails, use imagemagic and everything else that uses "eregi", "ereg" and "ereg_replace" because the function has been Deprecated (http://takien.com/513/how-to-fix-functi … -5-3-0.php). I tried to make some changes in order to try and resolve it, but I still have a long way to go...

And to keep up with the language contributions, here you have the Greek (hellenic) file:

<?php
/*
Language: Greek
File: lang/el.php
*/ 


$lang = array(
    "decimal seperator" => ",",
    "thousands separator" => ".",
    "datetime format" => "m/d/Y H:i", // www.php.net/manual/en/function.date.php
    "Insert" => "????????",
    "File" => "??????",
    "Root" => "????",
    "Close" => "????????",
    "New folder" => "???? ???????",
    "Upload" => "???????? ???????",
    "Clipboard" => "???????? ???? ????????? ?????",
    "Items" => "???????????",
    "Change view" => "?????? ????????",
    "View" => "???????",
    "Large images" => "??????? ????????????",
    "Small images" => "?????? ????????????",
    "List" => "?????",
    "Details" => "????????????",
    "Tiles" => "??????",
    "Content" => "???????????",
    "Show the preview pane" => "??????????? ?????",
    "Help" => "???????",
    "Search" => "?????????",
    "All files" => "??? ?? ??????",
    "Dimensions" => "??????????",
    "Filename" => "?????",
    "Filetype" => "?????",
    "Size" => "???????",
    "Modified on" => "??????????",
    "Directory" => "???????",
    "Add a new folder" => "???? ???????",
    "New folder is created in" => "? ???? ??????? ?? ???????????? ???",
    "Name of the new folder" => "????? ???????",
    "Create folder" => "???? ???????",
    "Upload a new file" => "???????? ???? ???????",
    "Image editor" => "??????????? ???????",
    "Browse" => "?????????...",
    "Upload Queue" => "???? ??????????? ???????",
    "Currently uploading in folder" => "?? ?????? ???????????? ??? ??????",
    "Select your file" => "???????? ??????(?)",
    
    //Context menu
    "cmenu_insert" => "????????",
    "cmenu_edit" => "??????????? ???????",
    "cmenu_copy" => "?????????",
    "cmenu_cut" => "???????",
    "cmenu_paste" => "??????????",
    "cmenu_delete" => "????????",
    "cmenu_delete_confirm_message_folder" => "??????? ?????? ?? ?????????? ??? ?????? ??? ?? ??????????? ???;",
    "cmenu_delete_confirm_message_file" => "??????? ?????? ?? ?????????? ?? ??????;",
    "cmenu_delete_confirm_message_image" => "??????? ?????? ?? ?????????? ??? ??????;",
    "cmenu_open" => "???????",
    "cmenu_large_images" => "??????? ????????????",
    "cmenu_small_images" => "?????? ????????????",
    "cmenu_list" => "?????",
    "cmenu_details" => "????????????",
    "cmenu_tiles" => "??????",
    "cmenu_content" => "???????????",
    "cmenu_refresh" => "????????",
    "cmenu_new_folder" => "???? ???????",
    "cmenu_rename" => "???????????",
    
    //Messages
    "folder_tampered_with" => "??????? ???????? ??? ???????? ??? ???????!",
    "folder_name_invalid" => "?? ???????????? ????? ???????!<br />??? ????????????: ^ \\ / ? * \" ' < > : |",
    "create_folder_successful" => "? ???? ??????? ?????????????!",
    "create_folder_failed" => "??????? ? ?????????? ???? ???????!",    
    "file_tampered_with" => "??????? ???????? ??? ???????? ??? ???????!",
    "loadfolder_error_1" => "??????? ???????? ??? ???????? ??? ???????!",
    "paste_success" => "?? ?????? ????????????!",
    "delete_error_1" => "??????? ???????? ??? ???????? ??? ???????!",
    "delete_error_2" => "?? ?????? ?? ????????!",
    "delete_error_3" => "? ??????? ?? ????????!",
    "delete_success" => " ?????? ???????????!",
    "select_one_file" => "???????? ???? ??? ?????? ??? ????????!",
    "insert_cancelled" => "? ???????? ???????. ??? ??????? ? ????????!",
    "directory_already_exists" => "??????? ??? ??????? ?? ???? ?? ?????!",
    "file_already_exists" => "??????? ??? ?????? ?? ???? ?? ?????!",
    "rename_success" => "? ?????? ???????? ????? ?? ????????!",
    "rename_failed" => "? ?????? ???????? ???????!",
    "rename_file" => "???????? ????? ??? ???????? ??? {0}{1}? ???????? ???????? ????????!{1}(??? ???????????? ????? ?? ?????????? {2})",
    "rename_folder" => "???????? ????? ??? ???????? ??? {0}{1}(??? ???????????? ????? ?? ?????????? {2})",
    "action_not_allowed" => "? ???????? ???? ??? ???????????!",
    
    //Late additions
    "upload_limited_to" => "???? ??????????? : %d MB!",
    "bytes" => "bytes",
    "kB" => "kB",
    "MB" => "MB"
);

?>

Last edited by tempelis (2010-09-10 12:08:53)

75

Re: Another File Browser

Hi tempelis,

Thanks for the greek translation!

Yes I know about the phpThumb problem in PHP 5.3 and higher. I've uploaded a patch to http://sourceforge.net/tracker/?group_i … d=1455999. The patch will also be included in version 1.2 that I will release this weekend or in the beginning of next week.

New/changed features in v1.2:
+ More languages
+ New skin (mountainview)
+ Settings panel for selecting language and skin
+ More configuration options (allowed upload extensions, allowed actions, custom filters)
+ PHP 5 compatibility
+ Integration with CKEditor

Guido

Last edited by Guido Neele (2010-09-10 15:58:02)