Index: /sandbox/filemanager/setup/phpgw_zt.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_zt.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_zt.lang	(revision 1506)
@@ -0,0 +1,127 @@
+%1 already exists as a file	filemanager	zt	%1 æªæ¡å·²ç¶å­åš
+application	filemanager	zt	æçšçšåŒ
+back to file manager	filemanager	zt	åå°æªæ¡ç®¡çå¡
+cancel editing %1 without saving	filemanager	zt	åæ¶ç·šèŒ¯%1ïŒäžå²å­
+cannot create directory because it begins or ends in a space	filemanager	zt	è³æå€Ÿåçš±å
+å«ç©ºçœå­å
+ïŒç¡æ³å»ºç«è³æå€Ÿ
+cannot replace %1 because it is a directory	filemanager	zt	ç¡æ³çœ®æ%1ïŒå çºå®æ¯äžåè³æå€Ÿ
+command sucessfully run	filemanager	zt	æä»€å·è¡å®æ
+comment	filemanager	zt	åèš»
+comments cannot contain "%1"	filemanager	zt	åèš»äžèœå
+å« "%1"
+copied %1 to %2	filemanager	zt	è€è£œ %1 å° %2
+copy to	filemanager	zt	è€è£œå°
+copy to:	filemanager	zt	è€è£œå°ïŒ
+could not copy %1 to %2	filemanager	zt	ç¡æ³è€è£œ %1 å° %2
+could not copy file because no destination directory is given	filemanager	zt	ç¡æ³è€è£œæªæ¡ïŒå çºæ²æç®æšè³æå€Ÿ
+could not create %1	filemanager	zt	ç¡æ³å»ºç«%1
+could not create directory %1	filemanager	zt	ç¡æ³å»ºç«è³æå€Ÿ%1
+could not delete %1	filemanager	zt	ç¡æ³åªé€%1
+could not move %1 to %2	filemanager	zt	ç¡æ³æ¬ç§»%1å°%2
+could not move file because no destination directory is given	filemanager	zt	ç¡æ³ç§»åæªæ¡ïŒå çºæ²æç®æšè³æå€Ÿ
+could not rename %1 to %2	filemanager	zt	ç¡æ³å°%1æ¹åçº%2
+could not save %1	filemanager	zt	ç¡æ³å²å­%1
+create file	filemanager	zt	å»ºç«æªæ¡
+create folder	filemanager	zt	å»ºç«è³æå€Ÿ
+created	filemanager	zt	å»ºç«æ¥æ
+created %1	filemanager	zt	å»ºç«%1
+created %1,%2	filemanager	zt	å»ºç« %1,%2
+created by	filemanager	zt	å»ºç«è
+
+created directory %1	filemanager	zt	å»ºç«è³æå€Ÿ%1
+date	filemanager	zt	æ¥æ
+default number of upload fields to show	filemanager	zt	é èš­äžå³æªæ¡æ¬äœæžé
+delete	filemanager	zt	åªé€
+deleted %1	filemanager	zt	åªé€%1
+directory	filemanager	zt	è³æå€Ÿ
+directory %1 already exists	filemanager	zt	è³æå€Ÿ %1 å·²ç¶å­åš
+directory %1 does not exist	filemanager	zt	è³æå€Ÿ %1 äžå­åš
+directory names cannot contain "%1"	filemanager	zt	è³æå€Ÿåçš±äžæè©²å
+å« "%1"
+display attributes	filemanager	zt	é¡¯ç€ºå±¬æ§
+download	filemanager	zt	äžèŒ
+edit	filemanager	zt	ç·šèŒ¯
+edit comments	filemanager	zt	ç·šèŒ¯åèš»
+error running command	filemanager	zt	æä»€å·è¡é¯èª€
+execute	filemanager	zt	å·è¡
+failed to create directory	filemanager	zt	å»ºç«è³æå€Ÿå€±æ
+file	filemanager	zt	æªæ¡
+file %1 already exists. please edit it or delete it first.	filemanager	zt	æªæ¡ %1å·²ç¶å­åšïŒè«å
+ç·šèŒ¯æåªé€å®ã
+file %1 could not be created.	filemanager	zt	æªæ¡ %1 ç¡æ³å»ºç«ã
+file name	filemanager	zt	æªå
+file names cannot contain "%1"	filemanager	zt	æªæ¡åäžèœå
+å« "%1"
+file names cannot contain \ or /	filemanager	zt	æªæ¡åäžèœå
+å« \ æ /
+filemanager	common	zt	æªæ¡ç®¡çå¡
+filemanager preferences	filemanager	zt	æªæ¡ç®¡çå¡èš­å®
+files	filemanager	zt	æªæ¡
+files in this directory	filemanager	zt	è³æå€Ÿäž­çæªæ¡
+folder	filemanager	zt	è³æå€Ÿ
+folder up	filemanager	zt	è³æå€Ÿäžç§»
+go home	filemanager	zt	åéŠé 
+go to	filemanager	zt	ååŸ
+go to %1	filemanager	zt	å° %1
+go to your home directory	filemanager	zt	å°äž»èŠç®é
+go to:	filemanager	zt	å°ïŒ
+go up	filemanager	zt	äžäžå±€
+home	filemanager	zt	éŠé 
+location	filemanager	zt	äœçœ®
+locked	filemanager	zt	è¢«éå®
+mime type	filemanager	zt	MIME é¡å
+modified	filemanager	zt	ä¿®æ¹æ¥æ
+modified by	filemanager	zt	ä¿®æ¹è
+
+move to	filemanager	zt	æ¬å°
+move to:	filemanager	zt	æ¬å°ïŒ
+moved %1 to %2	filemanager	zt	æ %1æ¬å°%2
+no files in this directory.	filemanager	zt	è³æå€Ÿäž­æ²æä»»äœæªæ¡
+no version history for this file/directory	filemanager	zt	éåæªæ¡/è³æå€Ÿæ²æçæ¬æ­·å²
+operation	filemanager	zt	æäœ
+other settings	filemanager	zt	å
+¶ä»èš­å®
+owner	filemanager	zt	ææè
+
+please select a file to delete.	filemanager	zt	è«éžæèŠåªé€çæªæ¡
+preview %1	filemanager	zt	é èŠœ %1
+preview of %1	filemanager	zt	%1 çé èŠœ
+quick jump to	filemanager	zt	å¿«éåæ
+reload	filemanager	zt	éæ°è®å
+rename	filemanager	zt	æ¹å
+renamed %1 to %2	filemanager	zt	æ%1 æªåæ¹æ %2
+replaced %1	filemanager	zt	%1 å®æä¿®æ¹
+save %1	filemanager	zt	å²å­ %1
+save %1, and go back to file listing	filemanager	zt	å²å­ %1ïŒæ¥èåå°æªæ¡åè¡š
+save all	filemanager	zt	å²å­å
+šéš
+save changes	filemanager	zt	å²å­ç°å
+saved %1	filemanager	zt	%1 å²å­å®æ
+show	filemanager	zt	é¡¯ç€º
+show ..	filemanager	zt	é¡¯ç€º ..
+show .files	filemanager	zt	é¡¯ç€º .æªæ¡
+show command line (experimental. dangerous.)	filemanager	zt	é¡¯ç€ºåœä»€å(å±éªå¯Šé©)
+show help	filemanager	zt	é¡¯ç€ºèªªæ
+size	filemanager	zt	å€§å°
+sort by:	filemanager	zt	æåºïŒ
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	zt	æªäŸçæªæ¡ç®¡çïŒçŸåšè«åªçšäŸæž¬è©ŠïŒä»»äœçåé¡æ­¡è¿åå ±
+total files	filemanager	zt	æªæ¡æž
+unknown mime-type defaults to text/plain when viewing	filemanager	zt	äžæçMIMEæ ŒåŒïŒé èš­çèŠœæ ŒåŒçºçŽæå­
+unused space	filemanager	zt	å©é€ç©ºé
+up	filemanager	zt	äžäžå±€
+update	filemanager	zt	æŽæ°
+updated comment for %1	filemanager	zt	æŽæ°%1çåèš»
+upload	filemanager	zt	äžå³
+upload fields	filemanager	zt	äžå³åå
+upload files	filemanager	zt	äžå³æªæ¡
+use new experimental filemanager?	filemanager	zt	äœ¿çšæ°çå°æ¥­æªæ¡ç®¡çïŒ
+used space	filemanager	zt	äœ¿çšç©ºé
+users	filemanager	zt	äœ¿çšè
+
+version	filemanager	zt	çæ¬
+view documents in new window	filemanager	zt	éåæ°èŠçªçèŠœæä»¶
+view documents on server (if available)	filemanager	zt	åšäŒºæåšäžçèŠœæä»¶(åŠæèœå€ )
+who	filemanager	zt	èª°
+you do not have access to %1	filemanager	zt	%1æ²æä»»äœç°å
+your home dir did not exist, egroupware created a new one.	filemanager	zt	æšçå®¶ç®éäžå­åšïŒeGroupWareå»ºç«äžåæ°ç
Index: /sandbox/filemanager/setup/phpgw_fi.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_fi.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_fi.lang	(revision 1506)
@@ -0,0 +1,116 @@
+%1 already exists as a file	filemanager	fi	Tiedosto nimeltä %1 on jo olemassa
+application	filemanager	fi	Sovellus
+back to file manager	filemanager	fi	Takaisin Tiedostonhallintaan
+cancel editing %1 without saving	filemanager	fi	Peru %1:n muokkaus tallentamatta muutoksia
+cannot create directory because it begins or ends in a space	filemanager	fi	Hakemistoa ei voi luoda, koska nimi alkaa tai päättyy välilyöntiin
+cannot replace %1 because it is a directory	filemanager	fi	Ei voi korvata %1, koska se on hakemisto
+command sucessfully run	filemanager	fi	Komento suoritettu
+comment	filemanager	fi	Kommentti
+comments cannot contain "%1"	filemanager	fi	Kommentti ei saa sisältää "%1"
+copied %1 to %2	filemanager	fi	%1 kopioitu %2
+copy to	filemanager	fi	Kopio kohteeseen
+copy to:	filemanager	fi	Kopio kohteeseen:
+could not copy %1 to %2	filemanager	fi	%1 ei voitu kopioida %2
+could not copy file because no destination directory is given	filemanager	fi	Ei voitu kopioida, koska kohdehakemistoa ei annettu
+could not create %1	filemanager	fi	Ei voitu luoda %1
+could not create directory %1	filemanager	fi	Ei voitu luoda kansiota %1
+could not delete %1	filemanager	fi	Ei voitu poistaa %1
+could not move %1 to %2	filemanager	fi	%1 ei voitu siirtää %2
+could not move file because no destination directory is given	filemanager	fi	Ei voitu siirtää, koska kohdehakemistoa ei annettu
+could not rename %1 to %2	filemanager	fi	%1 ei voitu nimetä %2
+could not save %1	filemanager	fi	%1 ei voitu tallentaa
+create file	filemanager	fi	Luo tiedosto
+create folder	filemanager	fi	Luo kansio
+created	filemanager	fi	Luotu
+created %1	filemanager	fi	Luotu %1
+created %1,%2	filemanager	fi	Luotu %1,%2
+created by	filemanager	fi	Luonut
+created directory %1	filemanager	fi	Luotiin kansio %1
+date	filemanager	fi	Aika
+default number of upload fields to show	filemanager	fi	Kerralla ladattavien tiedostojen oletusmäärä
+delete	filemanager	fi	Poista
+deleted %1	filemanager	fi	Poistettiin %1
+directory	filemanager	fi	Kansio
+directory %1 already exists	filemanager	fi	Kansio %1 on jo olemassa
+directory %1 does not exist	filemanager	fi	Kansiota %1 ei ole
+directory names cannot contain "%1"	filemanager	fi	Kansion nimessä ei saa olla "%1"
+display attributes	filemanager	fi	Näyttömääreet
+download	filemanager	fi	Lataa
+edit	filemanager	fi	Muokkaa
+edit comments	filemanager	fi	Muokkaa kommentteja
+error running command	filemanager	fi	Virhe komennon suorituksessa
+execute	filemanager	fi	Suorita
+failed to create directory	filemanager	fi	kansion luominen ei onnistunut
+fake base dir did not exist, egroupware created a new one.	filemanager	fi	Juurihakemistoa ei löytynyt, eGroupWare loi sen.
+file	filemanager	fi	Tiedosto
+file %1 already exists. please edit it or delete it first.	filemanager	fi	Tiedosto %1 on jo olemassa. Muokkaa sitä tai poista se.
+file %1 could not be created.	filemanager	fi	Tiedostoa %1 ei voitu luoda.
+file name	filemanager	fi	Tiedoston nimi
+file names cannot contain "%1"	filemanager	fi	Tiedoston nimessä ei saa olla "%1"
+file names cannot contain \ or /	filemanager	fi	Tiedoston nimessä ei saa olla \ tai /
+filemanager	common	fi	Tiedostonhallinta
+filemanager preferences	filemanager	fi	Tiedostonhallinnan asetukset
+files	filemanager	fi	Tiedostot
+files in this directory	filemanager	fi	Tiedostot tässä kansiossa
+folder	filemanager	fi	Kansio
+folder up	filemanager	fi	Ylempi kansio
+go home	filemanager	fi	kotiin
+go to	filemanager	fi	Mene
+go to %1	filemanager	fi	Mene %1
+go to your home directory	filemanager	fi	Kotihakemistoon
+go to:	filemanager	fi	Mene:
+go up	filemanager	fi	ylös
+home	filemanager	fi	Kotihakemisto
+location	filemanager	fi	Sijainti
+locked	filemanager	fi	Lukittu
+mime type	filemanager	fi	MIME-tyyppi
+modified	filemanager	fi	Muutettu
+modified by	filemanager	fi	Muuttanut
+move to	filemanager	fi	Siirrä
+move to:	filemanager	fi	Siirrä:
+moved %1 to %2	filemanager	fi	%1 siirrettiin %2
+no files in this directory.	filemanager	fi	Kansiossa ei ole tiedostoja
+no version history for this file/directory	filemanager	fi	Tiedostolla/kansiolla ei ole versioita
+operation	filemanager	fi	Operaatio
+other settings	filemanager	fi	Muut asetukset
+owner	filemanager	fi	Omistaja
+please select a file to delete.	filemanager	fi	Valitse poistettava tiedosto.
+preview %1	filemanager	fi	Esikatsele %1
+preview of %1	filemanager	fi	%1 esikatselu
+quick jump to	filemanager	fi	Mene
+reload	filemanager	fi	lataa uudelleen
+rename	filemanager	fi	Nimeä uudelleen
+renamed %1 to %2	filemanager	fi	%1 nimettiin uudelleen %2
+replaced %1	filemanager	fi	Korvattiin %1
+save %1	filemanager	fi	Tallenna %1
+save %1, and go back to file listing	filemanager	fi	Tallenna %1 ja palaa kansioon
+save all	filemanager	fi	Tallenna kaikki
+save changes	filemanager	fi	Tallenna muutokset
+saved %1	filemanager	fi	Tallennettiin %1
+show	filemanager	fi	Näytä
+show ..	filemanager	fi	Näytä ..
+show .files	filemanager	fi	Näytä .tiedostot
+show command line (experimental. dangerous.)	filemanager	fi	Näytä komentorivi (KOKEELLINEN, VAARALLINEN)
+show help	filemanager	fi	Näytä ohje
+size	filemanager	fi	Koko
+sort by:	filemanager	fi	Lajittelu:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	fi	Uusi Tiedostonhallinta, vain TESTAUSKÄYTTÖÖN, ilmoita virheistä kehittäjille
+total files	filemanager	fi	Tiedostoja
+unknown mime-type defaults to text/plain when viewing	filemanager	fi	Tuntemattomat MIME-tyypit oletetaan tyypiksi text/plain näytettäessä ruudulla
+unused space	filemanager	fi	Tilaa vapaana
+up	filemanager	fi	Ylös
+update	filemanager	fi	Päivitä
+updated comment for %1	filemanager	fi	Päivitettiin %1 kommentit
+upload	filemanager	fi	Siirrä palvelimelle
+upload fields	filemanager	fi	latauskenttiä
+upload files	filemanager	fi	Lataa tiedostoja palvelimelle
+use new experimental filemanager?	filemanager	fi	Käytä uutta, kokeellista Tiedostonhallintaa?
+used space	filemanager	fi	Käytetty tila
+users	filemanager	fi	Käyttäjiä
+version	filemanager	fi	Versio
+view documents in new window	filemanager	fi	Näytä tiedostot uudessa ikkunassa
+view documents on server (if available)	filemanager	fi	Näytä tiedostot palvelimella (jos mahdollista)
+who	filemanager	fi	Kuka
+you do not have access to %1	filemanager	fi	Sinulla ei ole käyttöoikeutta kohteeseen %1
+your home dir did not exist, egroupware created a new one.	filemanager	fi	Kotihakemistoa ei löytynyt, eGroupWare loi sen.
+
Index: /sandbox/filemanager/setup/phpgw_en.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_en.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_en.lang	(revision 1506)
@@ -0,0 +1,115 @@
+%1 already exists as a file	filemanager	en	%1 already exists as a file
+application	filemanager	en	Application
+back to file manager	filemanager	en	Back to file manager
+cancel editing %1 without saving	filemanager	en	Cancel editing %1 without saving
+cannot create directory because it begins or ends in a space	filemanager	en	Cannot create directory because it begins or ends in a space
+cannot replace %1 because it is a directory	filemanager	en	Cannot replace %1 because it is a directory
+command sucessfully run	filemanager	en	Command sucessfully run
+comment	filemanager	en	Comment
+comments cannot contain "%1"	filemanager	en	Comments cannot contain "%1"
+copied %1 to %2	filemanager	en	Copied %1 to %2
+copy to	filemanager	en	Copy To
+copy to:	filemanager	en	Copy to:
+could not copy %1 to %2	filemanager	en	Could not copy %1 to %2
+could not copy file because no destination directory is given	filemanager	en	Could not copy file because no destination directory is given
+could not create %1	filemanager	en	Could not create %1
+could not create directory %1	filemanager	en	Could not create directory %1
+could not delete %1	filemanager	en	Could not delete %1
+could not move %1 to %2	filemanager	en	Could not move %1 to %2
+could not move file because no destination directory is given	filemanager	en	Could not move file because no destination directory is given
+could not rename %1 to %2	filemanager	en	Could not rename %1 to %2
+could not save %1	filemanager	en	Could not save %1
+create file	filemanager	en	Create File
+create folder	filemanager	en	Create Folder
+created	filemanager	en	Created
+created %1	filemanager	en	Created %1
+created %1,%2	filemanager	en	Created %1,%2
+created by	filemanager	en	Created by
+created directory %1	filemanager	en	Created directory %1
+date	filemanager	en	Date
+default number of upload fields to show	filemanager	en	Default number of upload fields to show
+delete	filemanager	en	Delete
+deleted %1	filemanager	en	Deleted %1
+directory	filemanager	en	Directory
+directory %1 already exists	filemanager	en	Directory %1 already exists
+directory %1 does not exist	filemanager	en	Directory %1 does not exist
+directory names cannot contain "%1"	filemanager	en	Directory names cannot contain "%1"
+display attributes	filemanager	en	Display attributes
+download	filemanager	en	Download
+edit	filemanager	en	Edit
+edit comments	filemanager	en	Edit comments
+error running command	filemanager	en	Error running command
+execute	filemanager	en	Execute
+failed to create directory	filemanager	en	failed to create directory
+fake base dir did not exist, egroupware created a new one.	filemanager	en	Fake Base Dir did not exist, eGroupWare created a new one.
+file	filemanager	en	File
+file %1 already exists. please edit it or delete it first.	filemanager	en	File %1 already exists. Please edit it or delete it first.
+file %1 could not be created.	filemanager	en	File %1 could not be created.
+file name	filemanager	en	File Name
+file names cannot contain "%1"	filemanager	en	File names cannot contain "%1"
+file names cannot contain \ or /	filemanager	en	File names cannot contain \ or /
+filemanager	common	en	Filemanager
+filemanager preferences	filemanager	en	FileManager preferences
+files	filemanager	en	Files
+files in this directory	filemanager	en	Files in this directory
+folder	filemanager	en	Folder
+folder up	filemanager	en	Folder Up
+go home	filemanager	en	go home
+go to	filemanager	en	Go To
+go to %1	filemanager	en	Go to %1
+go to your home directory	filemanager	en	Go to your home directory
+go to:	filemanager	en	Go to:
+go up	filemanager	en	go up
+home	filemanager	en	Home
+location	filemanager	en	Location
+locked	filemanager	en	Locked
+mime type	filemanager	en	MIME Type
+modified	filemanager	en	Modified
+modified by	filemanager	en	Modified by
+move to	filemanager	en	Move To
+move to:	filemanager	en	Move to:
+moved %1 to %2	filemanager	en	Moved %1 to %2
+no files in this directory.	filemanager	en	No files in this directory.
+no version history for this file/directory	filemanager	en	No version history for this file/directory
+operation	filemanager	en	Operation
+other settings	filemanager	en	Other settings
+owner	filemanager	en	Owner
+please select a file to delete.	filemanager	en	Please select a file to delete.
+preview %1	filemanager	en	Preview %1
+preview of %1	filemanager	en	Preview of %1
+quick jump to	filemanager	en	Quick jump to
+reload	filemanager	en	reload
+rename	filemanager	en	Rename
+renamed %1 to %2	filemanager	en	Renamed %1 to %2
+replaced %1	filemanager	en	Replaced %1
+save %1	filemanager	en	Save %1
+save %1, and go back to file listing	filemanager	en	Save %1, and go back to file listing
+save all	filemanager	en	Save all
+save changes	filemanager	en	Save changes
+saved %1	filemanager	en	Saved %1
+show	filemanager	en	Show
+show ..	filemanager	en	Show ..
+show .files	filemanager	en	Show .files
+show command line (experimental. dangerous.)	filemanager	en	Show command line (EXPERIMENTAL. DANGEROUS.)
+show help	filemanager	en	Show help
+size	filemanager	en	Size
+sort by:	filemanager	en	Sort by:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	en	The future filemanager, now for TESTING PURPOSES ONLY, please send bugreports
+total files	filemanager	en	Total Files
+unknown mime-type defaults to text/plain when viewing	filemanager	en	Unknown MIME-type defaults to text/plain when viewing
+unused space	filemanager	en	Unused space
+up	filemanager	en	Up
+update	filemanager	en	Update
+updated comment for %1	filemanager	en	Updated comment for %1
+upload	filemanager	en	Upload
+upload fields	filemanager	en	upload fields
+upload files	filemanager	en	Upload files
+use new experimental filemanager?	filemanager	en	Use new experimental Filemanager?
+used space	filemanager	en	Used Space
+users	filemanager	en	Users
+version	filemanager	en	Version
+view documents in new window	filemanager	en	View documents in new window
+view documents on server (if available)	filemanager	en	View documents on server (if available)
+who	filemanager	en	Who
+you do not have access to %1	filemanager	en	You do not have access to %1
+your home dir did not exist, egroupware created a new one.	filemanager	en	Your Home Dir did not exist, eGroupWare created a new one.
Index: /sandbox/filemanager/setup/phpgw_cs.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_cs.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_cs.lang	(revision 1506)
@@ -0,0 +1,115 @@
+%1 already exists as a file	filemanager	cs	%1 jiŸ existuje jako soubor
+application	filemanager	cs	Aplikace
+back to file manager	filemanager	cs	Zpìt do správce souborù
+cancel editing %1 without saving	filemanager	cs	Zru¹ zmìny %1 bez uloŸení
+cannot create directory because it begins or ends in a space	filemanager	cs	Nelze vytvoøit sloŸku s názvem s mezerou na zaèátku èi konci
+cannot replace %1 because it is a directory	filemanager	cs	Nelze nahradit %1 protoŸe jde o sloŸku
+command sucessfully run	filemanager	cs	Pøíkaz úspì¹nì vykonán
+comment	filemanager	cs	Komentáø
+comments cannot contain "%1"	filemanager	cs	Komentáøe nesmí obsahovat "%1"
+copied %1 to %2	filemanager	cs	%1 zkopírován do %2
+copy to	filemanager	cs	Zkopírovat
+copy to:	filemanager	cs	Zkopírovat:
+could not copy %1 to %2	filemanager	cs	Nelze zkopírovat %1 do %2
+could not copy file because no destination directory is given	filemanager	cs	Nelze zkopírovat soubor, není urèena cílová sloŸka
+could not create %1	filemanager	cs	Nelze vytvoøit %1
+could not create directory %1	filemanager	cs	Nelze vytvoøit sloŸku %1
+could not delete %1	filemanager	cs	Nelze smazat %1
+could not move %1 to %2	filemanager	cs	Nelze pøesunout %1 na %2
+could not move file because no destination directory is given	filemanager	cs	Nelze pøesunout soubor, protoŸe není urèena cílová sloŸka
+could not rename %1 to %2	filemanager	cs	Nelze pøejmenovat %1 na %2
+could not save %1	filemanager	cs	Nelze uloŸit %1
+create file	filemanager	cs	Vytvoø soubor
+create folder	filemanager	cs	Vytvoø sloŸku
+created	filemanager	cs	Vytvoøen
+created %1	filemanager	cs	%1 vytvoøen
+created %1,%2	filemanager	cs	%1, %2 vytvoøeny
+created by	filemanager	cs	Vytvoøil
+created directory %1	filemanager	cs	Vytvoøena sloŸka %1
+date	filemanager	cs	Datum
+default number of upload fields to show	filemanager	cs	Výchozí poèet zobrazených poloŸek k nahrání
+delete	filemanager	cs	Smazat
+deleted %1	filemanager	cs	%1 smazáno
+directory	filemanager	cs	SloŸka
+directory %1 already exists	filemanager	cs	SloŸka %1 jiŸ existuje
+directory %1 does not exist	filemanager	cs	SloŸka %1 neexistuje
+directory names cannot contain "%1"	filemanager	cs	Název sloŸky nesmí obsahovat "%1"
+display attributes	filemanager	cs	Zobrazení vlastností
+download	filemanager	cs	Download
+edit	filemanager	cs	Upravit
+edit comments	filemanager	cs	Uprav komentáøe
+error running command	filemanager	cs	Chyba pøi zpracování pøíkazu
+execute	filemanager	cs	Spus»
+failed to create directory	filemanager	cs	Nelze vytvoøit sloŸku
+fake base dir did not exist, egroupware created a new one.	filemanager	cs	Fale¹ná bázová sloŸka neexistovala, systém vytvoøil novou
+file	filemanager	cs	Soubor
+file %1 already exists. please edit it or delete it first.	filemanager	cs	Soubor %1 jiŸ existuje. Nejprve jej zmìnte èi smaŸte.
+file %1 could not be created.	filemanager	cs	Soubor %1 nelze vytvoøit
+file name	filemanager	cs	Jméno souboru
+file names cannot contain "%1"	filemanager	cs	Jméno souboru nesmí obsahovat "%1"
+file names cannot contain \ or /	filemanager	cs	Jméno souboru nesmí obsahovat \ ani /
+filemanager	common	cs	Správce souborù
+filemanager preferences	filemanager	cs	Nastavení správce souborù
+files	filemanager	cs	Soubory
+files in this directory	filemanager	cs	Soubory v této sloŸce
+folder	filemanager	cs	SloŸka
+folder up	filemanager	cs	Nahoru
+go home	filemanager	cs	Domù
+go to	filemanager	cs	Pøejít
+go to %1	filemanager	cs	Pøejít do %1
+go to your home directory	filemanager	cs	Pøejít do domácí sloŸky
+go to:	filemanager	cs	Pøejít:
+go up	filemanager	cs	nahoru
+home	filemanager	cs	Domù
+location	filemanager	cs	Umístìní
+locked	filemanager	cs	Uzamèen
+mime type	filemanager	cs	Typ souboru (MIME)
+modified	filemanager	cs	Zmìnìn
+modified by	filemanager	cs	Zmìnìn kým
+move to	filemanager	cs	Pøesunout
+move to:	filemanager	cs	Pøesunout:
+moved %1 to %2	filemanager	cs	%1 pøesunut do %2
+no files in this directory.	filemanager	cs	Tato sloŸka je prázdná
+no version history for this file/directory	filemanager	cs	Tento soubor/sloŸka nemá historii verzí
+operation	filemanager	cs	Operace
+other settings	filemanager	cs	Dal¹í nastavení
+owner	filemanager	cs	Vlastník
+please select a file to delete.	filemanager	cs	Prosím vyberte soubor ke smazání
+preview %1	filemanager	cs	Zobraz %1
+preview of %1	filemanager	cs	Náhled %1
+quick jump to	filemanager	cs	Rychle pøejít
+reload	filemanager	cs	obèerstvit
+rename	filemanager	cs	Pøejmenovat
+renamed %1 to %2	filemanager	cs	%1 pøejmenován na %2
+replaced %1	filemanager	cs	%1 nahrazen
+save %1	filemanager	cs	UloŸit %1
+save %1, and go back to file listing	filemanager	cs	UloŸit %1 a zpìt na seznam souborù
+save all	filemanager	cs	UloŸit v¹e
+save changes	filemanager	cs	UloŸit zmìny
+saved %1	filemanager	cs	%1 uloŸen
+show	filemanager	cs	Zobraz
+show ..	filemanager	cs	Zobrazit ..
+show .files	filemanager	cs	Zobrazit skryté soubory
+show command line (experimental. dangerous.)	filemanager	cs	Zobraz pøíkazovou øádku (EXPERIMENTÁLNÍ A NEBEZPEÈNÉ)
+show help	filemanager	cs	Zobraz nápovìdu
+size	filemanager	cs	Velikost
+sort by:	filemanager	cs	Øadit podle:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	cs	Správce souborù budoucnosti, nyní JEN PRO TESTOVÁNÍ, prosím posílejte informace o chybách
+total files	filemanager	cs	Celkem souborù
+unknown mime-type defaults to text/plain when viewing	filemanager	cs	Neznámé typy souborù zobrazit jako text
+unused space	filemanager	cs	NevyuŸité místo
+up	filemanager	cs	Nahoru
+update	filemanager	cs	Aktualizovat
+updated comment for %1	filemanager	cs	Komentáø k %1 upraven
+upload	filemanager	cs	Nahrát
+upload fields	filemanager	cs	poloŸek k nahrání
+upload files	filemanager	cs	Nahrát soubory
+use new experimental filemanager?	filemanager	cs	PouŸít nový experimentální Správce souborù?
+used space	filemanager	cs	PouŸité místo
+users	filemanager	cs	UŸivatelé
+version	filemanager	cs	Verze
+view documents in new window	filemanager	cs	Zobrazit dokumenty v novém oknì
+view documents on server (if available)	filemanager	cs	Zobraz dokumenty na serveru (pokud to jde)
+who	filemanager	cs	Kdo
+you do not have access to %1	filemanager	cs	Nemáte pøístup k %1
+your home dir did not exist, egroupware created a new one.	filemanager	cs	Va¹e domovská sloŸka neexistovala, systém vytvoøil novou.
Index: /sandbox/filemanager/setup/phpgw_fr.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_fr.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_fr.lang	(revision 1506)
@@ -0,0 +1,116 @@
+%1 already exists as a file	filemanager	fr	%1 existe déjà en tant que fichier
+application	filemanager	fr	Application
+back to file manager	filemanager	fr	Retourner au gestionnaire de fichiers
+cancel editing %1 without saving	filemanager	fr	Annuler les modifications de "%1"
+cannot create directory because it begins or ends in a space	filemanager	fr	Ne peut créér le répertoire car il commence ou finit sur un espace
+cannot replace %1 because it is a directory	filemanager	fr	Ne peut remplacer %1 car c'est un répertoire
+command sucessfully run	filemanager	fr	Commande exécutée avec succès
+comment	filemanager	fr	Commentaire
+comments cannot contain "%1"	filemanager	fr	Les commentaires ne peuvent pas contenir "%1"
+copied %1 to %2	filemanager	fr	Copié %1 vers %2
+copy to	filemanager	fr	Copier Vers
+copy to:	filemanager	fr	Copier vers:
+could not copy %1 to %2	filemanager	fr	N'a pas pu copier %1 vers %2
+could not copy file because no destination directory is given	filemanager	fr	Impossible de copier le fichier car aucun répertoire de destination n'a été donné
+could not create %1	filemanager	fr	N'a pas pu créér %1
+could not create directory %1	filemanager	fr	N'a pas pu créér le répertoire %1
+could not delete %1	filemanager	fr	N'a pas pu effacer %1
+could not move %1 to %2	filemanager	fr	N'a pas pu déplacer %1 to %2
+could not move file because no destination directory is given	filemanager	fr	Impossible de déplacer le fichier car aucun répertoire de destination n'a été donné
+could not rename %1 to %2	filemanager	fr	N'a pas pu renommer %1 to %2
+could not save %1	filemanager	fr	N'a pas pu enregistrer %1
+create file	filemanager	fr	Créer fichier
+create folder	filemanager	fr	Créer dossier
+created	filemanager	fr	Créé
+created %1	filemanager	fr	%1 créé
+created %1,%2	filemanager	fr	Création de %1,%2
+created by	filemanager	fr	Créé par
+created directory %1	filemanager	fr	Répertoire %1 créé
+date	filemanager	fr	Date
+default number of upload fields to show	filemanager	fr	Nombre de champs d'upload par défaut à montrer
+delete	filemanager	fr	Effacer
+deleted %1	filemanager	fr	%1 effacé
+directory	filemanager	fr	Répertoire
+directory %1 already exists	filemanager	fr	Le répertoire %1 existe déjà
+directory %1 does not exist	filemanager	fr	Le répertoire %1 n'existe pas
+directory names cannot contain "%1"	filemanager	fr	Les noms de répertoire ne peuvent pas contenir "%1"
+display attributes	filemanager	fr	Afficher les attributs
+download	filemanager	fr	Downloader
+edit	filemanager	fr	Modifier
+edit comments	filemanager	fr	Modifier les commentaires
+error running command	filemanager	fr	Erreur à l'exécution de la commande
+execute	filemanager	fr	Exécuter
+failed to create directory	filemanager	fr	Echec de création du répertoire
+fake base dir did not exist, egroupware created a new one.	filemanager	fr	Le répertoire de base n'existait pas, eGroupWare l'a créé.
+file	filemanager	fr	Fichier
+file %1 already exists. please edit it or delete it first.	filemanager	fr	Le fichier %1 existe déjà. SVP modifiez-le ou effacez-le d'abord.
+file %1 could not be created.	filemanager	fr	Le fichier %1 n'a pas pu être créé.
+file name	filemanager	fr	Nom du fichier
+file names cannot contain  or /	filemanager	fr	Les noms de fichier ne peuvent contenir \ ou /
+file names cannot contain "%1"	filemanager	fr	Les noms de fichier ne peuvent contenir "%1"
+file names cannot contain \ or /	filemanager	fr	Les noms de fichier ne peuvent contenir \ ou /
+filemanager	common	fr	Gestionnaire de fichiers
+filemanager preferences	filemanager	fr	Préférences gestionnaire de fichiers
+files	filemanager	fr	Fichiers
+files in this directory	filemanager	fr	Fichiers dans ce répertoire
+folder	filemanager	fr	Dossier
+folder up	filemanager	fr	Répertoire parent
+go home	filemanager	fr	Répertoire personnel
+go to	filemanager	fr	Aller dans
+go to %1	filemanager	fr	Aller dans %1
+go to your home directory	filemanager	fr	Aller dans votre répertoire "home" (maison)
+go to:	filemanager	fr	Aller à:
+go up	filemanager	fr	Remonter
+home	filemanager	fr	Maison
+location	filemanager	fr	Location
+locked	filemanager	fr	Verouillé
+mime type	filemanager	fr	Type MIME
+modified	filemanager	fr	Modifié
+modified by	filemanager	fr	Modifié par
+move to	filemanager	fr	Déplacer Dans
+move to:	filemanager	fr	Déplacer dans:
+moved %1 to %2	filemanager	fr	Déplacé %1 dans %2
+no files in this directory.	filemanager	fr	Pas de fichiers dans ce répertoire.
+no version history for this file/directory	filemanager	fr	Pas d'historique de versions pour ce fichier/répertoire
+operation	filemanager	fr	Opération
+other settings	filemanager	fr	Autres paramètres
+owner	filemanager	fr	Propriétaire
+please select a file to delete.	filemanager	fr	Sélectionnez un fichier à effacer.
+preview %1	filemanager	fr	Prévisualisation %1
+preview of %1	filemanager	fr	Prévisualisation de %1
+quick jump to	filemanager	fr	Aller à
+reload	filemanager	fr	Recharger
+rename	filemanager	fr	Renommer
+renamed %1 to %2	filemanager	fr	Renommé %1 en %2
+replaced %1	filemanager	fr	Remplacé %1
+save %1	filemanager	fr	Enregistrer %1
+save %1, and go back to file listing	filemanager	fr	Enregistrer %1, et retour au listing
+save all	filemanager	fr	Enregistrer tout
+save changes	filemanager	fr	Enregistrer les changements
+saved %1	filemanager	fr	%1 enregistré
+show	filemanager	fr	Montrer
+show ..	filemanager	fr	Montrer ..
+show .files	filemanager	fr	Montrer .fichiers
+show command line (experimental. dangerous.)	filemanager	fr	Montrer la ligne de commande (EXPERIMENTAL. DANGEREUX.)
+show help	filemanager	fr	Montrer l'aide
+size	filemanager	fr	Taille
+sort by:	filemanager	fr	Trier par:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	fr	Le futur gestionnaire de fichiers, SEULEMENT POUR DES TESTS, envoyez des rapports de bogues svp
+total files	filemanager	fr	Nombre de Fichiers
+unknown mime-type defaults to text/plain when viewing	filemanager	fr	text/plain utilisé par défaut si type MIME inconnu
+unused space	filemanager	fr	Espace inutilisé
+up	filemanager	fr	Haut
+update	filemanager	fr	Mettre à jour
+updated comment for %1	filemanager	fr	Commentaire pour %1 mis à jour
+upload	filemanager	fr	Envoyer
+upload fields	filemanager	fr	Champs d'envoi
+upload files	filemanager	fr	Fichiers à envoyer
+use new experimental filemanager?	filemanager	fr	Utiliser le Gestionnaire de fichier expérimental?
+used space	filemanager	fr	Espace utilisé
+users	filemanager	fr	Utilisateurs
+version	filemanager	fr	Version
+view documents in new window	filemanager	fr	Voir les documents dans une nouvelle fenêtre
+view documents on server (if available)	filemanager	fr	Voir les documents sur le serveur (si disponible)
+who	filemanager	fr	Qui
+you do not have access to %1	filemanager	fr	Vous n'avez pas accès à %1
+your home dir did not exist, egroupware created a new one.	filemanager	fr	Votre répertoire personnel n'existe pas, eGroupWare l'a créé.
Index: /sandbox/filemanager/setup/setup.inc.php
===================================================================
--- /sandbox/filemanager/setup/setup.inc.php	(revision 1506)
+++ /sandbox/filemanager/setup/setup.inc.php	(revision 1506)
@@ -0,0 +1,39 @@
+<?php
+	/**************************************************************************\
+	* eGroupWare - Filemanager                                                 *
+	* http://www.egroupware.org                                                *
+	* --------------------------------------------                             *
+	*  This program is free software; you can redistribute it and/or modify it *
+	*  under the terms of the GNU General Public License as published by the   *
+	*  Free Software Foundation; either version 2 of the License, or (at your  *
+	*  option) any later version.                                              *
+	\**************************************************************************/
+
+	/* $Id: setup.inc.php 15591 2004-07-02 22:32:53Z ralfbecker $ */
+
+	$setup_info['filemanager']['name']    = 'filemanager';
+	$setup_info['filemanager']['title']   = 'Filemanager';
+	$setup_info['filemanager']['version'] = '2.0.000';
+	$setup_info['filemanager']['app_order'] = 6;
+	$setup_info['filemanager']['enable']  = 1;
+
+
+	/* The hooks this app includes, needed for hooks registration */
+	$setup_info['filemanager']['hooks'] = array
+	(
+		'add_def_pref',
+		'admin',
+		'deleteaccount',
+		'settings',
+		'sidebox_menu',
+		'personalizer',
+		'preferences',
+	);
+
+	/* Dependencies for this app to work */
+	$setup_info['filemanager']['depends'][] = array
+	(
+		 'appname' => 'phpgwapi',
+		 'versions' => array('2.0.000')
+	);
+?>
Index: /sandbox/filemanager/setup/phpgw_hr.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_hr.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_hr.lang	(revision 1506)
@@ -0,0 +1,115 @@
+%1 already exists as a file	filemanager	hr	%1 veÄ postoji kao datoteka
+application	filemanager	hr	Aplikacija
+back to file manager	filemanager	hr	Povratak na file manager
+cancel editing %1 without saving	filemanager	hr	OtkaÅŸi ureÄivanje %1 bez spremana
+cannot create directory because it begins or ends in a space	filemanager	hr	Nisam u moguÄnosti napraviti mapu jer poÄinje i zavrÅ¡ava sa razmakom
+cannot replace %1 because it is a directory	filemanager	hr	Nemogu zamijeniti %1 jer je mapa.
+command sucessfully run	filemanager	hr	naredba uspjeÅ¡no provedena
+comment	filemanager	hr	Komentari
+comments cannot contain "%1"	filemanager	hr	Komentari ne mogu sadrÅŸavati  "%1"
+copied %1 to %2	filemanager	hr	Kopirano %1 u %2
+copy to	filemanager	hr	Kopiraj u
+copy to:	filemanager	hr	Kopiraj u:
+could not copy %1 to %2	filemanager	hr	Nisam mogao kopirati %1u %2
+could not copy file because no destination directory is given	filemanager	hr	Nisam moigao kopirati datoteku jer odrediÅ¡na mapa nije specificirana
+could not create %1	filemanager	hr	Nisam mogao napraviti %1
+could not create directory %1	filemanager	hr	Nisam mogao napraviti mapu %1
+could not delete %1	filemanager	hr	Nisam mogao obrisati %1
+could not move %1 to %2	filemanager	hr	Nisam mogao premjestiti %1 u %2
+could not move file because no destination directory is given	filemanager	hr	Nisam moigao premjestiti datoteku jer odrediÅ¡na mapa nije specificirana
+could not rename %1 to %2	filemanager	hr	Nisam mogao preimenovati %1 u %2
+could not save %1	filemanager	hr	Nisam mogao spremiti %1
+create file	filemanager	hr	Napravi datoteku
+create folder	filemanager	hr	Napravi mapu
+created	filemanager	hr	Napravljeno
+created %1	filemanager	hr	Napravljeno %1
+created %1,%2	filemanager	hr	Napravljeno %1,%2
+created by	filemanager	hr	Napravio
+created directory %1	filemanager	hr	Napravio mapu %1
+date	filemanager	hr	Datum
+default number of upload fields to show	filemanager	hr	PoÄetno postavljen broj datoteka za prikazati
+delete	filemanager	hr	ObriÅ¡i
+deleted %1	filemanager	hr	Obrisano %1
+directory	filemanager	hr	Mapa
+directory %1 already exists	filemanager	hr	Mapa %1 veÄ postoji
+directory %1 does not exist	filemanager	hr	Mapa %1 ne postoji
+directory names cannot contain "%1"	filemanager	hr	Imena mapa ne mogu sadrÅŸavati "%1"
+display attributes	filemanager	hr	PrikaÅŸi atribute
+download	filemanager	hr	Preuzmi sa posluÅŸitelja
+edit	filemanager	hr	Uredi
+edit comments	filemanager	hr	Uredi komentar
+error running command	filemanager	hr	GreÅ¡ka prilikom provoÄenja naredbe
+execute	filemanager	hr	IzvrÅ¡i
+failed to create directory	filemanager	hr	Neuspijelo stvaranje mape
+fake base dir did not exist, egroupware created a new one.	filemanager	hr	Fake Base Dir did not exist, eGroupWare created a new one.
+file	filemanager	hr	Datoteka
+file %1 already exists. please edit it or delete it first.	filemanager	hr	Datoteka %1 veÄ postoji. Molimo vas uredite ili obriÅ¡ite prvo veÄ postojeÄu datoteku.
+file %1 could not be created.	filemanager	hr	Nisam mogao  napraviti %1 datoteku.
+file name	filemanager	hr	Ime datoteke
+file names cannot contain "%1"	filemanager	hr	Imena datoteka nemogu sadrÅŸavati "%1"
+file names cannot contain \ or /	filemanager	hr	Imena datoteka nemogu sadrÅŸavati \ ili /
+filemanager	common	hr	Filemanager
+filemanager preferences	filemanager	hr	FileManager postavke
+files	filemanager	hr	Datoteke
+files in this directory	filemanager	hr	Datoteke u ovoj mapi
+folder	filemanager	hr	Mapa
+folder up	filemanager	hr	Gornja mapa
+go home	filemanager	hr	go home
+go to	filemanager	hr	Idi u
+go to %1	filemanager	hr	Idi u %1
+go to your home directory	filemanager	hr	Idi u mapu Home
+go to:	filemanager	hr	Idi u:
+go up	filemanager	hr	Idi gore
+home	filemanager	hr	Home
+location	filemanager	hr	Lokacija
+locked	filemanager	hr	ZakljuÄano
+mime type	filemanager	hr	MIME Tip
+modified	filemanager	hr	Promijenjeno
+modified by	filemanager	hr	Promijenio
+move to	filemanager	hr	Premjesti
+move to:	filemanager	hr	Premjesti u:
+moved %1 to %2	filemanager	hr	PremjeÅ¡teno %1 u %2
+no files in this directory.	filemanager	hr	Nema datoteka u ovoj mapi.
+no version history for this file/directory	filemanager	hr	Nema povijesti za ovu datoteku/mapu.
+operation	filemanager	hr	Operavija
+other settings	filemanager	hr	Druge postavke
+owner	filemanager	hr	Vlasnik
+please select a file to delete.	filemanager	hr	Molimo vas izaberite datoteku za obrisati
+preview %1	filemanager	hr	Pregled %1
+preview of %1	filemanager	hr	Pregled od %1
+quick jump to	filemanager	hr	Brzi prijelaz u
+reload	filemanager	hr	Ponovo otvori
+rename	filemanager	hr	Preimenuj
+renamed %1 to %2	filemanager	hr	Preimenovano %1 u %2
+replaced %1	filemanager	hr	Zamijenjeno %1
+save %1	filemanager	hr	Spremi %1
+save %1, and go back to file listing	filemanager	hr	Spremi %1, i vrati se na listu datoteka
+save all	filemanager	hr	Spremi sve
+save changes	filemanager	hr	Spremi promjene
+saved %1	filemanager	hr	Spremljeno %1
+show	filemanager	hr	PrikaÅŸi
+show ..	filemanager	hr	PrikaÅŸi...
+show .files	filemanager	hr	PrikaÅŸi .datoteke
+show command line (experimental. dangerous.)	filemanager	hr	PrikaÅŸi  liniju naredbi (EKSPERIMENTALNO. OPASNO.)
+show help	filemanager	hr	PrikaÅŸi pomoÄ
+size	filemanager	hr	VeliÄina
+sort by:	filemanager	hr	Poredaj po:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	hr	The future filemanager, now for TESTING PURPOSES ONLY, please send bugreports
+total files	filemanager	hr	Ukupno datoteka
+unknown mime-type defaults to text/plain when viewing	filemanager	hr	Nepoznati MIME-tip, prikazuat Äu u obiÄnom tekstu.
+unused space	filemanager	hr	Neupotrebljeni prostor
+up	filemanager	hr	Gore
+update	filemanager	hr	Obnovi
+updated comment for %1	filemanager	hr	Obnovi komentar za %1
+upload	filemanager	hr	Prenesi na posluÅŸitelj
+upload fields	filemanager	hr	Prenesi polja na posluÅŸitelj
+upload files	filemanager	hr	Prenesi datoteke na posluÅŸitelj
+use new experimental filemanager?	filemanager	hr	Upotrijebi novi eksperimentalni filemanager?
+used space	filemanager	hr	Upotrijebljen prostor
+users	filemanager	hr	korisnici
+version	filemanager	hr	Verzija
+view documents in new window	filemanager	hr	PrikaÅŸi dokumente u novom prozoru
+view documents on server (if available)	filemanager	hr	PrikaÅŸi dokumente na posluÅŸitelju (ukoliko ih ima)
+who	filemanager	hr	Tko
+you do not have access to %1	filemanager	hr	Nemate pristupa za %1
+your home dir did not exist, egroupware created a new one.	filemanager	hr	VaÅ¡a mapa Home nije postojalj, stvorena vam je nova.
Index: /sandbox/filemanager/setup/phpgw_nl.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_nl.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_nl.lang	(revision 1506)
@@ -0,0 +1,102 @@
+%1 already exists as a file	filemanager	nl	%1 bestaat reeds als een bestand.
+application	filemanager	nl	Toepassing
+back to file manager	filemanager	nl	Terug naar de Filemanager
+cannot create directory because it begins or ends in a space	filemanager	nl	Can de directory niet aanmaken omdat deze begint of eindigt met een spatie
+cannot replace %1 because it is a directory	filemanager	nl	Kan %1 niet vevangen omdat het een directory is.
+command sucessfully run	filemanager	nl	Commando met succes uitgevoerd.
+comment	filemanager	nl	Opmerking
+comments cannot contain "%1"	filemanager	nl	Opmerkingen kunnen geen "%1" bevatten.
+copied %1 to %2	filemanager	nl	%1 gekopieerd naar %2.
+copy to	filemanager	nl	Kopiëren naar
+copy to:	filemanager	nl	Kopiëren naar:
+could not copy %1 to %2	filemanager	nl	Kon %1 niet naar %2 kopiëren.
+could not create %1	filemanager	nl	Kon %1 niet aanmaken.
+could not create directory %1	filemanager	nl	Kon directory %1 niet aanmaken.
+could not delete %1	filemanager	nl	Kon %1 niet verwijderen.
+could not move %1 to %2	filemanager	nl	Kon %1 niet verplaatsen naar %2.
+could not rename %1 to %2	filemanager	nl	Kon %1 niet hernoemen naar %2.
+could not save %1	filemanager	nl	Kon %1 niet opslaan.
+create file	filemanager	nl	Bestand aanmaken
+create folder	filemanager	nl	Directory aanmaken
+created	filemanager	nl	Aangemaakt
+created %1	filemanager	nl	%1 aangemaakt.
+created by	filemanager	nl	Aangemaakt door
+created directory %1	filemanager	nl	Directory %1 aangemaakt.
+date	filemanager	nl	Datum
+default number of upload fields to show	filemanager	nl	Standaard aantal uploadvelden in beeld
+delete	filemanager	nl	Verwijderen
+deleted %1	filemanager	nl	%1 verwijderd
+directory	filemanager	nl	Directory
+directory %1 already exists	filemanager	nl	Directory %1 bestaat reeds.
+directory %1 does not exist	filemanager	nl	Directory %1 bestaat niet.
+directory names cannot contain "%1"	filemanager	nl	Directorynamen kunnen geen "%1" bevatten.
+display attributes	filemanager	nl	Attributen weergeven
+download	filemanager	nl	Downloaden
+edit	filemanager	nl	Bewerken
+edit comments	filemanager	nl	Opmerkingen bewerken
+error running command	filemanager	nl	Fout bij het uitvoeren van commando
+execute	filemanager	nl	Uitvoeren
+failed to create directory	filemanager	nl	Het aanmaken van de directory is niet gelukt.
+file	filemanager	nl	Bestand
+file %1 already exists. please edit it or delete it first.	filemanager	nl	Bestand %1 bestaat reeds.
+file %1 could not be created.	filemanager	nl	Bestand %1 kon niet worden aangemaakt.
+file name	filemanager	nl	Bestandsnaam
+file names cannot contain  or /	filemanager	nl	Bestanden kunnen geen "\" of "/" bevatten.
+file names cannot contain "%1"	filemanager	nl	Bestanden kunnen geen "%1" bevatten.
+file names cannot contain \ or /	filemanager	nl	Bestanden kunnen geen "\" of "/" bevatten.
+filemanager	common	nl	Filemanager
+filemanager preferences	filemanager	nl	Filemanager voorkeuren
+files	filemanager	nl	Bestanden
+files in this directory	filemanager	nl	Bestanden in deze folder
+folder	filemanager	nl	Directory
+go to	filemanager	nl	Ga naar
+go to %1	filemanager	nl	Ga naar %1
+go to your home directory	filemanager	nl	Ga naar uw homedirectory
+go to:	filemanager	nl	Ga naar:
+go up	filemanager	nl	omhoog
+home	filemanager	nl	Home
+locked	filemanager	nl	Gesloten
+mime type	filemanager	nl	MIME-type
+modified	filemanager	nl	Gewijzigd
+modified by	filemanager	nl	Gewijzigd door
+move to	filemanager	nl	Verplaatsen naar
+move to:	filemanager	nl	Verplaatsen naar:
+moved %1 to %2	filemanager	nl	%1 verplaatst naar %2
+no files in this directory.	filemanager	nl	Geen bestanden in deze folder.
+no version history for this file/directory	filemanager	nl	Geen versiegeschiedenis voor dit bestand of deze directory
+operation	filemanager	nl	Actie
+other settings	filemanager	nl	Overige instellingen
+owner	filemanager	nl	Eigenaar
+preview %1	filemanager	nl	Preview %1
+preview of %1	filemanager	nl	Preview van %1
+quick jump to	filemanager	nl	Snel naar
+reload	filemanager	nl	opnieuw opvragen
+rename	filemanager	nl	Hernoemen
+renamed %1 to %2	filemanager	nl	%1 hernoemd naar %2
+replaced %1	filemanager	nl	%1 vervangen
+save %1	filemanager	nl	%1 opslaan
+save all	filemanager	nl	Alles opslaan
+saved %1	filemanager	nl	%1 opgeslagen
+show	filemanager	nl	Weergeven
+show ..	filemanager	nl	.. weergeven
+show .files	filemanager	nl	Verborgen bestanden weergeven
+show command line (experimental. dangerous.)	filemanager	nl	Commandoinvoer weergeven (EXPERIMENTEEL EN GEVAARLIJK)
+show help	filemanager	nl	Help weergeven
+size	filemanager	nl	Grootte
+sort by:	filemanager	nl	Sorteren op:
+total files	filemanager	nl	Totaal aantal bestanden
+unknown mime-type defaults to text/plain when viewing	filemanager	nl	Onbekend MIME-type standaard als text/plain weergeven
+unused space	filemanager	nl	Ongebruikte schijfruimte
+up	filemanager	nl	Naar boven
+update	filemanager	nl	Bijgewerkt
+updated comment for %1	filemanager	nl	Opmerking voor %1 bijgewerkt
+upload	filemanager	nl	Upload
+upload fields	filemanager	nl	uploadvelden
+upload files	filemanager	nl	Bestanden uploaden
+used space	filemanager	nl	Gebruikte schijfruimte
+users	filemanager	nl	Gebruikers
+version	filemanager	nl	Versie
+view documents in new window	filemanager	nl	Documenten in een nieuw venster weergeven
+view documents on server (if available)	filemanager	nl	Documenten op server weergeven (als dit mogelijk is)
+who	filemanager	nl	Wie
+you do not have access to %1	filemanager	nl	U heeft geen toedang tot %1
Index: /sandbox/filemanager/setup/phpgw_pl.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_pl.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_pl.lang	(revision 1506)
@@ -0,0 +1,117 @@
+%1 already exists as a file	filemanager	pl	%1 ju¿ istnieje jako plik
+application	filemanager	pl	Aplikacja
+back to file manager	filemanager	pl	Powrót do managera plików
+cancel editing %1 without saving	filemanager	pl	Przerwij edycjê %1 bez zapisywania
+cannot create directory because it begins or ends in a space	filemanager	pl	Nie moge utworzyæ katalogu, poniewa¿ nazwa zaczyna lub konczy siê spacj±
+cannot replace %1 because it is a directory	filemanager	pl	Nie mo¿na zast±piæ %1, poniewa¿ jest katalogiem
+command sucessfully run	filemanager	pl	Polecenie wykonano pomy¶lnie
+comment	filemanager	pl	Komentarz
+comments cannot contain "%1"	filemanager	pl	Komentarz nie zawiera "%1"
+copied %1 to %2	filemanager	pl	Skopiowano %1 do %2
+copy to	filemanager	pl	Kopiuj do
+copy to:	filemanager	pl	Kopiuj do
+could not copy %1 to %2	filemanager	pl	Nie mo¿na skopiowaæ %1 do %2
+could not copy file because no destination directory is given	filemanager	pl	Nie mo¿na skopiowaæ pliku, poniewa¿ nie okre¶lono katalogu docelowego
+could not create %1	filemanager	pl	Nie mo¿na utworzyæ %1
+could not create directory %1	filemanager	pl	Nie mo¿na utworzyæ katalogu %1
+could not delete %1	filemanager	pl	Nie mo¿na usun±æ %1
+could not move %1 to %2	filemanager	pl	Nie mo¿na przenie¶æ %1
+could not move file because no destination directory is given	filemanager	pl	Nie mo¿na przenie¶æ pliku, poniewa¿ nie okre¶lono katalogu docelowego
+could not rename %1 to %2	filemanager	pl	Nie mona zmieniæ nazwy %1 na %2
+could not save %1	filemanager	pl	Nie mona zapisaæ %1
+create file	filemanager	pl	Utwórz plik
+create folder	filemanager	pl	Utwórz katalog
+created	filemanager	pl	Utworzony
+created %1	filemanager	pl	Utworzono %1
+created %1,%2	filemanager	pl	Utworzono %1, %2
+created by	filemanager	pl	Utworzony przez
+created directory %1	filemanager	pl	Utworzono katalog %1
+date	filemanager	pl	Data
+default number of upload fields to show	filemanager	pl	Ustaw domy¶ln± ilo¶æ wy¶wietlanych pól do wysy³ania plików
+delete	filemanager	pl	Usuñ
+deleted %1	filemanager	pl	Skasowano %1
+deleted x	filemanager	pl	Usunito 51
+directory	filemanager	pl	Katalog
+directory %1 already exists	filemanager	pl	Katalog %1 ju¿ istnieje
+directory %1 does not exist	filemanager	pl	Katalog %1 nie istnieje
+directory names cannot contain "%1"	filemanager	pl	Nazwa katalogu zawiera "%1"
+display attributes	filemanager	pl	Wy¶wietlane atrybuty
+download	filemanager	pl	Pobierz
+edit	filemanager	pl	Edycja
+edit comments	filemanager	pl	Edycja komentarza
+error running command	filemanager	pl	B³±d wykonania polecenia
+execute	filemanager	pl	Wykonaj
+failed to create directory	filemanager	pl	nie uda³o siê utworzyæ katalogu
+fake base dir did not exist, egroupware created a new one.	filemanager	pl	Twój "fa³szywy" katalog podstawowy nie istnia³, wiêc eGroupWare utworzy³ go.
+file	filemanager	pl	Plik
+file %1 already exists. please edit it or delete it first.	filemanager	pl	Plik %1 ju¿ istnieje. Proszê najpierw wyedytowaæ go lub usun±æ.
+file %1 could not be created.	filemanager	pl	Plik %1 nie mo¿e byæ utworzony
+file name	filemanager	pl	Nazwa pliku
+file names cannot contain "%1"	filemanager	pl	Plik nie zawiera "%1"
+file names cannot contain \ or /	filemanager	pl	Nazwa pliku nie mo¿e zawieraæ \ lub /
+filemanager	common	pl	Pliki
+filemanager preferences	filemanager	pl	Preferencje Managera plików
+filename	filemanager	pl	Nazwa pliku
+files	filemanager	pl	Plików
+files in this directory	filemanager	pl	Pliki w tym katalogu
+folder	filemanager	pl	Katalog
+folder up	filemanager	pl	Folder w górê
+go home	filemanager	pl	IdŒ do strony g³ównej
+go to	filemanager	pl	IdŒ do
+go to %1	filemanager	pl	IdŒ do %1
+go to your home directory	filemanager	pl	IdŒ do katalogu domowego
+go to:	filemanager	pl	IdŒ do
+go up	filemanager	pl	w górê
+home	filemanager	pl	Strona g³ówna
+location	filemanager	pl	Po³o¿enie
+locked	filemanager	pl	Zablokowano
+mime type	filemanager	pl	Typ MIME
+modified	filemanager	pl	Zmodyfikowany
+modified by	filemanager	pl	Zmodyfikowany przez
+move to	filemanager	pl	Przenie¶ do
+move to:	filemanager	pl	Przenie¶ do:
+moved %1 to %2	filemanager	pl	Przeniesiono %1 do %2
+no files in this directory.	filemanager	pl	Nie ma plików w tym katalogu
+no version history for this file/directory	filemanager	pl	Nie istnieje historia wersji tego pliku/katalogu
+operation	filemanager	pl	Operacja
+other settings	filemanager	pl	Inne ustawienia
+owner	filemanager	pl	W³a¶ciciel
+please select a file to delete.	filemanager	pl	Proszê wybraæ plik do skasowania.
+preview %1	filemanager	pl	Podgl±d %1
+preview of %1	filemanager	pl	Podgl±d %1
+quick jump to	filemanager	pl	Szybki skok do
+reload	filemanager	pl	od¶wie¿
+rename	filemanager	pl	Zmiana nazwy
+renamed %1 to %2	filemanager	pl	Zmieniono nazwê %1 na %2
+replaced %1	filemanager	pl	Zast±piono %1
+save %1	filemanager	pl	Zapisz %1
+save %1, and go back to file listing	filemanager	pl	Zapisz %1 i przejdŒ do listy plików
+save all	filemanager	pl	Zapisz wszystko
+save changes	filemanager	pl	Zapisz zmiany
+saved %1	filemanager	pl	Zapisano %1
+show	filemanager	pl	Wy¶wietl
+show ..	filemanager	pl	Wy¶wietlaj ..
+show .files	filemanager	pl	Wy¶wietlaj .pliki
+show command line (experimental. dangerous.)	filemanager	pl	Wy¶wietl linie poleceñ (UWAGA: FUNKCJA EKSPERYMENTALNA, U¯YCIE MO¯E BYÆ NIEBEZPIECZNE)
+show help	filemanager	pl	Wy¶wietlaj pomoc
+size	filemanager	pl	Wielko¶æ
+sort by:	filemanager	pl	Sortuj wg:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	pl	Nastepna wersja managera plików, WY£¡CZNIE DO CELÓW TESTOWYCH, proszê przesy³aæ raporty b³êdów.
+total files	filemanager	pl	Wszystkich plików
+unknown mime-type defaults to text/plain when viewing	filemanager	pl	Nieznany typ MIME domy¶lnie traktowany jest w przegl±daniu jako text/plain.
+unused space	filemanager	pl	Wolne miejsce
+up	filemanager	pl	W górê
+update	filemanager	pl	Aktualizuj
+updated comment for %1	filemanager	pl	Zaktualizowano komentarz do %1
+upload	filemanager	pl	Za³aduj plik
+upload fields	filemanager	pl	wczytywanych plików
+upload files	filemanager	pl	Wczytaj pliki
+use new experimental filemanager?	filemanager	pl	U¿ywaæ nowego, eksperymentalnego Menad¿era plików?
+used space	filemanager	pl	Wykorzystane miejsce
+users	filemanager	pl	U¿ytkownicy
+version	filemanager	pl	Wersja
+view documents in new window	filemanager	pl	Wy¶wietlaj dokumenty w nowym oknie
+view documents on server (if available)	filemanager	pl	Poka¿ dokumenty na serwerze (je¶li s± dostêpne)
+who	filemanager	pl	Kto
+you do not have access to %1	filemanager	pl	Nie masz uprawnieñ do %1
+your home dir did not exist, egroupware created a new one.	filemanager	pl	Twój Katalog domowy nie istnia³, wiêc eGroupWare utworzy³ go.
Index: /sandbox/filemanager/setup/phpgw_es-es.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_es-es.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_es-es.lang	(revision 1506)
@@ -0,0 +1,118 @@
+%1 already exists as a file	filemanager	es-es	%1 ya existe como un fichero
+application	filemanager	es-es	Aplicación
+back to file manager	filemanager	es-es	Volver al Administrador de ficheros
+cancel editing %1 without saving	filemanager	es-es	Cancelar la edición de %1 sin guardar
+cannot create directory because it begins or ends in a space	filemanager	es-es	No se puede crear el directorio porque empieza o acaba con un espacio
+cannot replace %1 because it is a directory	filemanager	es-es	No puedo reemplazar %1 porque está en un directorio
+command sucessfully run	filemanager	es-es	Comando ejecutado correctamente
+comment	filemanager	es-es	Comentario
+comments cannot contain "%1"	filemanager	es-es	Los comentarios no pueden tener "%1"
+copied %1 to %2	filemanager	es-es	Copiado %1 a %2
+copy to	filemanager	es-es	Copiar A
+copy to:	filemanager	es-es	Copiar a:
+could not copy %1 to %2	filemanager	es-es	No se pudo copiar %1 a %2
+could not copy file because no destination directory is given	filemanager	es-es	No se pudo copiar el fichero porque no se indicó el directorio de destino
+could not create %1	filemanager	es-es	No se pudo crear %1
+could not create directory %1	filemanager	es-es	No se pudo crear el directorio %1
+could not delete %1	filemanager	es-es	No se pudo borrar %1
+could not move %1 to %2	filemanager	es-es	No se pudo mover %1 a %2
+could not move file because no destination directory is given	filemanager	es-es	No se puedo mover el fichero porque no se indicó el directorio de destino
+could not rename %1 to %2	filemanager	es-es	No se pudo renombre %1 a %2
+could not save %1	filemanager	es-es	No se pudo guardar %1
+create file	filemanager	es-es	Crear fichero
+create folder	filemanager	es-es	Crear carpeta
+created	filemanager	es-es	Creado
+created %1	filemanager	es-es	Se ha creado %1
+created %1,%2	filemanager	es-es	Se ha creado %1,%2
+created by	filemanager	es-es	Creado por
+created directory %1	filemanager	es-es	Directorio %1 creado
+date	filemanager	es-es	Fecha
+default number of upload fields to show	filemanager	es-es	Número predeterminado de campos a mostrar
+delete	filemanager	es-es	Borrar
+deleted %1	filemanager	es-es	%1 ha sido borrado
+directory	filemanager	es-es	Directorio
+directory %1 already exists	filemanager	es-es	El directorio %1 ya existe
+directory %1 does not exist	filemanager	es-es	El directorio %1 no existe
+directory names cannot contain "%1"	filemanager	es-es	Los nombres de directorio no pueden tener "%1"
+display attributes	filemanager	es-es	Mostrar atributos
+download	filemanager	es-es	Descargar
+edit	filemanager	es-es	Editar
+edit comments	filemanager	es-es	Editar comentarios
+error running command	filemanager	es-es	Error al ejecutar el comando
+execute	filemanager	es-es	Ejecutar
+failed to create directory	filemanager	es-es	fallo al crear el directorio
+fake base dir did not exist, egroupware created a new one.	filemanager	es-es	El directorio base ficticio no existía, y eGroupWare ha creado una nueva
+file	filemanager	es-es	Fichero
+file %1 already exists. please edit it or delete it first.	filemanager	es-es	El fichero %1 ya existe. Por favor, edítelo o bórrelo antes.
+file %1 could not be created.	filemanager	es-es	No se pudo crear el fichero %1.
+file name	filemanager	es-es	Nombre del fichero
+file names cannot contain  or /	filemanager	es-es	
+file names cannot contain "%1"	filemanager	es-es	Los nombres de fichero no pueden contener "%1"
+file names cannot contain \ or /	filemanager	es-es	Los nombres de fichero no pueden contener  o /
+filemanager	common	es-es	Administrador de archivos
+filemanager preferences	filemanager	es-es	Preferencias del Administrador de archivos
+files	filemanager	es-es	Ficheros
+files in this directory	filemanager	es-es	Ficheros en este directorio
+files is this directory	filemanager	es-es	Ficheros en este directorio
+folder	filemanager	es-es	Carpeta
+folder up	filemanager	es-es	Subir una carpeta
+go home	filemanager	es-es	ir al inicio
+go to	filemanager	es-es	Ir A
+go to %1	filemanager	es-es	Ir a %1
+go to your home directory	filemanager	es-es	Ir al directorio personal
+go to:	filemanager	es-es	Ir a:
+go up	filemanager	es-es	subir
+home	filemanager	es-es	Inicio
+location	filemanager	es-es	Ubicación
+locked	filemanager	es-es	Bloqueado
+mime type	filemanager	es-es	Tipo MIME
+modified	filemanager	es-es	Modificado
+modified by	filemanager	es-es	Modificado por
+move to	filemanager	es-es	Mover A
+move to:	filemanager	es-es	Mover a:
+moved %1 to %2	filemanager	es-es	Se ha movido %1 a %2
+no files in this directory.	filemanager	es-es	No hay ficheros en este directorio
+no version history for this file/directory	filemanager	es-es	No hay historial de versión para este fichero o directorio
+operation	filemanager	es-es	Operación
+other settings	filemanager	es-es	Otras opciones
+owner	filemanager	es-es	Propietario
+please select a file to delete.	filemanager	es-es	Por favor, seleccione un fichero para borrar
+preferences old	preferences	es-es	Preferencias antiguas
+preview %1	filemanager	es-es	Vista previa de %1
+preview of %1	filemanager	es-es	Vista previa de %1
+quick jump to	filemanager	es-es	Salto rápido a
+reload	filemanager	es-es	recargar
+rename	filemanager	es-es	Renombrar
+renamed %1 to %2	filemanager	es-es	Se ha renombrado %1 a %2
+replaced %1	filemanager	es-es	Reemplazado %1
+save %1	filemanager	es-es	Guardar %1
+save %1, and go back to file listing	filemanager	es-es	Guardar %1, y volver al listado de ficheros
+save all	filemanager	es-es	Guardar todo
+save changes	filemanager	es-es	Guardar cambios
+saved %1	filemanager	es-es	Guardado %1
+show	filemanager	es-es	Mostrar
+show ..	filemanager	es-es	Mostrar ..
+show .files	filemanager	es-es	Mostrar ficheros ocultos
+show command line (experimental. dangerous.)	filemanager	es-es	Mostrar línea de comandos (EXPERIMENTAL. PELIGROSO)
+show help	filemanager	es-es	Mostrar la ayuda
+size	filemanager	es-es	Tamaño
+sort by:	filemanager	es-es	Ordenar por:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	es-es	El Administrador de archivos futuro, SOLO PARA PRUEBAS. Por favor, informe de los fallos.
+total files	filemanager	es-es	Total ficheros
+unknown mime-type defaults to text/plain when viewing	filemanager	es-es	El tipo MIME desconocido se muestra como text/plain
+unused space	filemanager	es-es	Espacio libre
+up	filemanager	es-es	Arriba
+update	filemanager	es-es	Actualizar
+updated comment for %1	filemanager	es-es	Comentario actualizado para %1
+upload	filemanager	es-es	Copiar a servidor
+upload fields	filemanager	es-es	Subir campos
+upload files	filemanager	es-es	Subir ficheros
+use new experimental filemanager?	filemanager	es-es	¿Usar el nuevo Administrador de archivos (experimental)?
+used space	filemanager	es-es	Espacio utilizado
+users	filemanager	es-es	Usuarios
+version	filemanager	es-es	Versión
+view documents in new window	filemanager	es-es	Ver documentos en una ventana nueva
+view documents on server (if available)	filemanager	es-es	Ver documentos en el servidor (si está disponible)
+who	filemanager	es-es	Quién
+you do not have access to %1	filemanager	es-es	No tiene acceso a %1
+your home dir did not exist, egroupware created a new one.	filemanager	es-es	Su directorio inicial no existía, y eGroupWare ha creado uno nuevo.
Index: /sandbox/filemanager/setup/phpgw_it.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_it.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_it.lang	(revision 1506)
@@ -0,0 +1,116 @@
+%1 already exists as a file	filemanager	it	%1 esiste già come file
+application	filemanager	it	Applicazione
+back to file manager	filemanager	it	Indietro a File manager
+cancel editing %1 without saving	filemanager	it	Annulla modifiche di %1 senza salvare
+cannot create directory because it begins or ends in a space	filemanager	it	Non posso creare la directory perché inizia o finisce con uno spazio
+cannot replace %1 because it is a directory	filemanager	it	Non posso sotituire %1 perché è una directory
+command sucessfully run	filemanager	it	Comando eseguito con successo
+comment	filemanager	it	Commento
+comments cannot contain "%1"	filemanager	it	I commenti non possono contenere "%1"
+copied %1 to %2	filemanager	it	Ho copiato %1 in %2
+copy to	filemanager	it	Copia In
+copy to:	filemanager	it	Copia in:
+could not copy %1 to %2	filemanager	it	Non posso copiare %1 in %2
+could not copy file because no destination directory is given	filemanager	it	Non posso copiare il file perché non è indicata la directory di destinazione
+could not create %1	filemanager	it	Non posso creare %1
+could not create directory %1	filemanager	it	Non posso creare la directory %1
+could not delete %1	filemanager	it	Non posso eliminare %1
+could not move %1 to %2	filemanager	it	Non posso spostare %1 in %2
+could not move file because no destination directory is given	filemanager	it	Non posso spostare il file perché non è indicata la directory di destinazione
+could not rename %1 to %2	filemanager	it	Non posso rinominare %1 in %2
+could not save %1	filemanager	it	Non posso salvare %1
+create file	filemanager	it	Crea File
+create folder	filemanager	it	Crea Cartella
+created	filemanager	it	Creato
+created %1	filemanager	it	Creato %1
+created %1,%2	filemanager	it	Creato %1, %2
+created by	filemanager	it	Creato da
+created directory %1	filemanager	it	Creata la directory %1
+date	filemanager	it	Data
+default number of upload fields to show	filemanager	it	Numero predefinito di campi di caricamento da mostrare
+delete	filemanager	it	Elimina
+deleted %1	filemanager	it	Eliminato %1
+directory	filemanager	it	Directory
+directory %1 already exists	filemanager	it	La directory %1 esiste già
+directory %1 does not exist	filemanager	it	La directory %1 non esiste
+directory names cannot contain "%1"	filemanager	it	I nomi di directory non possono contenere "%1"
+display attributes	filemanager	it	Visualizza attributi
+download	filemanager	it	Download
+edit	filemanager	it	Modifica
+edit comments	filemanager	it	Modifica commenti
+error running command	filemanager	it	Errore nell'esecuzione del comando
+execute	filemanager	it	Esegui
+failed to create directory	filemanager	it	Creazione directory fallita
+fake base dir did not exist, egroupware created a new one.	filemanager	it	La finta Directory base non esisteva, eGroupWare ne ha creata una nuova.
+file	filemanager	it	File
+file %1 already exists. please edit it or delete it first.	filemanager	it	Il file %1 esiste già. Per favore, prima modificalo o cancellalo.
+file %1 could not be created.	filemanager	it	Il file %1 non può essere creato.
+file name	filemanager	it	Nome del File
+file names cannot contain "%1"	filemanager	it	I nomi dei File non possono contenere "%1"
+file names cannot contain \ or /	filemanager	it	I nomi dei File non possono contenere \ o /
+file names cannot contain \\ or /	filemanager	it	I nomi dei File non possono contenere \ o /
+filemanager	common	it	Filemanager
+filemanager preferences	filemanager	it	Preferenze Filemanager
+files	filemanager	it	File
+files in this directory	filemanager	it	File in questa directory
+folder	filemanager	it	Cartella
+folder up	filemanager	it	Cartella superiore
+go home	filemanager	it	Vai alla Home
+go to	filemanager	it	Vai A
+go to %1	filemanager	it	Vai a %1
+go to your home directory	filemanager	it	Vai alla tua directory Home
+go to:	filemanager	it	Vai a:
+go up	filemanager	it	Vai su
+home	filemanager	it	Home
+location	filemanager	it	Locazione
+locked	filemanager	it	Bloccato
+mime type	filemanager	it	Tipo MIME
+modified	filemanager	it	Modificato
+modified by	filemanager	it	Modificato da
+move to	filemanager	it	Sposta in
+move to:	filemanager	it	Sposta in:
+moved %1 to %2	filemanager	it	Ho spostato %1 in %2
+no files in this directory.	filemanager	it	Nessun File in questa directory.
+no version history for this file/directory	filemanager	it	Nessuna cronologia versioni per questo file/directory
+operation	filemanager	it	Operazione
+other settings	filemanager	it	Altre impostazioni
+owner	filemanager	it	Proprietario
+please select a file to delete.	filemanager	it	Selezion un File da eliminare.
+preview %1	filemanager	it	Anteprima %1
+preview of %1	filemanager	it	Anteprima di %1
+quick jump to	filemanager	it	Salta a
+reload	filemanager	it	ricarica
+rename	filemanager	it	Rinomina
+renamed %1 to %2	filemanager	it	Ho rinominato %1 in %2
+replaced %1	filemanager	it	Sostituito %1
+save %1	filemanager	it	Salva %1
+save %1, and go back to file listing	filemanager	it	Salva %1 e torna alla lista dei file
+save all	filemanager	it	Salva tutto
+save changes	filemanager	it	Salva le modifiche
+saved %1	filemanager	it	Ho salvato %1
+show	filemanager	it	Mostra
+show ..	filemanager	it	Mostra ..
+show .files	filemanager	it	Mostra .files
+show command line (experimental. dangerous.)	filemanager	it	Mostra linea di comando (SPERIMENTALE. PERICOLOSO.)
+show help	filemanager	it	Mostra Aiuto
+size	filemanager	it	Dimensione
+sort by:	filemanager	it	Ordina per:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	it	Il futuro Filemanager, ora ESCLUSIVAMENTE A SCOPO DI TEST, per favore invia rapporti di bug.
+total files	filemanager	it	File totali
+unknown mime-type defaults to text/plain when viewing	filemanager	it	I tipi MIME sconosciuti vengono visualizzati come testo semplice
+unused space	filemanager	it	Spazio inutilizzato
+up	filemanager	it	Su
+update	filemanager	it	Aggiorna
+updated comment for %1	filemanager	it	Ho aggiornato i commenti per %1
+upload	filemanager	it	Carica
+upload fields	filemanager	it	campi caricamento
+upload files	filemanager	it	Carica File
+use new experimental filemanager?	filemanager	it	Utilizza il nuovo Filemanager sperimentale?
+used space	filemanager	it	Spazio utilizzato
+users	filemanager	it	Utenti
+version	filemanager	it	Versione
+view documents in new window	filemanager	it	Visualizza i documenti in una nuova finestra
+view documents on server (if available)	filemanager	it	Visualizza i documenti sul server (se disponibile)
+who	filemanager	it	Chi
+you do not have access to %1	filemanager	it	Non hai accesso a %1
+your home dir did not exist, egroupware created a new one.	filemanager	it	La tua Directory Home non esisteva, eGroupWare ne ha creata una nuova.
Index: /sandbox/filemanager/setup/phpgw_no.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_no.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_no.lang	(revision 1506)
@@ -0,0 +1,113 @@
+%1 already exists as a file	filemanager	no	%1 finnes allerede som en fil
+application	filemanager	no	Applikasjon
+back to file manager	filemanager	no	Tilbake til filbehandler
+cancel editing %1 without saving	filemanager	no	Avbryt redigering %1 uten å lagre
+cannot create directory because it begins or ends in a space	filemanager	no	Kan ikke opprette mappe fordi den begynner eller slutter med mellomrom
+cannot replace %1 because it is a directory	filemanager	no	Kan ikke erstatte %1 fordi det er en mappe
+command sucessfully run	filemanager	no	Kommando vellykket
+comment	filemanager	no	Kommentar
+comments cannot contain "%1"	filemanager	no	Kommentar kan ikke inneholde %1
+copied %1 to %2	filemanager	no	Kopiert %1 til %2
+copy to	filemanager	no	Kopier til
+copy to:	filemanager	no	Kopier til:
+could not copy %1 to %2	filemanager	no	Kunne ikke kopiere %1 til %2
+could not copy file because no destination directory is given	filemanager	no	Kunne ikke kopiere fil fordi destinasjon ikke er oppgitt
+could not create %1	filemanager	no	Kunne ikke opprette %1
+could not create directory %1	filemanager	no	Kunne ikke opprette mappe %1
+could not delete %1	filemanager	no	Kunne ikke slette %1
+could not move %1 to %2	filemanager	no	Kunne ikke flytte %1 til %2
+could not move file because no destination directory is given	filemanager	no	Kunne ikke flytte fil fordi mål ikke er oppgitt
+could not rename %1 to %2	filemanager	no	Kunne ikke gi %1 nytt navn til %2
+could not save %1	filemanager	no	Kunne ikke lagre %1
+create file	filemanager	no	Opprett fil
+create folder	filemanager	no	Opprett mappe
+created	filemanager	no	Opprettet
+created %1	filemanager	no	Opprettet %1
+created %1,%2	filemanager	no	Opprettet %1, %2
+created by	filemanager	no	Opprettet av
+created directory %1	filemanager	no	Opprettet mappe %1
+date	filemanager	no	Dato
+default number of upload fields to show	filemanager	no	Standard antall av opplastingsfiler å vise
+delete	filemanager	no	Slett
+deleted %1	filemanager	no	Slettet %1
+directory	filemanager	no	Mappe
+directory %1 already exists	filemanager	no	Mappe %1 finnes allerede
+directory %1 does not exist	filemanager	no	Mappe %1 finnes ikke
+directory names cannot contain "%1"	filemanager	no	Mappens navn kan ikke inneholde %1
+display attributes	filemanager	no	Vis attributter
+download	filemanager	no	Last ned
+edit	filemanager	no	Rediger
+edit comments	filemanager	no	Rediger kommentarer
+error running command	filemanager	no	Feil ved utføring av kommando
+execute	filemanager	no	Utfør
+failed to create directory	filemanager	no	feilet ved opprettelse av mappe
+file	filemanager	no	Fil
+file %1 already exists. please edit it or delete it first.	filemanager	no	Filen %1 finnes allerede. Vennligst rediger eller slett den først
+file %1 could not be created.	filemanager	no	Filen %1 kunne ikke opprettes
+file name	filemanager	no	Filnavn
+file names cannot contain "%1"	filemanager	no	Filnavn kan ikke inneholde "%1"
+file names cannot contain \ or /	filemanager	no	Filnavn kan ikke inneholde \ eller /
+filemanager	common	no	Filhåndterer
+filemanager preferences	filemanager	no	Filhåndterer preferanser
+files	filemanager	no	Filer
+files in this directory	filemanager	no	Filer i denne mappen
+folder	filemanager	no	Mappe
+folder up	filemanager	no	Mappe opp
+go home	filemanager	no	gå hjem
+go to	filemanager	no	Gå til
+go to %1	filemanager	no	Gå til %1
+go to your home directory	filemanager	no	Gå til hjemmemappe
+go to:	filemanager	no	Gå til:
+go up	filemanager	no	gå opp
+home	filemanager	no	Hjem
+location	filemanager	no	Lokasjon
+locked	filemanager	no	Låst
+mime type	filemanager	no	MIME type
+modified	filemanager	no	Endret
+modified by	filemanager	no	Endret av
+move to	filemanager	no	Flytt til
+move to:	filemanager	no	Flytt til:
+moved %1 to %2	filemanager	no	Flyttet %1 til %2
+no files in this directory.	filemanager	no	Ingen filer i mappen
+no version history for this file/directory	filemanager	no	Ingen versjon for denne filen/mappen
+operation	filemanager	no	Operasjon
+other settings	filemanager	no	Andre innstillinger
+owner	filemanager	no	Eier
+please select a file to delete.	filemanager	no	Vennligst velg en fil å slette
+preview %1	filemanager	no	Forhåndsvis %1
+preview of %1	filemanager	no	Forhåndsvining av %1
+quick jump to	filemanager	no	Hurtighopp til
+reload	filemanager	no	Last på nytt
+rename	filemanager	no	Gi nytt navn
+renamed %1 to %2	filemanager	no	Ga %1 nytt navn til %2
+replaced %1	filemanager	no	Erstattet %1
+save %1	filemanager	no	Lagret %1
+save %1, and go back to file listing	filemanager	no	Lagre %1, og gå tilbake til filliste
+save all	filemanager	no	Lagre alle
+save changes	filemanager	no	Lagre endringer
+saved %1	filemanager	no	Lagret %1
+show	filemanager	no	Vis
+show ..	filemanager	no	Vis...
+show .files	filemanager	no	Vis .filer
+show command line (experimental. dangerous.)	filemanager	no	Vis kommandolinje (Eksperimentell. Farlig)
+show help	filemanager	no	Vis hjelp
+size	filemanager	no	Størrelse
+sort by:	filemanager	no	Sorter etter:
+total files	filemanager	no	Totalt antall filer
+unknown mime-type defaults to text/plain when viewing	filemanager	no	Ukjent MIME-type blir text/plain ved visning
+unused space	filemanager	no	Ubrukt område
+up	filemanager	no	Opp
+update	filemanager	no	Oppdater
+updated comment for %1	filemanager	no	Oppdatert kommentar for %1
+upload	filemanager	no	Last opp
+upload fields	filemanager	no	last opp felter
+upload files	filemanager	no	Last opp filer
+use new experimental filemanager?	filemanager	no	Bruk den eksperimentelle Filhåndtereren
+used space	filemanager	no	Brukt område
+users	filemanager	no	Brukere
+version	filemanager	no	Versjon
+view documents in new window	filemanager	no	Vis dokumenter i vindu
+view documents on server (if available)	filemanager	no	Vis dokumenter på tjener (hvis tilgjengelig)
+who	filemanager	no	Hvem
+you do not have access to %1	filemanager	no	Du har ikke adgang til %1
+your home dir did not exist, egroupware created a new one.	filemanager	no	Din hjemmemappe fantes ikke, eGroupWare opprettet en ny.
Index: /sandbox/filemanager/setup/phpgw_sl.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_sl.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_sl.lang	(revision 1506)
@@ -0,0 +1,116 @@
+%1 already exists as a file	filemanager	sl	%1 ï¿œe obstaja kot datoteka.
+application	filemanager	sl	Aplikacija
+back to file manager	filemanager	sl	Nazaj v upravljalca datotek
+cancel editing %1 without saving	filemanager	sl	PRekini urejanje %1 brez shranjevanja
+cannot create directory because it begins or ends in a space	filemanager	sl	Ne morem ustvariti mape, ker se njeno ime zaÄne ali konÄa s presledkom.
+cannot replace %1 because it is a directory	filemanager	sl	Ne morem nadomestiti %1, ker je mapa.
+command sucessfully run	filemanager	sl	Ukaz je bil uspeï¿œno izveden.
+comment	filemanager	sl	Komentar
+comments cannot contain "%1"	filemanager	sl	Komentarji ne smejo vsebovati "%1".
+copied %1 to %2	filemanager	sl	%1 prekopirano v %2.
+copy to	filemanager	sl	Kopiraj v
+copy to:	filemanager	sl	Kopiraj v:
+could not copy %1 to %2	filemanager	sl	Ne morem kopirati %1 v %2.
+could not copy file because no destination directory is given	filemanager	sl	Ne morem kopirati datoteke, ker ciljna mapa ni podana.
+could not create %1	filemanager	sl	Ne morem ustvariti %1
+could not create directory %1	filemanager	sl	Ne morem ustvariti mape %1
+could not delete %1	filemanager	sl	Ne morem izbrisati %1
+could not move %1 to %2	filemanager	sl	Ne morem prenesti %1 v %2
+could not move file because no destination directory is given	filemanager	sl	Ne morem prenesti datoteke, ker ciljna mapa ni podana.
+could not rename %1 to %2	filemanager	sl	Ne morem preimenovati %1 v %2
+could not save %1	filemanager	sl	Ne morem shraniti %1
+create file	filemanager	sl	Ustvari datoteko
+create folder	filemanager	sl	Ustvari mapo
+created	filemanager	sl	Ustvarjeno
+created %1	filemanager	sl	Ustvarjen %1
+created %1,%2	filemanager	sl	Ustvarjen %1,%2
+created by	filemanager	sl	Ustvaril
+created directory %1	filemanager	sl	Ustvarjena mapa %1
+date	filemanager	sl	Datum
+default number of upload fields to show	filemanager	sl	Privzeto ï¿œtevilo datotek za prikaz na seznamu
+delete	filemanager	sl	Briï¿œi
+deleted %1	filemanager	sl	Izbrisano %1
+directory	filemanager	sl	Mapa
+directory %1 already exists	filemanager	sl	Mapa %1 ï¿œe obstaja
+directory %1 does not exist	filemanager	sl	Mapa %1 ne obstaja
+directory names cannot contain "%1"	filemanager	sl	Imena map ne smejo vsebovati "%1"
+display attributes	filemanager	sl	Prikaï¿œi atribute
+download	filemanager	sl	Prenesi
+edit	filemanager	sl	Uredi
+edit comments	filemanager	sl	Uredi komentarje
+error running command	filemanager	sl	Napaka pri izvajanju ukaza
+execute	filemanager	sl	Izvedi
+failed to create directory	filemanager	sl	Nisem uspel ustvariti mape
+fake base dir did not exist, egroupware created a new one.	filemanager	sl	Mapa Fake Base Dir ni obstajala, zato je bila ustvarjena nova.
+file	filemanager	sl	Datoteka
+file %1 already exists. please edit it or delete it first.	filemanager	sl	Datoteka %1 ï¿œe obstaja. Prosim, Äe uredite obstojeÄo razliÄico, ali pa jo izbriï¿œete.
+file %1 could not be created.	filemanager	sl	Ne morem ustvariti datoteke %1.
+file name	filemanager	sl	Ime datoteke
+file names cannot contain  or /	filemanager	sl	Imena datotek ne smejo vsebovati \ ali /
+file names cannot contain "%1"	filemanager	sl	Imena datotek ne smejo vsebovati "%1"
+file names cannot contain \ or /	filemanager	sl	Imena datotek ne smejo vsebovati \ ali /
+filemanager	common	sl	Upravljalec datotek
+filemanager preferences	filemanager	sl	Nastavitve Upravljalca datotek
+files	filemanager	sl	Datoteke
+files in this directory	filemanager	sl	Datoteke v mapi
+folder	filemanager	sl	Mapa
+folder up	filemanager	sl	Nadrejena mapa
+go home	filemanager	sl	Pojdi domov
+go to	filemanager	sl	Pojdi na
+go to %1	filemanager	sl	Pojdi na %1
+go to your home directory	filemanager	sl	Pojdi na domaÄo mapo
+go to:	filemanager	sl	Pojdi na:
+go up	filemanager	sl	Pojdi navzgor
+home	filemanager	sl	Domov
+location	filemanager	sl	PoloÅŸaj
+locked	filemanager	sl	Zaklenjen
+mime type	filemanager	sl	MIME tip
+modified	filemanager	sl	Spremenjeno
+modified by	filemanager	sl	Spremenil
+move to	filemanager	sl	Premakni v
+move to:	filemanager	sl	Premakni v:
+moved %1 to %2	filemanager	sl	%1 je bilo premaknjeno v %2
+no files in this directory.	filemanager	sl	V tej mapi ni datotek
+no version history for this file/directory	filemanager	sl	Ni zgodovine razliÄic za to datoteko/mapo.
+operation	filemanager	sl	Operacija
+other settings	filemanager	sl	Druge nastavitve
+owner	filemanager	sl	Lastnik
+please select a file to delete.	filemanager	sl	Prosim, izberite datoteko za brisanje.
+preview %1	filemanager	sl	Predogled %1
+preview of %1	filemanager	sl	Predogled %1
+quick jump to	filemanager	sl	Hiter skok v
+reload	filemanager	sl	Obnovi
+rename	filemanager	sl	Preimenuj
+renamed %1 to %2	filemanager	sl	%1 je bilo preimenovano v %2
+replaced %1	filemanager	sl	Zamenjana %1
+save %1	filemanager	sl	Shrani %1
+save %1, and go back to file listing	filemanager	sl	Shrani %1 in se vrni na seznam datotek
+save all	filemanager	sl	Shrani vse
+save changes	filemanager	sl	Shrani spremembe
+saved %1	filemanager	sl	Shranjen %1
+show	filemanager	sl	Prikaï¿œi
+show ..	filemanager	sl	Prikaï¿œi ..
+show .files	filemanager	sl	Prikaï¿œi .datoteke
+show command line (experimental. dangerous.)	filemanager	sl	Prikaï¿œi ukazno vrstico (POIZKUSNO. NEVARNO.)
+show help	filemanager	sl	Prikaï¿œi pomoÄ
+size	filemanager	sl	Velikost
+sort by:	filemanager	sl	Uredi po:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	sl	LE ZA TESTIRANJE! Prosimo, sporoÄite hroÅ¡Äe in pripombe.
+total files	filemanager	sl	Vseh datotek
+unknown mime-type defaults to text/plain when viewing	filemanager	sl	Neznani MIME tip se pri pregledovanju obravnava kot text/plain
+unused space	filemanager	sl	Neuporabljen prostor
+up	filemanager	sl	Navzgor
+update	filemanager	sl	Osveï¿œi
+updated comment for %1	filemanager	sl	Komentar za %1 je bil osveï¿œen
+upload	filemanager	sl	NaloÅŸi
+upload fields	filemanager	sl	polja za nalaganje
+upload files	filemanager	sl	Naloï¿œi datoteke
+use new experimental filemanager?	filemanager	sl	Uporabljam nov,eksperimentalen FileManager?
+used space	filemanager	sl	Neuporabljen prostor
+users	filemanager	sl	Uporabniki
+version	filemanager	sl	RazliÄica
+view documents in new window	filemanager	sl	Preglej doumente v novem oknu
+view documents on server (if available)	filemanager	sl	Preglej dokument na streï¿œniku (Äe je mogoÄe)
+who	filemanager	sl	Kdo
+you do not have access to %1	filemanager	sl	Nimate dostopa do %1
+your home dir did not exist, egroupware created a new one.	filemanager	sl	VaÅ¡a domaÄa mapa ni obstajala, zato je bila ustvarjena nova.
Index: /sandbox/filemanager/setup/default_records.inc.php
===================================================================
--- /sandbox/filemanager/setup/default_records.inc.php	(revision 1506)
+++ /sandbox/filemanager/setup/default_records.inc.php	(revision 1506)
@@ -0,0 +1,17 @@
+<?php
+  /**************************************************************************\
+  * eGroupWare - Setup                                                       *
+  * http://www.egroupware.org                                                *
+  * --------------------------------------------                             *
+  *  This program is free software; you can redistribute it and/or modify it *
+  *  under the terms of the GNU General Public License as published by the   *
+  *  Free Software Foundation; either version 2 of the License, or (at your  *
+  *  option) any later version.                                              *
+  \**************************************************************************/
+
+  /* $Id: default_records.inc.php 15588 2004-07-02 22:19:56Z ralfbecker $ */
+
+	$oProc->query("INSERT INTO phpgw_vfs (owner_id, createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable, comment, app, directory, name, link_directory, link_name) VALUES (1,0,0,'1970-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','', NULL, NULL)");
+	$oProc->query("INSERT INTO phpgw_vfs (owner_id, createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable, comment, app, directory, name, link_directory, link_name) VALUES (2,0,0,'1970-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','home', NULL, NULL)");
+
+?>
Index: /sandbox/filemanager/setup/phpgw_iw.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_iw.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_iw.lang	(revision 1506)
@@ -0,0 +1,115 @@
+%1 already exists as a file	filemanager	iw	%1 ×××š ×§××× ××§×××¥
+application	filemanager	iw	×××©××
+back to file manager	filemanager	iw	××××š ×× ×× ×× ××§××Š××
+cancel editing %1 without saving	filemanager	iw	××× ×¢×š×××ª %1 ××× ××©×××š
+cannot create directory because it begins or ends in a space	filemanager	iw	×× ×××× ×××Š××š ××ª ×××××Š× ×× ×©×× ××ª××× ×× × ×××š ××š×××
+cannot replace %1 because it is a directory	filemanager	iw	×× ×××× ××××××£ ××ª %1 ×× ××× ××××Š×
+command sucessfully run	filemanager	iw	××š×Š×ª× ××ª ××€×§××× ×××Š×××
+comment	filemanager	iw	××¢×š×
+comments cannot contain "%1"	filemanager	iw	××¢×š× ×× ××××× ××××× "%1"
+copied %1 to %2	filemanager	iw	××¢×ª×§×ª× %1 ×× %2
+copy to	filemanager	iw	××¢×ª×§ ××
+copy to:	filemanager	iw	××¢×ª×§ ××:
+could not copy %1 to %2	filemanager	iw	×× ××Š×××ª× ×××¢×ª××§ ××ª %1 ×× %2
+could not copy file because no destination directory is given	filemanager	iw	×× ×××××ª× ×××¢×ª××§ ××ª ××§×××¥ ×× ×× ×Š×××× ××××Š×ª ××¢×
+could not create %1	filemanager	iw	×× ×××××ª× ×××Š××š %1
+could not create directory %1	filemanager	iw	×× ××Š×××ª× ×××Š××š ××××Š× %1
+could not delete %1	filemanager	iw	×× ××Š×××ª× ×××××§ ××ª %1
+could not move %1 to %2	filemanager	iw	×× ××Š×××ª× ×××¢×××š ××ª %1 ×× %2
+could not move file because no destination directory is given	filemanager	iw	×× ×××××ª× ×××¢×××š ××ª ××§×××¥ ×× ×× ×Š×××× ××××Š×ª ××¢×
+could not rename %1 to %2	filemanager	iw	×× ××Š×××ª× ××©× ××ª ××ª ××©× ×©× %1 ×- %2
+could not save %1	filemanager	iw	×× ××Š×××ª× ××©×××š ××ª %1
+create file	filemanager	iw	×Š××š ×§×××¥
+create folder	filemanager	iw	×Š××š ××××ª×
+created	filemanager	iw	× ××Š×š
+created %1	filemanager	iw	× ××Š×š %1
+created %1,%2	filemanager	iw	× ××Š×š %1, %2
+created by	filemanager	iw	× ××Š×š ×¢× ×××
+created directory %1	filemanager	iw	××Š×š×ª× ××××Š× %1
+date	filemanager	iw	×ª××š××
+default number of upload fields to show	filemanager	iw	××××ª ××××××ª ×©× ×©×××ª ××¢×× ×××Š××
+delete	filemanager	iw	×××§
+deleted %1	filemanager	iw	×××§×ª× %1
+directory	filemanager	iw	××××Š×
+directory %1 already exists	filemanager	iw	××××Š× %1 ×§××××ª ×××š
+directory %1 does not exist	filemanager	iw	××××Š× %1 ×× ×§××××ª
+directory names cannot contain "%1"	filemanager	iw	×©× ×©× ××××Š× ×× ××××× ×××××"%1"
+display attributes	filemanager	iw	×ª××× ××ª ×ª×Š×××
+download	filemanager	iw	×××š×
+edit	filemanager	iw	×¢×š××
+edit comments	filemanager	iw	×¢×š×× ××¢×š××ª
+error running command	filemanager	iw	×©×××× ×××š×Š×ª ××€×§×××
+execute	filemanager	iw	××Š×¢
+failed to create directory	filemanager	iw	× ××©××ª× ×××Š××š×ª ×××××Š×
+fake base dir did not exist, egroupware created a new one.	filemanager	iw	××××Š×ª ××¡××¡ ××××× ×× ×××ª× ×§××××ª, eGroupWare ××Š×š ×××©×.
+file	filemanager	iw	×§×××¥
+file %1 already exists. please edit it or delete it first.	filemanager	iw	××§×××¥ %1 ×§××× ×××š. × × ××¢×š×× ×××ª× ×× ×××§ ×××ª× ×§×××.
+file %1 could not be created.	filemanager	iw	×× ××ª×××ª× ×××Š××š ××ª ××§×××¥ %1.
+file name	filemanager	iw	×©× ××§×××¥
+file names cannot contain "%1"	filemanager	iw	×©×××ª ×§××Š×× ×× ×××××× ××××× "%1"
+file names cannot contain \ or /	filemanager	iw	×©×××ª ×§××Š×× ×× ×××××× ××××× \ ×× /
+filemanager	common	iw	×× ×× ××§××Š××
+filemanager preferences	filemanager	iw	×¢×××€××××ª ×©× ×× ×× ××§××Š××
+files	filemanager	iw	×§××Š××
+files in this directory	filemanager	iw	×§××Š×× ×××××Š× ××
+folder	filemanager	iw	××××Š×
+folder up	filemanager	iw	××××Š× ×××¢××
+go home	filemanager	iw	×× ××××ª×
+go to	filemanager	iw	×× ××
+go to %1	filemanager	iw	×× ×-%1
+go to your home directory	filemanager	iw	×× ×× ×¡×€×š××ª ××××ª ×©××
+go to:	filemanager	iw	×× ××:
+go up	filemanager	iw	×× ×××¢××
+home	filemanager	iw	×××ª
+location	filemanager	iw	×××§××
+locked	filemanager	iw	× ×¢××
+mime type	filemanager	iw	×¡×× MIME
+modified	filemanager	iw	×©×× ×
+modified by	filemanager	iw	×©×× × ×¢"×
+move to	filemanager	iw	××¢××š  ××
+move to:	filemanager	iw	××¢××š ××:
+moved %1 to %2	filemanager	iw	××¢××š×ª× %1 ×× %2;
+no files in this directory.	filemanager	iw	××× ×§××Š×× ×××××Š× ××
+no version history for this file/directory	filemanager	iw	××× ×××¡×××š×× ×©× ×××š×¡×××ª ×¢×××š ×§×××¥/××××Š× ××
+operation	filemanager	iw	×€×¢×××
+other settings	filemanager	iw	××××š××ª × ××¡×€××ª
+owner	filemanager	iw	××¢×××
+please select a file to delete.	filemanager	iw	× × ×××××š ×§×××¥ ×××××§
+preview %1	filemanager	iw	×ª×Š××× ××§×××× ×©× %1
+preview of %1	filemanager	iw	×ª×Š××× ××§×××× ×©× %1
+quick jump to	filemanager	iw	×§×××Š× ××××š× ××
+reload	filemanager	iw	××¢× ××××©
+rename	filemanager	iw	×©× × ×©×
+renamed %1 to %2	filemanager	iw	×©×× ×ª× ××ª ×©× %1 ×- %2
+replaced %1	filemanager	iw	××××€×ª× ××ª %1
+save %1	filemanager	iw	×©×××š %1
+save %1, and go back to file listing	filemanager	iw	×©×××š %1, ×××××š ×× ×š×©×××ª ××§××Š××
+save all	filemanager	iw	×©×××š ×××
+save changes	filemanager	iw	×©×××š ×©×× ×××
+saved %1	filemanager	iw	×©××š×ª× %1
+show	filemanager	iw	××Š×
+show ..	filemanager	iw	××Š× ..
+show .files	filemanager	iw	××Š× .×§××Š××
+show command line (experimental. dangerous.)	filemanager	iw	××Š× ×©××š×ª ××€×§××××ª (× ×¡××× ×. ××¡×××)
+show help	filemanager	iw	××Š× ×¢××š×
+size	filemanager	iw	××××
+sort by:	filemanager	iw	×××× ××€×:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	iw	×× ×× ××§××Š×× ××¢×ª×××, ××š××¢ ××Š××š×× ×××× × ××××. × × ××©××× ×××××× ××××.
+total files	filemanager	iw	×¡× ×× ××§××Š××
+unknown mime-type defaults to text/plain when viewing	filemanager	iw	×¡×× MIME ×× ××××š ××Š× ×-text/plain
+unused space	filemanager	iw	××§×× ×€× ××
+up	filemanager	iw	×××¢××
+update	filemanager	iw	×¢×××
+updated comment for %1	filemanager	iw	××¢×š× ××¢×××× ×ª ×¢×××š %1
+upload	filemanager	iw	××¢××
+upload fields	filemanager	iw	×©×××ª ××¢××
+upload files	filemanager	iw	××¢×× ×§××Š××
+use new experimental filemanager?	filemanager	iw	×××©×ª××© ××× ×× ××§××Š×× ×× ×¡××× × ××××©?
+used space	filemanager	iw	××§×× ××©××××©
+users	filemanager	iw	××©×ª×©×××
+version	filemanager	iw	×××š×¡×
+view documents in new window	filemanager	iw	××Š× ××¡×××× ××××× ×××©
+view documents on server (if available)	filemanager	iw	××Š× ××¡×××× ××©×š×ª (×× ××××)
+who	filemanager	iw	××
+you do not have access to %1	filemanager	iw	××× ×× ×××©× ×× %1
+your home dir did not exist, egroupware created a new one.	filemanager	iw	××××Š×ª ××××ª ×©×× ×× ×××ª× ×§××××ª, eGroupWare ××Š×š ×× ×××©×.
Index: /sandbox/filemanager/setup/phpgw_zh.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_zh.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_zh.lang	(revision 1506)
@@ -0,0 +1,130 @@
+%1 already exists as a file	filemanager	zh	æä»¶%1å·²å­åš
+application	filemanager	zh	åºçšçšåº
+back to file manager	filemanager	zh	è¿åçœäžæä»¶æ
+cancel editing %1 without saving	filemanager	zh	åæ¶çŒèŸ%1, äžä¿å­
+cannot create directory because it begins or ends in a space	filemanager	zh	æ æ³åå»ºç®åœ, ç®åœååŒå€Žææ«å°ŸäžèœåžŠæç©ºæ Œ
+cannot replace %1 because it is a directory	filemanager	zh	%1æ¯ç®åœ, æ æ³è¢«æ¿æ¢
+command sucessfully run	filemanager	zh	åœä»€æ§è¡æå
+comment	filemanager	zh	æ³šé
+comments cannot contain "%1"	filemanager	zh	æ³šéäžèœå
+å«"%1"
+copied %1 to %2	filemanager	zh	%1å·²å€å¶å°%2
+copy to	filemanager	zh	å€å¶å°
+copy to:	filemanager	zh	å€å¶å°
+could not copy %1 to %2	filemanager	zh	æ æ³å°%1å€å¶å°%2
+could not create %1	filemanager	zh	æ æ³åå»º%1
+could not create directory %1	filemanager	zh	æ æ³åå»ºç®åœ%1
+could not delete %1	filemanager	zh	æ æ³å é€%1
+could not move %1 to %2	filemanager	zh	æ æ³å°%1ç§»åšå°%2
+could not rename %1 to %2	filemanager	zh	æ æ³å°%1éåœåäžº%2
+could not save %1	filemanager	zh	æ æ³ä¿å­%1
+could not copy file because no destination directory is given	filemanager	zh	æ æ³å€å¶æä»¶ïŒå äžºæ²¡æç®æ æä»¶å€¹
+could not move file because no destination directory is given	filemanager	zh	æ æ³ç§»åšæä»¶ïŒå äžºæ²¡æç®æ æä»¶å€¹
+create file	filemanager	zh	åå»ºæä»¶
+create folder	filemanager	zh	åå»ºæä»¶å€¹
+created	filemanager	zh	å·²åå»º
+created %1	filemanager	zh	%1å·²åå»º
+created %1,%2	filemanager	zh	%1,%2å·²åå»º
+created by	filemanager	zh	åå»ºè
+
+created directory %1	filemanager	zh	ç®åœ%1å·²åå»º
+date	filemanager	zh	æ¥æ
+default number of upload fields to show	filemanager	zh	é»è®€äžäŒ åºåæ°
+delete	filemanager	zh	å é€
+deleted %1	filemanager	zh	%1å é€
+directory	filemanager	zh	ç®åœ
+directory %1 already exists	filemanager	zh	ç®åœ%1å·²å­åš
+directory %1 does not exist	filemanager	zh	ç®åœ%1äžå­åš
+directory names cannot contain "%1"	filemanager	zh	ç®åœåäžèœå
+å«"%1"
+display attributes	filemanager	zh	æŸç€ºåªäºæä»¶å±æ§
+download	filemanager	zh	äžèœœ
+edit	filemanager	zh	çŒèŸ
+edit comments	filemanager	zh	çŒèŸæ³šé
+error running command	filemanager	zh	åœä»€æ§è¡åºé
+execute	filemanager	zh	æ§è¡
+failed to create directory	filemanager	zh	åå»ºç®åœå€±èŽ¥
+fake base dir did not exist, egroupware created a new one.	filemanager	zh	åå§æ ¹ç®åœäžå­åšïŒeGroupWareåå»ºäºäžäžªæ°çã
+file	filemanager	zh	æä»¶
+file %1 already exists. please edit it or delete it first.	filemanager	zh	æä»¶%1å·²å­åš, è¯·å
+çŒèŸæå é€å®.
+file %1 could not be created.	filemanager	zh	æä»¶ %1 äžèœåå»º.
+file name	filemanager	zh	æä»¶å
+file names cannot contain "%1"	filemanager	zh	æä»¶åäžèœå
+å«"%1"
+file names cannot contain \ or /	filemanager	zh	æä»¶åäžèœå
+å«\æ/
+files in this directory	filemanager	zh	ç®åœäž­çæä»¶
+filemanager	common	zh	çœäžæä»¶æ
+filemanager preferences	filemanager	zh	éŠéé¡¹
+files	filemanager	zh	æä»¶
+files is this directory	filemanager	zh	æä»¶æ»æ°
+folder	filemanager	zh	æä»¶å€¹
+folder up	filemanager	zh	åäž
+go home	filemanager	zh	è¿åéŠé¡µ
+go to	filemanager	zh	è·³èœ¬å°
+go to %1	filemanager	zh	è·³èœ¬å°%1
+go to your home directory	filemanager	zh	è·³èœ¬å°äž»ç®åœ
+go to:	filemanager	zh	è·³èœ¬å°:
+go up	filemanager	zh	åäž
+home	filemanager	zh	äž»é¡µé¢
+location	filemanager	zh	äœçœ®
+locked	filemanager	zh	å·²éå®
+mime type	filemanager	zh	MIMEç±»å
+modified	filemanager	zh	å·²ä¿®æ¹
+modified by	filemanager	zh	ä¿®æ¹è
+
+move to	filemanager	zh	ç§»åšå°
+move to:	filemanager	zh	ç§»åšå°:
+moved %1 to %2	filemanager	zh	%1å·²ç§»åšå°%2
+no files in this directory.	filemanager	zh	è¯¥ç®åœäžºç©º.
+no version history for this file/directory	filemanager	zh	è¯¥æä»¶/æä»¶å€¹æ çæ¬åå²
+operation	filemanager	zh	æäœ
+other settings	filemanager	zh	å
+¶ä»è®Ÿçœ®
+owner	filemanager	zh	ææè
+
+please select a file to delete.	filemanager	zh	è¯·éæ©åŸ
+å é€æä»¶.
+preferences old	preferences	zh	éŠéé¡¹
+preview %1	filemanager	zh	é¢è§%1
+preview of %1	filemanager	zh	%1çé¢è§
+quick jump to	filemanager	zh	å¿«éåæ¢
+reload	filemanager	zh	éæ°èœœå
+¥
+rename	filemanager	zh	éåœå
+renamed %1 to %2	filemanager	zh	 %1å·²éåœåäžº%2
+replaced %1	filemanager	zh	%1å·²æ¿æ¢
+save %1	filemanager	zh	ä¿å­%1
+save %1, and go back to file listing	filemanager	zh	ä¿å­%1å¹¶è¿åæä»¶åè¡š
+save all	filemanager	zh	å
+šéšä¿å­
+save changes	filemanager	zh	ä¿å­æŽæ¹
+saved %1	filemanager	zh	%1å·²ä¿å­
+show	filemanager	zh	æŸç€º
+show ..	filemanager	zh	æŸç€ºäžçº§ç®åœ
+show .files	filemanager	zh	æŸç€º.æä»¶
+show command line (experimental. dangerous.)	filemanager	zh	æŸç€ºåœä»€è¡(æ¬åèœå°åšæµè¯é¶æ®µ)
+show help	filemanager	zh	æŸç€ºæç€ºä¿¡æ¯
+size	filemanager	zh	å€§å°
+sort by:	filemanager	zh	æåºæ¹åŒ
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	zh	çœäžæä»¶æåç»ç, ä»
+çšäºæµè¯, æ¬¢è¿æ¥åBug.
+total files	filemanager	zh	æææä»¶
+unknown mime-type defaults to text/plain when viewing	filemanager	zh	ä»¥ææ¬æ¹åŒæ¥çæªç¥mimeç±»åçæä»¶
+unused space	filemanager	zh	å¯çšç©ºéŽ
+up	filemanager	zh	äžçº§ç®åœ
+update	filemanager	zh	æŽæ°
+updated comment for %1	filemanager	zh	%1çæ³šéå·²æŽæ°
+upload	filemanager	zh	äžäŒ 
+upload fields	filemanager	zh	äžäŒ åºå
+upload files	filemanager	zh	äžäŒ æä»¶
+use new experimental filemanager?	filemanager	zh	æ¯åŠäœ¿çšçœäžæä»¶æåç»ç?
+used space	filemanager	zh	å·²çšç©ºéŽ
+users	filemanager	zh	çšæ·
+version	filemanager	zh	çæ¬
+view documents in new window	filemanager	zh	æåŒæ°çªå£ä»¥æ¥çææ¡£
+view documents on server (if available)	filemanager	zh	å¯èœçè¯, åšæå¡åšäžæ¥çææ¡£
+who	filemanager	zh	è°
+you do not have access to %1	filemanager	zh	æ æè®¿é®%1
+your home dir did not exist, egroupware created a new one.	filemanager	zh	æšçäžªäººç®åœäžå­åšïŒeGroupWareåå»ºäºäžäžªæ°çã
Index: /sandbox/filemanager/setup/phpgw_pt.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_pt.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_pt.lang	(revision 1506)
@@ -0,0 +1,94 @@
+%1 already exists as a file	filemanager	pt	%1 já existe como um arquivo
+application	filemanager	pt	Aplicação
+back to file manager	filemanager	pt	Voltar ao Gerenciador de Arquivos
+cannot create directory because it begins or ends in a space	filemanager	pt	Não é possível criar a pasta porque seu nome inicia ou termina em espaço em branco
+cannot replace %1 because it is a directory	filemanager	pt	Não é possível subtituir %1 porque é uma pasta
+command sucessfully run	filemanager	pt	Comando executado com sucesso
+comment	filemanager	pt	Comentário
+comments cannot contain "%1"	filemanager	pt	Comentários não podem conter "%1"
+copied %1 to %2	filemanager	pt	Copiado %1 para %2
+copy to	filemanager	pt	Copiar Para
+copy to:	filemanager	pt	Copiar para:
+could not copy %1 to %2	filemanager	pt	Não foi possível copiar %1 para %2
+could not create directory %1	filemanager	pt	Não foi possível criar a pasta %1
+could not create %1	filemanager	pt	Não foi possível criar %1
+could not delete %1	filemanager	pt	Não foi possível remover %1
+could not move %1 to %2	filemanager	pt	Não foi possível mover %1 para %2
+could not rename %1 to %2	filemanager	pt	Não foi possível renomear %1 para %2
+could not save %1	filemanager	pt	Não foi possível salvar %1
+create file	filemanager	pt	Criar Arquivo
+create folder	filemanager	pt	Criar Pasta
+created	filemanager	pt	Criado
+created by	filemanager	pt	Criado por
+created directory %1	filemanager	pt	Criada pasta %1
+created %1	filemanager	pt	Criado %1
+date	filemanager	pt	Data
+default number of upload fields to show	filemanager	pt	Padrão para o número de campos de envio de arquivos a exibir
+delete	filemanager	pt	Remover
+deleted %1	filemanager	pt	Removido %1
+directory	filemanager	pt	Pasta
+directory names cannot contain "%1"	filemanager	pt	Nomes de pastas não podem conter "%1"
+directory %1 already exists	filemanager	pt	Pasta %1 já existe
+directory %1 does not exist	filemanager	pt	Pasta %1 não existe
+display attributes	filemanager	pt	Exibir atributos
+download	filemanager	pt	Download
+edit	filemanager	pt	Editar
+edit comments	filemanager	pt	Editar Comentários
+error running command	filemanager	pt	Erro executando comando
+execute	filemanager	pt	Executar
+failed to create directory	filemanager	pt	falhou ao criar pasta
+file	filemanager	pt	Arquivo
+file name	filemanager	pt	Nome do Arquivo
+file names cannot contain "%1"	filemanager	pt	Nomes de arquivos não podem conter "%1"
+file names cannot contain \ or /	filemanager	pt	Nomes de arquivos não podem conter \ ou /
+file %1 already exists. please edit it or delete it first.	filemanager	pt	Arquivo %1 já existe. Por favor edite-o ou remova-o antes.
+file %1 could not be created.	filemanager	pt	Arquivo %1 não pôde ser criado.
+files	filemanager	pt	Arquivos
+folder	filemanager	pt	Pasta
+go to	filemanager	pt	Ir Para
+go to %1	filemanager	pt	Ir para %1
+go to your home directory	filemanager	pt	Ir para sua pasta Home
+go to:	filemanager	pt	Ir para:
+home	filemanager	pt	Home
+locked	filemanager	pt	Travado
+mime type	filemanager	pt	Tipo MIME
+modified	filemanager	pt	Modificado
+modified by	filemanager	pt	Modificado por
+move to	filemanager	pt	Mover Para
+move to:	filemanager	pt	Mover para:
+moved %1 to %2	filemanager	pt	Movido %1 para %2
+no version history for this file/directory	filemanager	pt	Sem histórico de versão para este arquivo/pasta
+operation	filemanager	pt	Operação
+owner	filemanager	pt	Dono
+filemanager preferences	filemanager	pt	Preferências para Gerenciador de Arquivos
+preview of %1	filemanager	pt	Visualizar %1
+preview %1	filemanager	pt	Visualizar %1
+rename	filemanager	pt	Renomear
+renamed %1 to %2	filemanager	pt	Renomeado %1 para %2
+replaced %1	filemanager	pt	Substituído %1
+save all	filemanager	pt	Salvar tudo
+save %1	filemanager	pt	Salvar %1
+saved %1	filemanager	pt	Salvo %1
+show	filemanager	pt	Exibir
+show ..	filemanager	pt	Exibir ..
+show .files	filemanager	pt	Exibir arquivos cujos nomes iniciam por um ponto
+show command line (experimental. dangerous.)	filemanager	pt	Exibir linha de comando (EXPERIMENTAL. PERIGOSO.)
+show help	filemanager	pt	Exibir ajuda
+size	filemanager	pt	Tamanho
+sort by:	filemanager	pt	Ordenar por:
+total files	filemanager	pt	Total de Arquivos
+unknown mime-type defaults to text/plain when viewing	filemanager	pt	Tipos MIME desconhecidos são visualizados como text/plain por padrão
+unused space	filemanager	pt	Espaço Não Usado
+unused space:	filemanager	pt	Espaço Não Usado:
+up	filemanager	pt	Acima
+update	filemanager	pt	Atualizar
+updated comment for %1	filemanager	pt	Comentário atualizado para %1
+upload fields	filemanager	pt	campos de envio de arquivos
+upload files	filemanager	pt	Enviar Arquivos
+used space	filemanager	pt	Espaço Usado
+users	filemanager	pt	Usuários
+version	filemanager	pt	Versão
+view documents in new window	filemanager	pt	Visualizar documentos em uma nova janela
+view documents on server (if available)	filemanager	pt	Visualizar documentos no servidor (se disponível)
+who	filemanager	pt	Quem
+you do not have access to %1	filemanager	pt	Você não tem acesso a %1
Index: /sandbox/filemanager/setup/phpgw_pt-br.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_pt-br.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_pt-br.lang	(revision 1506)
@@ -0,0 +1,115 @@
+%1 already exists as a file	filemanager	pt-br	%1 já existe como um arquivo
+application	filemanager	pt-br	Aplicação
+back to file manager	filemanager	pt-br	Voltar ao Gerenciador de Arquivos
+cancel editing %1 without saving	filemanager	pt-br	Cancelar edição %1 sem salvar
+cannot create directory because it begins or ends in a space	filemanager	pt-br	Não é possível criar a pasta porque seu nome inicia ou termina em espaço em branco
+cannot replace %1 because it is a directory	filemanager	pt-br	Não é possível subtituir %1 porque é uma pasta
+command sucessfully run	filemanager	pt-br	Comando executado com sucesso
+comment	filemanager	pt-br	Comentário
+comments cannot contain "%1"	filemanager	pt-br	Comentários não podem conter "%1"
+copied %1 to %2	filemanager	pt-br	Copiado %1 para %2
+copy to	filemanager	pt-br	Copiar Para
+copy to:	filemanager	pt-br	Copiar para:
+could not copy %1 to %2	filemanager	pt-br	Não foi possível copiar %1 para %2
+could not copy file because no destination directory is given	filemanager	pt-br	Não foi possível copiar o arquivo porque não se definiu um diretório de destino
+could not create %1	filemanager	pt-br	Não foi possível criar %1
+could not create directory %1	filemanager	pt-br	Não foi possível criar a pasta %1
+could not delete %1	filemanager	pt-br	Não foi possível remover %1
+could not move %1 to %2	filemanager	pt-br	Não foi possível mover %1 para %2
+could not move file because no destination directory is given	filemanager	pt-br	Não foi possível mover o arquivo porque não se definiu um diretório de destino
+could not rename %1 to %2	filemanager	pt-br	Não foi possível renomear %1 para %2
+could not save %1	filemanager	pt-br	Não foi possível salvar %1
+create file	filemanager	pt-br	Criar Arquivo
+create folder	filemanager	pt-br	Criar Pasta
+created	filemanager	pt-br	Criado
+created %1	filemanager	pt-br	Criado %1
+created %1,%2	filemanager	pt-br	Criado %1, %2
+created by	filemanager	pt-br	Criado por
+created directory %1	filemanager	pt-br	Criada pasta %1
+date	filemanager	pt-br	Data
+default number of upload fields to show	filemanager	pt-br	Padrão para o número de campos de envio de arquivos a exibir
+delete	filemanager	pt-br	Remover
+deleted %1	filemanager	pt-br	Removido %1
+directory	filemanager	pt-br	Pasta
+directory %1 already exists	filemanager	pt-br	Pasta %1 já existe
+directory %1 does not exist	filemanager	pt-br	Pasta %1 não existe
+directory names cannot contain "%1"	filemanager	pt-br	Nomes de pastas não podem conter "%1"
+display attributes	filemanager	pt-br	Exibir atributos
+download	filemanager	pt-br	Download
+edit	filemanager	pt-br	Editar
+edit comments	filemanager	pt-br	Editar Comentários
+error running command	filemanager	pt-br	Erro executando comando
+execute	filemanager	pt-br	Executar
+failed to create directory	filemanager	pt-br	falhou ao criar pasta
+fake base dir did not exist, egroupware created a new one.	filemanager	pt-br	Diretório Base não existia, eGroupWare criou um novo.
+file	filemanager	pt-br	Arquivo
+file %1 already exists. please edit it or delete it first.	filemanager	pt-br	Arquivo %1 já existe. Por favor edite-o ou remova-o antes.
+file %1 could not be created.	filemanager	pt-br	Arquivo %1 não pôde ser criado.
+file name	filemanager	pt-br	Nome do Arquivo
+file names cannot contain "%1"	filemanager	pt-br	Nomes de arquivos não podem conter "%1"
+file names cannot contain \ or /	filemanager	pt-br	Nomes de arquivos não podem conter \ ou /
+filemanager	common	pt-br	Gerenciador de Arquivos
+filemanager preferences	filemanager	pt-br	Preferências para Gerenciador de Arquivos
+files	filemanager	pt-br	Arquivos
+files in this directory	filemanager	pt-br	Arquivos nesse diretório
+folder	filemanager	pt-br	Pasta
+folder up	filemanager	pt-br	Diretório Acima
+go home	filemanager	pt-br	ir para página principal
+go to	filemanager	pt-br	Ir Para
+go to %1	filemanager	pt-br	Ir para %1
+go to your home directory	filemanager	pt-br	Ir para sua pasta Home
+go to:	filemanager	pt-br	Ir para:
+go up	filemanager	pt-br	subir
+home	filemanager	pt-br	Início
+location	filemanager	pt-br	Local
+locked	filemanager	pt-br	Travado
+mime type	filemanager	pt-br	Tipo MIME
+modified	filemanager	pt-br	Modificado
+modified by	filemanager	pt-br	Modificado por
+move to	filemanager	pt-br	Mover Para
+move to:	filemanager	pt-br	Mover para:
+moved %1 to %2	filemanager	pt-br	Movido %1 para %2
+no files in this directory.	filemanager	pt-br	Nenhum arquivo nesse diretório
+no version history for this file/directory	filemanager	pt-br	Sem histórico de versão para este arquivo/pasta
+operation	filemanager	pt-br	Operação
+other settings	filemanager	pt-br	Outras configurações
+owner	filemanager	pt-br	Dono
+please select a file to delete.	filemanager	pt-br	Por favor selecione um arquivo para excluir
+preview %1	filemanager	pt-br	Visualizar %1
+preview of %1	filemanager	pt-br	Visualizar %1
+quick jump to	filemanager	pt-br	Atalho para:
+reload	filemanager	pt-br	recarregar
+rename	filemanager	pt-br	Renomear
+renamed %1 to %2	filemanager	pt-br	Renomeado %1 para %2
+replaced %1	filemanager	pt-br	Substituído %1
+save %1	filemanager	pt-br	Salvar %1
+save %1, and go back to file listing	filemanager	pt-br	Salvar %1, e voltar para listagem dos arquivos
+save all	filemanager	pt-br	Salvar tudo
+save changes	filemanager	pt-br	Salvar modificações
+saved %1	filemanager	pt-br	Salvo %1
+show	filemanager	pt-br	Exibir
+show ..	filemanager	pt-br	Exibir ..
+show .files	filemanager	pt-br	Exibir arquivos cujos nomes iniciam por um ponto
+show command line (experimental. dangerous.)	filemanager	pt-br	Exibir linha de comando (EXPERIMENTAL. PERIGOSO.)
+show help	filemanager	pt-br	Exibir ajuda
+size	filemanager	pt-br	Tamanho
+sort by:	filemanager	pt-br	Ordenar por:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	pt-br	Futuro gerenciador de arquivos, agora para PROPÓSITOS DE TESTES APENAS, por favor envie relatórios de erro.
+total files	filemanager	pt-br	Total de Arquivos
+unknown mime-type defaults to text/plain when viewing	filemanager	pt-br	Tipos MIME desconhecidos são visualizados como text/plain por padrão
+unused space	filemanager	pt-br	Espaço Não Usado
+up	filemanager	pt-br	Acima
+update	filemanager	pt-br	Atualizar
+updated comment for %1	filemanager	pt-br	Comentário atualizado para %1
+upload	filemanager	pt-br	Carregar
+upload fields	filemanager	pt-br	campos de envio de arquivos
+upload files	filemanager	pt-br	Enviar Arquivos
+use new experimental filemanager?	filemanager	pt-br	Usar o novo Gerenciador de Arquivos experimental?
+used space	filemanager	pt-br	Espaço Usado
+users	filemanager	pt-br	Usuários
+version	filemanager	pt-br	Versão
+view documents in new window	filemanager	pt-br	Visualizar documentos em uma nova janela
+view documents on server (if available)	filemanager	pt-br	Visualizar documentos no servidor (se disponível)
+who	filemanager	pt-br	Quem
+you do not have access to %1	filemanager	pt-br	Você não tem acesso a %1
+your home dir did not exist, egroupware created a new one.	filemanager	pt-br	Seu Diretório Home não existia, eGroupWare criou um novo.
Index: /sandbox/filemanager/setup/phpgw_da.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_da.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_da.lang	(revision 1506)
@@ -0,0 +1,116 @@
+%1 already exists as a file	filemanager	da	%1 eksistere allerede som fil
+application	filemanager	da	Applikation
+back to file manager	filemanager	da	Tilbage til fil håndteringen
+cancel editing %1 without saving	filemanager	da	annullere redigéring af %1 uden at gemme
+cannot create directory because it begins or ends in a space	filemanager	da	Kan ikke oprette biblioteket fordi den begynder eller slutter med et mellemrum
+cannot replace %1 because it is a directory	filemanager	da	Kan ikke erstatte %1 da det er et biblioteket
+command sucessfully run	filemanager	da	Kommandoen afsluttede med succes
+comment	filemanager	da	Kommentar
+comments cannot contain "%1"	filemanager	da	Kommentaren kan ikke indeholde "%1"
+copied %1 to %2	filemanager	da	Kopieret %1 til %2
+copy to	filemanager	da	Kopier til
+copy to:	filemanager	da	Kopier til:
+could not copy %1 to %2	filemanager	da	Kunne ikke kopiere %1 til %2
+could not copy file because no destination directory is given	filemanager	da	Kunne ikke kopiere fil fordi ingen destniations bibliotek er angivet
+could not create %1	filemanager	da	Kunne ikke oprette %1
+could not create directory %1	filemanager	da	Kunne ikke oprette biblioteket %1
+could not delete %1	filemanager	da	Kunne ikke slette %1
+could not move %1 to %2	filemanager	da	Kunne ikke flytte %1 til %2
+could not move file because no destination directory is given	filemanager	da	Kunne ikke flytte fil fordi ingen destniations bibliotek er angivet
+could not rename %1 to %2	filemanager	da	Kunne ikke omdøbe %1 til %2
+could not save %1	filemanager	da	Kunne ikke gemme %1
+create file	filemanager	da	Opret fil
+create folder	filemanager	da	Opret bibliotek
+created	filemanager	da	Oprettet
+created %1	filemanager	da	Oprettede %1
+created %1,%2	filemanager	da	Oprettede %1, %2
+created by	filemanager	da	Oprettet af
+created directory %1	filemanager	da	Oprettede biblioteket %1
+date	filemanager	da	Dato
+default number of upload fields to show	filemanager	da	Antal af upload felter at vise som standart
+delete	filemanager	da	Slet
+deleted %1	filemanager	da	Slettede %1
+directory	filemanager	da	Bibliotek
+directory %1 already exists	filemanager	da	Biblioteket %1 findes eksistere allerede
+directory %1 does not exist	filemanager	da	Biblioteket %1 eksistere ikke
+directory names cannot contain "%1"	filemanager	da	Biblioteknavne må ikke indeholde "%1"
+display attributes	filemanager	da	Vis attributter
+download	filemanager	da	Hent
+edit	filemanager	da	Redigér
+edit comments	filemanager	da	Redigér kommentar
+error running command	filemanager	da	Kommandoen afsluttede med fejl
+execute	filemanager	da	Eksekvere
+failed to create directory	filemanager	da	Kunne ikke oprette biblioteket
+fake base dir did not exist, egroupware created a new one.	filemanager	da	Fake Base Dir fandtes ikke, eGroupWare oprettede en ny.
+file	filemanager	da	Fil
+file %1 already exists. please edit it or delete it first.	filemanager	da	Filen %1 eksistere allerede. Ændre eller slet filen først
+file %1 could not be created.	filemanager	da	Filen %1 kunne ikke oprettes.
+file name	filemanager	da	Filnavn
+file names cannot contain  or /	filemanager	da	Filnavne kan ikke indeholde \ eller /
+file names cannot contain "%1"	filemanager	da	Filnavne kan ikke indeholde "%1"
+file names cannot contain \ or /	filemanager	da	Filnavne kan ikke indeholde / eller \
+filemanager	common	da	Filhåndtering
+filemanager preferences	filemanager	da	Filhåndtering
+files	filemanager	da	Filer
+files in this directory	filemanager	da	Filer i dette bibliotek
+folder	filemanager	da	Bibliotek
+folder up	filemanager	da	Bibliotek op
+go home	filemanager	da	gå hjem
+go to	filemanager	da	Gå til
+go to %1	filemanager	da	Gå til %1
+go to your home directory	filemanager	da	Gå til hjemmebibliotek
+go to:	filemanager	da	Gå til:
+go up	filemanager	da	gå op
+home	filemanager	da	Hjem
+location	filemanager	da	Sti
+locked	filemanager	da	Låst
+mime type	filemanager	da	MIME type
+modified	filemanager	da	Ændret
+modified by	filemanager	da	Ændret af
+move to	filemanager	da	Flyt til
+move to:	filemanager	da	Flyt til:
+moved %1 to %2	filemanager	da	Flyttede %1 til %2
+no files in this directory.	filemanager	da	Ingen filer i dette bibliotek.
+no version history for this file/directory	filemanager	da	Ingen versions historie for denne fil/bibliotek
+operation	filemanager	da	Operation
+other settings	filemanager	da	Andre indstillinger
+owner	filemanager	da	Ejer
+please select a file to delete.	filemanager	da	Vælg venligst filen som skal slettes.
+preview %1	filemanager	da	Snig kik %1
+preview of %1	filemanager	da	Snig kik af %1
+quick jump to	filemanager	da	Hop til
+reload	filemanager	da	opdater
+rename	filemanager	da	Omdøb
+renamed %1 to %2	filemanager	da	Omdøbte %1 til %2
+replaced %1	filemanager	da	%1 erstattet
+save %1	filemanager	da	Gem %1
+save %1, and go back to file listing	filemanager	da	Gem %1, og gå tilbage til fil visning
+save all	filemanager	da	Gem alle
+save changes	filemanager	da	Gem ændringer
+saved %1	filemanager	da	%1 gemt
+show	filemanager	da	Vis
+show ..	filemanager	da	Vis ..
+show .files	filemanager	da	Vis .filer
+show command line (experimental. dangerous.)	filemanager	da	Vis kommando prompt (EKSPERIMENTAL & FARLIG)
+show help	filemanager	da	Vis hjælp
+size	filemanager	da	Størrelse
+sort by:	filemanager	da	Sorter efter:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	da	Fremtidens Filhåndtering, kun til eksperimenterende brug, send venligst bugreports.
+total files	filemanager	da	Antal filer
+unknown mime-type defaults to text/plain when viewing	filemanager	da	Hvis ukendt MIME type, vis standart som alm/tekst
+unused space	filemanager	da	Ubrugt plads
+up	filemanager	da	Op
+update	filemanager	da	Opdater
+updated comment for %1	filemanager	da	Opdaterede %1 kommentaren
+upload	filemanager	da	Upload
+upload fields	filemanager	da	upload felter
+upload files	filemanager	da	Upload filer
+use new experimental filemanager?	filemanager	da	Brug ny eksperimenterende Filehåndtering?
+used space	filemanager	da	Brugt plads
+users	filemanager	da	Brugere
+version	filemanager	da	Version
+view documents in new window	filemanager	da	Se dokumenter i nyt vindue
+view documents on server (if available)	filemanager	da	Vi dokumenter på server (hvis tilgængelig)
+who	filemanager	da	Hvem
+you do not have access to %1	filemanager	da	Du har ikke adgang til %1
+your home dir did not exist, egroupware created a new one.	filemanager	da	Dit hjemme bibliotek fandtes ikke, eGroupWare har oprette en ny til dig.
Index: /sandbox/filemanager/setup/phpgw_ru.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_ru.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_ru.lang	(revision 1506)
@@ -0,0 +1,49 @@
+application	filemanager	ru	ðÒÉÌÏÖÅÎÉÅ
+comment	filemanager	ru	ëÏÍÍÅÎÔÁÒÉÊ
+copy to	filemanager	ru	ëÏÐÉÒÏ×ÁÔØ ÷
+copy to:	filemanager	ru	ëÏÐÉÒÏ×ÁÔØ ×:
+create file	filemanager	ru	óÏÚÄÁÔØ ÆÁÊÌ
+create folder	filemanager	ru	óÏÚÄÁÔØ ÐÁÐËÕ
+date	filemanager	ru	äÁÔÁ
+delete	filemanager	ru	õÄÁÌÉÔØ
+display attributes	filemanager	ru	ïÔÏÂÒÁÖÁÅÍÙÅ ÁÔÒÉÂÕÔÙ
+download	filemanager	ru	óËÁÞÁÔØ
+edit	filemanager	ru	òÅÄÁËÔÉÒÏ×ÁÔØ
+edit comments	filemanager	ru	òÅÄÁËÔÉÒÏ×ÁÔØ ËÏÍÍÅÎÔÁÒÉÉ
+file	filemanager	ru	æÁÊÌ
+file name	filemanager	ru	éÍÑ æÁÊÌÁ
+filemanager	common	ru	íÅÎÅÄÖÅÒ æÁÊÌÏ×
+filemanager preferences	filemanager	ru	îÁÓÔÒÏÊËÉ íÅÎÅÄÖÅÒÁ æÁÊÌÏ×
+files	filemanager	ru	æÁÊÌÙ
+files in this directory	filemanager	ru	æÁÊÌÙ × ÄÁÎÎÏÊ ÄÉÒÅËÔÏÒÉÉ
+folder	filemanager	ru	ðÁÐËÁ
+folder up	filemanager	ru	îÁ ÕÒÏ×ÅÎØ ××ÅÒÈ
+go home	filemanager	ru	× ÄÏÍÁÛÎÉÊ ËÁÔÁÌÏÇ
+go up	filemanager	ru	××ÅÒÈ
+home	filemanager	ru	äÏÍÁÛÎÉÊ ËÁÔÁÌÏÇ
+location	filemanager	ru	òÁÓÐÏÌÏÖÅÎÉÅ
+mime type	filemanager	ru	MIME ôÉÐ
+move to	filemanager	ru	ðÅÒÅÍÅÓÔÉÔØ ÷
+move to:	filemanager	ru	ðÅÒÅÍÅÓÔÉÔØ ×:
+no files in this directory.	filemanager	ru	÷ ÜÔÏÊ ÄÉÒÅËÔÏÒÉÉ ÎÅÔ ÆÁÊÌÏ×.
+other settings	filemanager	ru	äÒÕÇÉÅ îÁÓÔÒÏÊËÉ
+owner	filemanager	ru	÷ÌÁÄÅÌÅÃ
+quick jump to	filemanager	ru	âÙÓÔÒÙÊ ÐÅÒÅÈÏÄ
+reload	filemanager	ru	ÏÂÎÏ×ÉÔØ
+rename	filemanager	ru	ðÅÒÅÉÍÅÎÏ×ÁÔØ
+save changes	filemanager	ru	óÏÈÒÁÎÉÔØ ÉÚÍÅÎÅÎÉÑ
+show ..	filemanager	ru	ðÏËÁÚÙ×ÁÔØ ..
+size	filemanager	ru	òÁÚÍÅÒ
+sort by:	filemanager	ru	óÏÒÔÉÒÏ×ÁÔØ ÐÏ:
+total files	filemanager	ru	÷ÓÅÇÏ ÆÁÊÌÏ×
+update	filemanager	ru	ïÂÎÏ×ÉÔØ
+upload	filemanager	ru	úÁÇÒÕÚÉÔØ
+upload fields	filemanager	ru	ÐÏÌÑ  ÚÁÇÒÕÚËÉ
+upload files	filemanager	ru	úÁÇÒÕÚÉÔØ ÆÁÊÌÙ
+used space	filemanager	ru	íÅÓÔÏ ÎÁ ÄÉÓËÅ
+users	filemanager	ru	ðÏÌØÚÏ×ÁÔÅÌÉ
+version	filemanager	ru	÷ÅÒÓÉÑ
+view documents in new window	filemanager	ru	ïÔÏÂÒÁÖÁÔØ ÄÏËÕÍÅÎÔ × ÎÏ×ÏÍ ÏËÎÅ
+view documents on server (if available)	filemanager	ru	ðÒÏÓÍÁÔÒÉ×ÁÔØ ÄÏËÕÍÅÎÔ ÎÁ ÓÅÒ×ÅÒÅ (ÅÓÌÉ ×ÏÚÍÏÖÎÏ)
+you do not have access to %1	filemanager	ru	õ ×ÁÓ ÎÅÔ ÐÒÁ× ÄÏÓÔÕÐÁ Ë %1
+your home dir did not exist, egroupware created a new one.	filemanager	ru	÷ÁÛÁ ÄÏÍÁÛÎÑÑ ÄÉÒÅËÔÏÒÉÑ ÎÅ ÓÕÝÅÓÔ×ÕÅÔ, eGroupWare ÓÏÚÄÁÓÔ ÎÏ×ÕÀ.
Index: /sandbox/filemanager/setup/phpgw_es-ca.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_es-ca.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_es-ca.lang	(revision 1506)
@@ -0,0 +1,111 @@
+%1 already exists as a file	filemanager	es-ca	%1 ja existeix com a arxiu
+application	filemanager	es-ca	Aplicació
+back to file manager	filemanager	es-ca	Tornar a l'Administrador d'Arxius
+cancel editing %1 without saving	filemanager	es-ca	Cancelar la edición de %1 sin guardar
+cannot create directory because it begins or ends in a space	filemanager	es-ca	No es pot crear el directori perqué comença o acaba amb un espai
+cannot replace %1 because it is a directory	filemanager	es-ca	No es pot reemplaçar %1 perqué és un directori
+command sucessfully run	filemanager	es-ca	Ordre executada correctament
+comment	filemanager	es-ca	Comentari
+comments cannot contain "%1"	filemanager	es-ca	Els comentaris no poden tenir "%1"
+copied %1 to %2	filemanager	es-ca	Copiat %1 a %2
+copy to	filemanager	es-ca	Copiar A
+copy to:	filemanager	es-ca	Copiar a:
+could not copy %1 to %2	filemanager	es-ca	No es pot copiar %1 a %2
+could not create %1	filemanager	es-ca	No es pot crear %1
+could not create directory %1	filemanager	es-ca	No es pot crear el directori %1
+could not delete %1	filemanager	es-ca	No es pot esborrar %1
+could not move %1 to %2	filemanager	es-ca	No es pot moure %1 a %2
+could not rename %1 to %2	filemanager	es-ca	No es pot reanomenar %1 a %2
+could not save %1	filemanager	es-ca	No es pot desar %1
+create file	filemanager	es-ca	Crear arxiu
+create folder	filemanager	es-ca	Crear carpeta
+created	filemanager	es-ca	Creat
+created %1	filemanager	es-ca	Creat %1
+created %1,%2	filemanager	es-ca	Se ha creado %1,%2
+created by	filemanager	es-ca	Creat per
+created directory %1	filemanager	es-ca	Directori %1 creat
+date	filemanager	es-ca	Data
+default number of upload fields to show	filemanager	es-ca	Nombre de camps a mostrar per defecte
+delete	filemanager	es-ca	Esborrar
+deleted %1	filemanager	es-ca	%1 esborrat
+directory	filemanager	es-ca	Directori
+directory %1 already exists	filemanager	es-ca	El directori %1 ja existeix
+directory %1 does not exist	filemanager	es-ca	El directori %1 no existeix
+directory names cannot contain "%1"	filemanager	es-ca	Els noms de directori no poden tenir "%1"
+display attributes	filemanager	es-ca	Mostrar atributs
+download	filemanager	es-ca	Descarregar
+edit	filemanager	es-ca	Editar
+edit comments	filemanager	es-ca	Editar comentaris
+error running command	filemanager	es-ca	Error al executar l'ordre
+execute	filemanager	es-ca	Executar
+failed to create directory	filemanager	es-ca	error al crear el directori
+file	filemanager	es-ca	Arxiu
+file %1 already exists. please edit it or delete it first.	filemanager	es-ca	L'arxiu %1 ja existeix. Si us plau, editeu-lo o esborreu-lo abans.
+file %1 could not be created.	filemanager	es-ca	No es pot crear l'arxiu %1.
+file name	filemanager	es-ca	Nom de l'arxiu
+file names cannot contain  or /	filemanager	es-ca	Los nombres de fichero no pueden contener  o /
+file names cannot contain "%1"	filemanager	es-ca	Els noms d'arxiu no poden tenir "%1"
+file names cannot contain \ or /	filemanager	es-ca	Los nombres de fichero no pueden contener  o /
+filemanager	common	es-ca	Administrador d'Arxius
+filemanager preferences	filemanager	es-ca	Preferències de l'Administrador d'Arxius
+files	filemanager	es-ca	Arxius
+files is this directory	filemanager	es-ca	Ficheros en este directorio
+folder	filemanager	es-ca	Carpeta
+folder up	filemanager	es-ca	Subir una carpeta
+go home	filemanager	es-ca	ir al inicio
+go to	filemanager	es-ca	Anar A
+go to %1	filemanager	es-ca	Anar a %1
+go to your home directory	filemanager	es-ca	Anar al directori personal
+go to:	filemanager	es-ca	Anar a:
+go up	filemanager	es-ca	subir
+home	filemanager	es-ca	Inici
+location	filemanager	es-ca	Ubicación
+locked	filemanager	es-ca	Bloquejat
+mime type	filemanager	es-ca	Tipus MIME
+modified	filemanager	es-ca	Modificat
+modified by	filemanager	es-ca	Modificat per
+move to	filemanager	es-ca	Moure A
+move to:	filemanager	es-ca	Moure a:
+moved %1 to %2	filemanager	es-ca	S'ha mogut %1 a %2
+no files in this directory.	filemanager	es-ca	No hay ficheros en este directorio
+no version history for this file/directory	filemanager	es-ca	No hi ha historial de versió per aquest arxiu o directori
+operation	filemanager	es-ca	Operació
+owner	filemanager	es-ca	Propietari
+please select a file to delete.	filemanager	es-ca	Por favor, seleccione un fichero para borrar
+preferences old	preferences	es-ca	Preferencias antiguas
+preview %1	filemanager	es-ca	Vista prévia de %1
+preview of %1	filemanager	es-ca	Vista prévia de %1
+reload	filemanager	es-ca	recargar
+rename	filemanager	es-ca	Reanomenar
+renamed %1 to %2	filemanager	es-ca	S'ha reanomenat %1 a %2
+replaced %1	filemanager	es-ca	Reemplaçat %1
+save %1	filemanager	es-ca	Desar %1
+save %1, and go back to file listing	filemanager	es-ca	Guardar %1, y volver al listado de ficheros
+save all	filemanager	es-ca	Desar tot
+save changes	filemanager	es-ca	Guardar cambios
+saved %1	filemanager	es-ca	Desat %1
+show	filemanager	es-ca	Mostrar
+show ..	filemanager	es-ca	Mostrar ..
+show .files	filemanager	es-ca	Mostrar arxius ocults
+show command line (experimental. dangerous.)	filemanager	es-ca	Mostrar línia d'ordres (EXPERIMENTAL. PERILLÓS.)
+show help	filemanager	es-ca	Mostrar l'ajuda
+size	filemanager	es-ca	Tamany
+sort by:	filemanager	es-ca	Ordenar per:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	es-ca	El Administrador de archivos futuro, SOLO PARA PRUEBAS. Por favor, informe de los fallos.
+total files	filemanager	es-ca	Total arxius
+unknown mime-type defaults to text/plain when viewing	filemanager	es-ca	Els tipus MIME desconeguts es mostren per defecte com a text/plain
+unused space	filemanager	es-ca	Espai lliure
+up	filemanager	es-ca	Adalt
+update	filemanager	es-ca	Actualitzar
+updated comment for %1	filemanager	es-ca	Comentari actualitzat per %1
+upload	filemanager	es-ca	Copiar a servidor
+upload fields	filemanager	es-ca	Pujar camps
+upload files	filemanager	es-ca	Pujar arxius
+use new experimental filemanager?	filemanager	es-ca	¿Usar el nuevo Administrador de archivos (experimental)?
+used space	filemanager	es-ca	Espai usat
+users	filemanager	es-ca	Usuaris
+version	filemanager	es-ca	Versió
+view documents in new window	filemanager	es-ca	Veure documents en una nova finestra
+view documents on server (if available)	filemanager	es-ca	Veure documents al servidor (si està disponible)
+who	filemanager	es-ca	Qui
+you do not have access to %1	filemanager	es-ca	No teniu accés a %1
Index: /sandbox/filemanager/setup/phpgw_de.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_de.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_de.lang	(revision 1506)
@@ -0,0 +1,113 @@
+%1 already exists as a file	filemanager	de	Es gibt bereits eine Datei %1
+application	filemanager	de	Anwendung
+back to file manager	filemanager	de	Zurück zur Dateiverwaltung
+cancel editing %1 without saving	filemanager	de	Bearbeiten abbrechen %1 ohne zu speichern
+cannot create directory because it begins or ends in a space	filemanager	de	Kann Verzeichnis nicht anlegen, da der Name mit einem Leerzeichen endet
+cannot replace %1 because it is a directory	filemanager	de	Kann %1 nicht ersetzen, da es ein Verzeichnis ist
+command sucessfully run	filemanager	de	Kommando erfolgreich ausgeführt
+comment	filemanager	de	Kommentar
+comments cannot contain "%1"	filemanager	de	Kommentare dürfen kein "%1" enthalten
+copied %1 to %2	filemanager	de	%1 nach %2 kopiert
+copy to	filemanager	de	Kopieren nach
+copy to:	filemanager	de	Kopieren nach:
+could not copy %1 to %2	filemanager	de	Konnte %1 nicht nach %2 kopieren
+could not create %1	filemanager	de	Konnte %1 nicht anlegen
+could not create directory %1	filemanager	de	Konnte Verzeichnis %1 nicht anlegen
+could not delete %1	filemanager	de	Konnte %1 nicht löschen
+could not move %1 to %2	filemanager	de	Konnte %1 nicht nach %2 verschieben
+could not rename %1 to %2	filemanager	de	Konnte %1 nicht nach %2 umbenennen
+could not save %1	filemanager	de	Konnte %1 nicht speichern
+create file	filemanager	de	Neue Datei
+create folder	filemanager	de	Neues Verzeichnis
+created	filemanager	de	Erstellt
+created %1	filemanager	de	%1 erstellt
+created %1,%2	filemanager	de	%1,%2 erstellt
+created by	filemanager	de	Erstellt von
+created directory %1	filemanager	de	Verzeichnis %1 erstellt
+date	filemanager	de	Datum
+default number of upload fields to show	filemanager	de	Vorgabe für Anzahl Felder zum Hochladen
+delete	filemanager	de	Löschen
+deleted %1	filemanager	de	%1 gelöscht
+directory	filemanager	de	Verzeichnis
+directory %1 already exists	filemanager	de	Verzeichnis %1 existiert bereits
+directory %1 does not exist	filemanager	de	Verzeichnis %1 existiert nicht
+directory names cannot contain "%1"	filemanager	de	Verzeichnisnamen dürfen kein "%1" enthalten
+display attributes	filemanager	de	Anzeigeattribute
+download	filemanager	de	Herunterladen
+edit	filemanager	de	Bearbeiten
+edit comments	filemanager	de	Kommentare bearbeiten
+error running command	filemanager	de	Fehler beim Ausführen des Kommandos
+execute	filemanager	de	Ausführen
+failed to create directory	filemanager	de	Verzeichnis konnte nicht erstellt werden
+file	filemanager	de	Datei
+file %1 already exists. please edit it or delete it first.	filemanager	de	Datei %1 existiert bereits. Bitte zuerst bearbeiten oder löschen.
+file %1 could not be created.	filemanager	de	Datei %1 konnte nicht erstellt werden.
+file name	filemanager	de	Dateiname
+file names cannot contain "%1"	filemanager	de	Dateinamen dürfen kein "%1" enthalten
+file names cannot contain \ or /	filemanager	de	Dateinamen dürfen kein \ oder / enthalten
+filemanager	common	de	Dateiverwaltung
+filemanager preferences	filemanager	de	Dateiverwaltungs-Einstellungen
+files	filemanager	de	Dateien
+files in this directory	filemanager	de	Dateien in diesem Verzeichnis
+files is this directory	filemanager	de	Dateien in diesem Verzeichnis
+folder	filemanager	de	Verzeichnisse
+folder up	filemanager	de	Ein Verzeichnis nach oben
+go home	filemanager	de	Zum Heimverzeichnis wechseln
+go to	filemanager	de	Gehe zu
+go to %1	filemanager	de	Gehe zu %1
+go to your home directory	filemanager	de	Zu Ihrem Heimverzeichnis wechseln
+go to:	filemanager	de	Gehe zu:
+go up	filemanager	de	einen Ordner nach oben
+home	filemanager	de	Home
+location	filemanager	de	Pfad
+locked	filemanager	de	Gesperrt
+mime type	filemanager	de	MIME-Typ
+modified	filemanager	de	Verändert
+modified by	filemanager	de	Verändert von
+move to	filemanager	de	Verschieben nach
+move to:	filemanager	de	Verschieben nach:
+moved %1 to %2	filemanager	de	%1 nach %2 verschoben
+no files in this directory.	filemanager	de	Keine Dateien in diesem Verzeichnis vorhanden
+no version history for this file/directory	filemanager	de	Keine Versionshistorie für dies Datei / Verzeichnis
+operation	filemanager	de	Operation
+other settings	filemanager	de	Weitere Einstellungen
+owner	filemanager	de	Eigentümer
+please select a file to delete.	filemanager	de	Bitte wählen Sie die Datei aus welche Sie löschen möchten
+preferences old	preferences	de	Alte Einstellungen
+preview %1	filemanager	de	Vorschau %1
+preview of %1	filemanager	de	Vorschau von %1
+quick jump to	filemanager	de	Sprung zu
+reload	filemanager	de	aktualisieren
+rename	filemanager	de	Umbenennen
+renamed %1 to %2	filemanager	de	%1 nach %2 umbenannt
+replaced %1	filemanager	de	%1 ersetzt
+save %1	filemanager	de	%1 speichern
+save %1, and go back to file listing	filemanager	de	%1 speichern und zurück zur Übersicht wechseln
+save all	filemanager	de	Alles speichern
+save changes	filemanager	de	Änderungen speichern
+saved %1	filemanager	de	%1 gespeichert
+show	filemanager	de	Anzeigen
+show ..	filemanager	de	Anzeigen ...
+show .files	filemanager	de	.Dateien anzeigen
+show command line (experimental. dangerous.)	filemanager	de	Kommando anzeigen (EXPERIMENTELL / GEFÄHRLICH)
+show help	filemanager	de	Hilfe anzeigen
+size	filemanager	de	Größe
+sort by:	filemanager	de	Sortieren nach:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	de	
+total files	filemanager	de	Anzahl Dateien
+unknown mime-type defaults to text/plain when viewing	filemanager	de	Zum Anzeigen von unbekannte MIME-Typen text/plain verwenden
+unused space	filemanager	de	Unbenutzer Speicherplatz
+up	filemanager	de	Nach oben
+update	filemanager	de	Aktualisieren
+updated comment for %1	filemanager	de	Kommentar für %1 aktualisiert
+upload	filemanager	de	Hochladen
+upload fields	filemanager	de	Felder zum Hochladen
+upload files	filemanager	de	Dateien hochladen
+use new experimental filemanager?	filemanager	de	
+used space	filemanager	de	Benutzter Speicherplatz
+users	filemanager	de	Benutzer
+version	filemanager	de	Version
+view documents in new window	filemanager	de	Dokumente in neuem Fenster anzeigen
+view documents on server (if available)	filemanager	de	Dokument auf Server anzeigen (falls verfügbar)
+who	filemanager	de	Wer
+you do not have access to %1	filemanager	de	Sie haben keinen Zugang zu %1
Index: /sandbox/filemanager/setup/phpgw_sv.lang
===================================================================
--- /sandbox/filemanager/setup/phpgw_sv.lang	(revision 1506)
+++ /sandbox/filemanager/setup/phpgw_sv.lang	(revision 1506)
@@ -0,0 +1,115 @@
+%1 already exists as a file	filemanager	sv	%1 finns redan som fil
+application	filemanager	sv	Applikation
+back to file manager	filemanager	sv	Tillbaka till Filhanteraren
+cancel editing %1 without saving	filemanager	sv	Avbryt redigering av %1 utan att spara
+cannot create directory because it begins or ends in a space	filemanager	sv	Kan inte skapa katalog efteromsom namnet påbörjas eller avslutas med ett mellanslag
+cannot replace %1 because it is a directory	filemanager	sv	Kan inte ersätta %1 eftersom det är en katalog
+command sucessfully run	filemanager	sv	Kommandot lyckades
+comment	filemanager	sv	Kommentera
+comments cannot contain "%1"	filemanager	sv	Kommentarer kan inte inna hålla "%1"
+copied %1 to %2	filemanager	sv	Kopierade %1 till %2
+copy to	filemanager	sv	Kopiera
+copy to:	filemanager	sv	Kopiera till:
+could not copy %1 to %2	filemanager	sv	Kan inte kopiera %1 till %2
+could not copy file because no destination directory is given	filemanager	sv	Kan inte kopiera filen eftersom ingen destinationskatalog finns angiven
+could not create %1	filemanager	sv	Kunde inte skapa %1
+could not create directory %1	filemanager	sv	Kunde inte skapa katalogen %1
+could not delete %1	filemanager	sv	Kunde inte radera %1
+could not move %1 to %2	filemanager	sv	Kunde inte flytta %1 till %2
+could not move file because no destination directory is given	filemanager	sv	Kan inte flytta filen eftersom ingen destinationskatalog finns angiven
+could not rename %1 to %2	filemanager	sv	Kunde inte byta namn på %1 till %2
+could not save %1	filemanager	sv	Kunde inte spara %1
+create file	filemanager	sv	Skapa Fil
+create folder	filemanager	sv	Skapa Katalog
+created	filemanager	sv	Skapad
+created %1	filemanager	sv	Skapade %1
+created %1,%2	filemanager	sv	Skapade %1, %2
+created by	filemanager	sv	Skapad av
+created directory %1	filemanager	sv	Skapade katalogen %1
+date	filemanager	sv	Datum
+default number of upload fields to show	filemanager	sv	Default antal uppladdninsgfält att visa
+delete	filemanager	sv	Radera
+deleted %1	filemanager	sv	Raderade %1
+directory	filemanager	sv	Katalog
+directory %1 already exists	filemanager	sv	Katalogen %1 finns redan
+directory %1 does not exist	filemanager	sv	Katalogen %1 finns inte
+directory names cannot contain "%1"	filemanager	sv	Katalognamn kan inte innehålla %1
+display attributes	filemanager	sv	Visa attribut
+download	filemanager	sv	Ladda ned
+edit	filemanager	sv	Redigera
+edit comments	filemanager	sv	Redigera kommentarer
+error running command	filemanager	sv	Fel vid exekvering av kommando
+execute	filemanager	sv	Exekvera
+failed to create directory	filemanager	sv	Misslyckades att skapa katalog
+fake base dir did not exist, egroupware created a new one.	filemanager	sv	Fejkad baskatalog existerade inte, eGroupware skapade en ny
+file	filemanager	sv	Fil
+file %1 already exists. please edit it or delete it first.	filemanager	sv	Fil %1 existerar redan. Var vänlig redigera den eller ta bort den först
+file %1 could not be created.	filemanager	sv	Filen % kunde inte skapas
+file name	filemanager	sv	Filnamn
+file names cannot contain "%1"	filemanager	sv	Filnamn kan inte innehålla "%1"
+file names cannot contain \ or /	filemanager	sv	Filnamn kan inte innehålla \ eller /
+filemanager	common	sv	Filhanterare
+filemanager preferences	filemanager	sv	Filhanterarpreferenser
+files	filemanager	sv	Filer
+files in this directory	filemanager	sv	Filer i denna katalog
+folder	filemanager	sv	Katalog
+folder up	filemanager	sv	Upp ett steg
+go home	filemanager	sv	Gå hem
+go to	filemanager	sv	Gå till
+go to %1	filemanager	sv	Gå till %1
+go to your home directory	filemanager	sv	Gå till din hemkatalog
+go to:	filemanager	sv	Gå till:
+go up	filemanager	sv	Gå upp
+home	filemanager	sv	Hem
+location	filemanager	sv	Plats
+locked	filemanager	sv	Låst
+mime type	filemanager	sv	MIME-typ
+modified	filemanager	sv	Ändrad
+modified by	filemanager	sv	Ändrad av
+move to	filemanager	sv	Flytta Till
+move to:	filemanager	sv	Flytta till:
+moved %1 to %2	filemanager	sv	Flyttade %1 till %2
+no files in this directory.	filemanager	sv	Inga filer i denna katalog
+no version history for this file/directory	filemanager	sv	Ingen versionhistorik för denna fil/katalog
+operation	filemanager	sv	Operation
+other settings	filemanager	sv	Överiga inställningar
+owner	filemanager	sv	Ägare
+please select a file to delete.	filemanager	sv	Vänligen välj fil för radering
+preview %1	filemanager	sv	Förhandsgranska %1
+preview of %1	filemanager	sv	Förhandsgransking av %1
+quick jump to	filemanager	sv	Hoppa till
+reload	filemanager	sv	Ladda om
+rename	filemanager	sv	Byt namn
+renamed %1 to %2	filemanager	sv	Bytte namn från %1 till %2
+replaced %1	filemanager	sv	Ersatte %2
+save %1	filemanager	sv	Spara %1
+save %1, and go back to file listing	filemanager	sv	Spara %1 och gå tillbaka till fillistan
+save all	filemanager	sv	Spara alla
+save changes	filemanager	sv	Spara förändringar
+saved %1	filemanager	sv	Sparade %1
+show	filemanager	sv	Visa
+show ..	filemanager	sv	Visa...
+show .files	filemanager	sv	Visa .filer
+show command line (experimental. dangerous.)	filemanager	sv	Visa kommandorad (EXPERIMENTELLT, FARLIGT!!!9
+show help	filemanager	sv	Visa hjälp
+size	filemanager	sv	Storlek
+sort by:	filemanager	sv	Sortera efter:
+the future filemanager, now for testing purposes only, please send bugreports	filemanager	sv	Den framtidas filhanteraren, Enbart för tester. Skicka gärna buggrapporter
+total files	filemanager	sv	Totalt antal filer
+unknown mime-type defaults to text/plain when viewing	filemanager	sv	Okända MIME-typer visas som text/plain
+unused space	filemanager	sv	Ledigt utrymme
+up	filemanager	sv	Upp
+update	filemanager	sv	Uppdatera
+updated comment for %1	filemanager	sv	Uppdaterad kommentar för %1
+upload	filemanager	sv	Ladda upp
+upload fields	filemanager	sv	Ladda upp fält
+upload files	filemanager	sv	Ladda upp filer
+use new experimental filemanager?	filemanager	sv	Använda nya experimentella filhanteraren?
+used space	filemanager	sv	Använt diskutrymme
+users	filemanager	sv	Användare
+version	filemanager	sv	Version
+view documents in new window	filemanager	sv	Visa dokument i nytt fönster
+view documents on server (if available)	filemanager	sv	Visa dokumenten på server (om tillgängligt)
+who	filemanager	sv	Vem
+you do not have access to %1	filemanager	sv	Du har inte behörighet till %1
+your home dir did not exist, egroupware created a new one.	filemanager	sv	Det fanns ingen hemkatalog för dig, eGroupWare skapade en ny åt dig.
Index: /sandbox/filemanager/tests/test_dav.php
===================================================================
--- /sandbox/filemanager/tests/test_dav.php	(revision 1506)
+++ /sandbox/filemanager/tests/test_dav.php	(revision 1506)
@@ -0,0 +1,531 @@
+<?php
+function ok($string){
+/*	html_table_row_begin();
+	html_table_col_begin();*/
+	echo "<h3>$string ";
+/*	html_table_col_end();
+	html_table_col_begin();*/
+	echo  " OK</h3>";
+/*	html_table_col_end();
+	html_table_row_end();*/
+}
+function fail($string){
+/*	html_table_row_begin();
+	html_table_col_begin();*/
+	echo "<h3>$string ";
+/*	html_table_col_end();
+	html_table_col_begin();*/
+	echo " <b>FAILED!</b></h3>";
+/*	html_table_col_end();
+	html_table_row_end(); */
+}
+
+$phpgw_info["flags"] = array("currentapp" => "filemanager",
+                                "noheader" => False,
+                                "noappheader" => False,
+                                "enable_vfs_class" => True);
+
+include("../../header.inc.php");
+
+html_text('VFS_DAV tests:');
+html_break (1);
+html_text_italic (PHP_OS . " - " . $phpgw_info["server"]["db_type"] . " - " . PHP_VERSION . " - " . $phpgw->vfs->basedir);
+html_break (1);
+//html_table_begin();
+
+
+$sep = SEP;
+$user = $phpgw->vfs->working_lid;
+$homedir = $phpgw->vfs->fakebase . "/" . $user;
+$realhomedir = preg_replace ("|/|", $sep, $homedir);
+$filesdir = $phpgw->vfs->basedir;
+$currentapp = $phpgw_info["flags"]["currentapp"];
+$time1 = time();
+
+echo ' override locks : ';print_r($phpgw->vfs->override_locks);
+	###
+	# write test
+
+	$phpgw->vfs->cd ();
+	$testfile = 'sdhdsjjkldggfsbhgbnirooaqojsdkljajklvagbytoi-test';
+	$teststring = 'delete me' ;
+	if (!$result = $phpgw->vfs->write (array ('string' => $testfile,
+		'content' => $teststring
+		))) 
+	{
+		fail( __LINE__." failed writing file!");
+	}
+	else
+	{
+	ok("write");
+	}
+
+#read
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->read (array ('string' => $testfile, 'noview' => true	));
+	if (!$result==$teststring) 
+	{
+		fail( __LINE__." failed reading file!");
+	}
+	else
+	{
+	ok(" read");
+	}
+	
+	###
+	# ls test
+
+	$result1 = $phpgw->vfs->ls (array ('string' => $testfile	));
+
+	if (!count($result1)) 
+	{
+		fail(__LINE__." failed listing file!");
+	}
+	else
+	{
+	ok(" ls : known file");
+	}
+//list the parent dir
+
+	$result = $phpgw->vfs->ls (array ('string' => ''));
+	foreach ($result as $file)
+	{
+		if ($testfile == $file['name'])
+		{
+			$found = true;
+			break;
+		}
+	}
+	if (!$found) 
+	{
+		fail(__LINE__." failed listing file!");
+	}
+	else
+	{
+		ok(" ls : parent");
+	}
+	$found = false;
+	foreach ($result as $file)
+	{
+		if ($result1[0]['directory'] == $file['full_name'])
+		{
+			$found = true;
+			break;
+		}
+	}
+	if ($found) 
+	{
+		fail(__LINE__." parent is present in its own listing!");
+	}
+	else
+	{
+		ok(" ls : parent self reference");
+	}
+# getsize 
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->get_size (array ('string' => $testfile	));
+	$len = strlen($teststring);
+	if (!($result== $len)) 
+	{
+		fail(__LINE__." failed getting size of file result $result strlen $len");
+	}
+	else
+	{
+	ok("get_size");
+	}
+	
+#filetype
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->file_type(array ('string' => $testfile	));
+	$len = strlen($teststring);
+	if (!($result== 'application/octet-stream')) 
+	{
+		fail(__LINE__." failed getting file type $result");
+	}
+	else
+	{
+	ok("file_type");
+	}
+
+
+#file_exists
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->file_exists(array ('string' => $testfile	));
+	if (!$result) 
+	{
+		fail(__LINE__." file_exist failed: $result");
+	}
+	else
+	{
+	ok("file_exists");
+	}
+
+#lock
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->lock (array ('string' => $testfile	));
+	if (!$result) 
+	{
+		fail(__LINE__."failed locking file!");
+	}
+	else
+	{
+	ok(" lock");
+	}
+	
+	
+		$ls_array = $GLOBALS['phpgw']->vfs->ls (array (
+				'string'	=> $testfile,
+				'relatives'	=> array (RELATIVE_ALL),
+				'checksubdirs'	=> False
+			)
+		);
+	if (!count($ls_array[0]['locks'])) 
+	{
+		fail(__LINE__."after locking file no locks exist!");
+	}
+	else
+	{
+	ok(" lock: after locking lock exists.");
+	}
+		$lock = end($ls_array[0]['locks']);
+		$tokens = end($lock['lock_tokens']);
+		$token = $tokens['name'];
+	//write should now fail
+	$result = $phpgw->vfs->write (array ('string' => $testfile,
+		'content' => 'delete me' 
+		));
+	if ($result) 
+	{
+		fail(__LINE__."I can write a supposidly locked file!");
+	}
+	else
+	{
+	ok("lock: after locking write fails");
+	}
+	
+	$phpgw->vfs->add_lock_override(array ('string' => $testfile));
+	$result = $phpgw->vfs->write (array ('string' => $testfile,
+		'content' => 'delete me' 
+		));
+	if (!$result) 
+	{
+		fail(__LINE__."I cant write a locked file after overriding the lock!");
+	}
+	else
+	{
+	ok("lock: after lock override write succeeds");
+	}
+###
+# unlock test
+	
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->unlock (array ('string' => $testfile	), $token);
+	if (!$result) 
+	{
+		fail( __LINE__."failed unlocking file!");
+	}
+	else
+	{
+		OK("unlock");
+	}
+
+#server side copy
+	
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->cp(array ('from' => $testfile,
+				'to' => $testfile.'2',
+				'relatives'	=> array (RELATIVE_ALL, RELATIVE_ALL)
+				));
+	if (!$result) 
+	{
+		fail(__LINE__." failed copying! returned: $result");
+	}
+	else
+	{
+		ok("server-side copy");
+	}
+	$result = $phpgw->vfs->file_exists(array ('string' => $testfile.'2'
+				));
+	if (!$result) 
+	{
+		fail(__LINE__." after copy, target doesnt exist!");
+	}
+	else
+	{
+		ok("server-side copy : test for target");
+	}
+	$result = $phpgw->vfs->read (array ('string' => "$testfile".'2', 
+		'noview' => true,
+		'relatives'	=> array (RELATIVE_ALL)
+			));
+	if (!$result==$teststring) 
+	{
+		fail( __LINE__."after copy, read returned '$result' not '$teststring' ");
+	}
+	else
+	{
+	ok(" server-side copy: read target");
+	}
+	$result = $phpgw->vfs->delete(array ('string' => $testfile.'2'
+				));
+
+	if (!$result) 
+	{
+		fail(__LINE__." failed copying! delete copied file returned: $result");
+	}
+	else
+	{
+		ok("server-side copy : delete target");
+	}
+
+#remote -> local copy	
+	$phpgw->vfs->cd ();
+	echo "<pre>";
+	$result = $phpgw->vfs->cp(array ('from' => $testfile,
+				'to' => "/tmp/$testfile".'2',
+				'relatives'	=> array (RELATIVE_ALL, RELATIVE_NONE | VFS_REAL)
+				));
+	echo "</pre>";
+	if (!$result) 
+	{
+		fail(__LINE__." failed remote->local copying! returned: $result");
+	}
+	else
+	{
+		ok("remote->local copy");
+	}
+	echo "<pre>";
+	$result = $phpgw->vfs->file_exists(array ('string' => "/tmp/$testfile".'2',
+	'relatives'	=> array (RELATIVE_NONE | VFS_REAL)
+				));
+	echo "</pre>";
+	if (!$result) 
+	{
+		fail(__LINE__." after remote->local copy, target doesnt exist!");
+	}
+	else
+	{
+		ok("remote->local copy : test for target");
+	}
+	$phpgw->vfs->cd ();
+	echo "<pre>";
+	$result = $phpgw->vfs->read (array ('string' => "/tmp/$testfile".'2', 
+		'noview' => true,
+		'relatives'	=> array (RELATIVE_NONE | VFS_REAL)
+			));
+	echo "</pre>";
+	if (!$result==$teststring) 
+	{
+		fail( __LINE__."after remote->local copy, returned $result");
+	}
+	else
+	{
+	ok(" remote->local copy: read target");
+	}
+	echo "<pre>";	
+	$result = $phpgw->vfs->delete(array ('string' => "/tmp/$testfile".'2',
+	'relatives'	=> array (RELATIVE_NONE | VFS_REAL)
+				));
+	echo "</pre>";
+	if (!$result) 
+	{
+		fail(__LINE__." failed copying! delete copied file returned: $result");
+	}
+	else
+	{
+		ok("remote->local copy : delete target");
+	}
+	
+#move
+	$phpgw->vfs->cd ();
+	echo "<pre>";
+	$result = $phpgw->vfs->mv(array ('from' => $testfile,
+				'to' => $testfile.'2',
+				'relatives'	=> array (RELATIVE_ALL, RELATIVE_ALL)
+				));
+	echo "</pre>";
+	if (!$result) 
+	{
+		fail(__LINE__." failed moving! returned: $result");
+	}
+	else
+	{
+		ok("server-side move");
+	}
+	$result = $phpgw->vfs->file_exists(array ('string' => $testfile,
+				));
+	if ($result) 
+	{
+		fail(__LINE__." failed moving! returned: $result");
+	}
+	else
+	{
+		ok("server-side move : test for source");
+	}
+	$result = $phpgw->vfs->file_exists(array ('string' => $testfile.'2',
+				));
+	if (!$result) 
+	{
+		fail(__LINE__." failed moving! returned: $result");
+	}
+	else
+	{
+		ok("server-side move : test for target");
+	}
+	echo "<pre>";
+	$result = $phpgw->vfs->read (array ('string' => $testfile.'2', 
+		'noview' => true,
+		'relatives'	=> array (RELATIVE_ALL)
+			));
+	echo "</pre>";
+	if (!$result==$teststring) 
+	{
+		fail( __LINE__."after move, read returned '$result' not '$teststring' ");
+	}
+	else
+	{
+	ok(" server-side move: read target");
+	}	
+	
+	echo "<pre>";	
+	$result = $phpgw->vfs->mv(array ('from' => $testfile.'2',
+				'to' => $testfile,
+				'relatives'	=> array (RELATIVE_ALL, RELATIVE_ALL)
+				));
+	echo "</pre>";
+	if (!$result) 
+	{
+		fail(__LINE__." failed moving! returned: $result");
+	}
+	else
+	{
+		ok("server-side move : move back");
+	}
+
+#remote->local move
+	echo "<pre>";
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->mv(array ('from' => $testfile,
+				'to' => '/tmp/'.$testfile.'2',
+				'relatives'	=> array (RELATIVE_ALL, RELATIVE_NONE | VFS_REAL)
+				));
+	echo "</pre>";
+	if (!$result) 
+	{
+		fail(__LINE__." failed moving! returned: $result");
+	}
+	else
+	{
+		ok("remote->local move");
+	}
+	$result = $phpgw->vfs->file_exists(array ('string' => $testfile,
+				));
+	if ($result) 
+	{
+		fail(__LINE__." failed moving! returned: $result");
+	}
+	else
+	{
+		ok("remote->local move : test for source");
+	}
+	$result = $phpgw->vfs->file_exists(array ('string' => '/tmp/'.$testfile.'2',
+				 'relatives' => array(RELATIVE_NONE | VFS_REAL)
+				 ));
+	if (!$result) 
+	{
+		fail(__LINE__." failed moving! returned: $result");
+	}
+	else
+	{
+		ok("remote->local move : test for target");
+	}
+	
+	$result = $phpgw->vfs->read (array ('string' => '/tmp/'.$testfile.'2', 
+		'noview' => true,
+		'relatives' => array(RELATIVE_NONE | VFS_REAL)
+			));
+	if (!$result==$teststring) 
+	{
+		fail( __LINE__."after move, read returned '$result' not '$teststring' ");
+	}
+	else
+	{
+	ok("remote->local move: read target");
+	}	
+	
+	echo "<pre>";
+	$result = $phpgw->vfs->mv(array ('from' => '/tmp/'.$testfile.'2',
+				'to' => $testfile,
+				'relatives'	=> array (RELATIVE_NONE | VFS_REAL, RELATIVE_ALL)
+				));
+	echo "</pre>";
+	if (!$result) 
+	{
+		fail(__LINE__." failed moving! returned: $result");
+	}
+	else
+	{
+		ok("server-side move : move back");
+	}
+
+
+###
+# delete test
+	
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->delete(array ('string' => $testfile	));
+	if (!$result) 
+	{
+		fail(__LINE__."failed deleting file! returned: $result");
+	}
+	else
+	{
+		ok("delete");
+	}
+
+###
+# mkdir test
+	
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->mkdir(array ('string' => $testfile	));
+	if (!$result) 
+	{
+		fail(__LINE__."failed creating collection! returned: $result");
+	}
+	else
+	{
+		ok("mkdir");
+	}
+
+	$result = $phpgw->vfs->write (array ('string' => $testfile.'/'.$testfile.'2',
+		'content' => $teststring
+		));
+		
+	if (!$result) 
+	{
+		fail( __LINE__." failed writing file into new dir!");
+	}
+	else
+	{
+	ok("mkdir : write into dir");
+	}
+###
+# rm dir test
+	
+	$phpgw->vfs->cd ();
+	$result = $phpgw->vfs->rm(array ('string' => $testfile	));
+	if (!$result) 
+	{
+		fail(__LINE__." failed deleting collection! returned: $result");
+	}
+	else
+	{
+		ok("delete dir");
+	}
+	
+	//html_table_end();
+	$time = time() - $time1;
+	html_text("Done in $time s");
+	html_page_close ();
+
+?>
Index: /sandbox/filemanager/tests/test.php
===================================================================
--- /sandbox/filemanager/tests/test.php	(revision 1506)
+++ /sandbox/filemanager/tests/test.php	(revision 1506)
@@ -0,0 +1,279 @@
+<?php
+
+$phpgw_info["flags"] = array("currentapp" => "filemanager",
+                                "noheader" => False,
+                                "noappheader" => False,
+                                "enable_vfs_class" => True);
+
+include("../header.inc.php");
+
+/*
+	General format for output is:
+	sequence number - function - current directory - input[...] - what output should be - what output was
+*/
+
+html_break (1);
+html_text_italic (PHP_OS . " - " . $phpgw_info["server"]["db_type"] . " - " . PHP_VERSION . " - " . $phpgw->vfs->basedir);
+html_break (1);
+
+$sep = SEP;
+$user = $phpgw->vfs->working_lid;
+$homedir = $phpgw->vfs->fakebase . "/" . $user;
+$realhomedir = preg_replace ("|/|", $sep, $homedir);
+$filesdir = $phpgw->vfs->basedir;
+$currentapp = $phpgw_info["flags"]["currentapp"];
+
+###
+# start of getabsolutepath tests
+
+$sequence_num = 1;
+$phpgw->vfs->cd ();
+$io = array ("" => "$homedir", "dir" => "$homedir/dir", "dir/file" => "$homedir/dir/file", "dir/dir2" => "$homedir/dir/dir2", "dir/dir2/file" => "$homedir/dir/dir2/file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "$homedir/`~!@#$%^&*()-_=+/|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i))) != $o)
+	{
+		echo "<br>$sequence_num - getabsolutepath - $cd - $i - $o - $ao";
+	}
+}
+
+$sequence_num = 2;
+$cd = "test";
+$phpgw->vfs->cd (array(
+		'string'	=> $cd,
+		'relative'	=> False,
+		'relatives'	=> array (RELATIVE_NONE)
+	)
+);
+$io = array ("" => "/test", "dir" => "/test/dir", "dir/file" => "/test/dir/file", "dir/dir2" => "/test/dir/dir2", "dir/dir2/file" => "/test/dir/dir2/file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "/test/`~!@#$%^&*()-_=+/|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i))) != $o)
+	{
+		echo "<br>$sequence_num - getabsolutepath - $cd - $i - $o - $ao";
+	}
+}
+
+$sequence_num = 3;
+$cd = "test/test2/test3";
+$phpgw->vfs->cd (array(
+		'string'	=> $cd,
+		'relative'	=> False,
+		'relatives'	=> array (RELATIVE_NONE)
+	)
+);
+$io = array ("" => "/test/test2/test3", "dir" => "/test/test2/test3/dir", "dir/file" => "/test/test2/test3/dir/file", "dir/dir2" => "/test/test2/test3/dir/dir2", "dir/dir2/file" => "/test/test2/test3/dir/dir2/file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "/test/test2/test3/`~!@#$%^&*()-_=+/|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i))) != $o)
+	{
+		echo "<br>$sequence_num - getabsolutepath - $cd - $i - $o - $ao";
+	}
+}
+
+/* Actually means cd to home directory */
+$sequence_num = 4;
+$cd = "";
+$phpgw->vfs->cd (array(
+		'string'	=> $cd
+	)
+);
+$relatives = array (RELATIVE_USER);
+$io = array ("" => "$homedir", "dir" => "$homedir/dir", "dir/file" => "$homedir/dir/file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "$homedir/`~!@#$%^&*()-_=+/|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i, 'mask' => $relatives))) != $o)
+	{
+		echo '<br><b>HERE</b>';
+		echo "<br>$sequence_num - getabsolutepath - $cd - $i - $relatives[0] - $o - $ao";
+	}
+}
+
+/* $cd shouldn't affect this test, but we'll set it anyways */
+$sequence_num = 5;
+$cd = "test2/test4";
+$phpgw->vfs->cd (array(
+		'string'	=> $cd,
+		'relative'	=> False,
+		'relatives'	=> array (RELATIVE_NONE)
+	)
+);
+$relatives = array (RELATIVE_NONE);
+$io = array ("" => "", "dir" => "dir", "dir/file" => "dir/file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i, 'mask' => $relatives))) != $o)
+	{
+		echo "<br>$sequence_num - getabsolutepath - $cd (shouldn't matter) - $i - $relatives[0] - $o - $ao";
+	}
+}
+
+/* $cd shouldn't affect this test, but we'll set it anyways */
+$sequence_num = 6;
+$cd = "test3/test5";
+$phpgw->vfs->cd (array(
+		'string'	=> $cd,
+		'relative'	=> False,
+		'relatives'	=> array (RELATIVE_NONE)
+	)
+);
+$relatives = array (RELATIVE_USER_APP);
+$io = array ("" => "$homedir/.$currentapp", "dir" => "$homedir/.$currentapp/dir", "dir/dir2" => "$homedir/.$currentapp/dir/dir2", "dir/file" => "$homedir/.$currentapp/dir/file", "dir/dir2/dir3/file" => "$homedir/.$currentapp/dir/dir2/dir3/file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "$homedir/.$currentapp/`~!@#$%^&*()-_=+/|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i, 'mask' => $relatives))) != $o)
+	{
+		echo "<br>$sequence_num - getabsolutepath - $cd (shouldn't matter) - $i - $relatives[0] - $o - $ao";
+	}
+}
+
+/* $cd shouldn't affect this test, but we'll set it anyways */
+$sequence_num = 7;
+$cd = "test4/test6";
+$phpgw->vfs->cd (array(
+		'string'	=> $cd,
+		'relative'	=> False,
+		'relatives'	=> array (RELATIVE_NONE)
+	)
+);
+$relatives = array (RELATIVE_ROOT);
+$io = array ("" => "", "dir" => "/dir", "/dir/dir2/dir3" => "/dir/dir2/dir3", "dir/file" => "/dir/file", "dir/dir2/dir3" => "/dir/dir2/dir3", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "/`~!@#$%^&*()-_=+/|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i, 'mask' => $relatives))) != $o)
+	{
+		echo "<br>$sequence_num - getabsolutepath - $cd (shouldn't matter) - $i - $relatives[0] - $o - $ao";
+	}
+}
+
+/* Now a few to test the VFS_REAL capabilities */
+$sequence_num = 8;
+$cd = "";
+$phpgw->vfs->cd (array(
+		'string'	=> $cd,
+		'relative'	=> False,
+		'relatives'	=> array (RELATIVE_NONE)
+	)
+);
+$relatives = array (RELATIVE_ROOT|VFS_REAL);
+$io = array ("" => "$filesdir", "dir" => "$filesdir$sep" . "dir", "dir/dir2/dir3" => "$filesdir$sep" . "dir$sep" . "dir2$sep" . "dir3", "dir/file" => "$filesdir$sep" . "dir$sep" . "file", "dir/dir2/dir3/file" => "$filesdir$sep" . "dir$sep" . "dir2$sep" . "dir3$sep" . "file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "$filesdir$sep" . "`~!@#$%^&*()-_=+$sep" . "|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i, 'mask' => $relatives, 'fake' =>False))) != $o)
+	{
+		echo "<br>$sequence_num - getabsolutepath - $cd (shouldn't matter) - $i - $relatives[0] - $o - $ao";
+	}
+}
+
+$sequence_num = 9;
+$cd = "test5/test7";
+$phpgw->vfs->cd (array(
+		'string'	=> $cd,
+		'relative'	=> False,
+		'relatives'	=> array (RELATIVE_NONE)
+	)
+);
+$relatives = array (RELATIVE_USER|VFS_REAL);
+$io = array ("" => "$filesdir$realhomedir", "dir" => "$filesdir$realhomedir$sep" . "dir", "dir/dir2/dir3" => "$filesdir$realhomedir$sep" . "dir$sep" . "dir2$sep" . "dir3", "dir/file" => "$filesdir$realhomedir$sep" . "dir$sep" . "file", "dir/dir2/dir3/file" => "$filesdir$realhomedir$sep" . "dir$sep" . "dir2$sep" . "dir3$sep" . "file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "$filesdir$realhomedir$sep" . "`~!@#$%^&*()-_=+$sep" . "|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i, 'mask' => $relatives, 'fake' => False))) != $o)
+	{
+		echo "<br>$sequence_num - getabsolutepath - $cd (shouldn't matter) - $i - $relatives[0] - $o - $ao";
+	}
+}
+
+$sequence_num = 10;
+$cd = "test6/test8";
+$phpgw->vfs->cd (array(
+		'string'	=> $cd,
+		'relative'	=> False,
+		'relatives'	=> array (RELATIVE_USER)
+	)
+);
+/* RELATIVE_CURRENT should be implied */
+$relatives = array (VFS_REAL);
+$io = array ("" => "$filesdir$realhomedir$sep$cd", "dir" => "$filesdir$realhomedir$sep$cd$sep" . "dir", "dir/dir2/dir3" => "$filesdir$realhomedir$sep$cd$sep" . "dir$sep" . "dir2$sep" . "dir3", "dir/file" => "$filesdir$realhomedir$sep$cd$sep" . "dir$sep" . "file", "dir/dir2/dir3/file" => "$filesdir$realhomedir$sep$cd$sep" . "dir$sep" . "dir2$sep" . "dir3$sep" . "file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "$filesdir$realhomedir$sep$cd$sep" . "`~!@#$%^&*()-_=+$sep" . "|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i, 'mask' => $relatives, 'fake' => False))) != $o)
+	{
+		echo "<br>$sequence_num - getabsolutepath - $cd - $i - $relatives[0] - $o - $ao";
+	}
+}
+
+$sequence_num = 11;
+$cd = "test7/test9";
+$phpgw->vfs->cd (array(
+		'string'	=> $cd,
+		'relative'	=> False,
+		'relatives'	=> array (RELATIVE_USER)
+	)
+);
+$relatives = array (RELATIVE_USER_APP|VFS_REAL);
+$io = array ("" => "$filesdir$realhomedir$sep.$currentapp", "dir" => "$filesdir$realhomedir$sep.$currentapp$sep" . "dir", "dir/dir2/dir3" => "$filesdir$realhomedir$sep.$currentapp$sep" . "dir$sep" . "dir2$sep" . "dir3", "dir/file" => "$filesdir$realhomedir$sep.$currentapp$sep" . "dir$sep" . "file", "dir/dir2/dir3/file" => "$filesdir$realhomedir$sep.$currentapp$sep" . "dir$sep" . "dir2$sep" . "dir3$sep" . "file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "$filesdir$realhomedir$sep.$currentapp$sep`~!@#$%^&*()-_=+$sep" . "|[{]};:'\",<.>?");
+
+while (list ($i, $o) = each ($io))
+{
+	if (($ao = $phpgw->vfs->getabsolutepath (array ('string' => $i, 'mask' => $relatives, 'fake' => False))) != $o)
+	{
+		echo "<br>$sequence_num - getabsolutepath - $cd (shouldn't matter) - $i - $relatives[0] - $o - $ao";
+	}
+}
+
+# end of getabsolutepath tests
+###
+
+###
+# start of path_parts tests
+
+/* Just for convienience
+$io = array ("" => array ("fake_full_path" => "", "fake_leading_dirs" => "", "fake_extra_path" => "", "fake_name" => "", "real_full_path" => "", "real_leading_dirs" => "", "real_extra_path" => "", "real_name" => ""));
+`~!@#$%^&*()-_=+/|[{]};:'\",<.>?
+*/
+
+$sequence_num = 12;
+$cd = "test8/test10";
+$relatives[0] = RELATIVE_USER;
+$phpgw->vfs->cd (array(
+		'string'	=> $cd,
+		'relative'	=> False,
+		'relatives'	=> array ($relatives[0])
+	)
+);
+$subhome = substr ($homedir, 1);
+$io = array ("" => array ("fake_full_path" => "$homedir/$cd", "fake_leading_dirs" => "$homedir/test8", "fake_extra_path" => "$subhome/test8", "fake_name" => "test10", "real_full_path" => "$filesdir$homedir/$cd", "real_leading_dirs" => "$filesdir$homedir/test8", "real_extra_path" => "$subhome/test8", "real_name" => "test10"), "dir2/file" => array ("fake_full_path" => "$homedir/$cd/dir2/file", "fake_leading_dirs" => "$homedir/$cd/dir2", "fake_extra_path" => "$subhome/$cd/dir2", "fake_name" => "file", "real_full_path" => "$filesdir$homedir/$cd/dir2/file", "real_leading_dirs" => "$filesdir$homedir/$cd/dir2", "real_extra_path" => "$subhome/$cd/dir2", "real_name" => "file"), "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => array ("fake_full_path" => "$homedir/$cd/`~!@#$%^&*()-_=+/|[{]};:'\",<.>?", "fake_leading_dirs" => "$homedir/$cd/`~!@#$%^&*()-_=+", "fake_extra_path" => "$subhome/$cd/`~!@#$%^&*()-_=+", "fake_name" => "|[{]};:'\",<.>?", "real_full_path" => "$filesdir$homedir/$cd/`~!@#$%^&*()-_=+/|[{]};:'\",<.>?", "real_leading_dirs" => "$filesdir$homedir/$cd/`~!@#$%^&*()-_=+", "real_extra_path" => "$subhome/$cd/`~!@#$%^&*()-_=+", "real_name" => "|[{]};:'\",<.>?"));
+
+while (list ($i, $o) = each ($io))
+{
+	$ao = $phpgw->vfs->path_parts (array ('string' => $i));
+	while (list ($key, $value) = each ($o))
+	{
+		if ($ao->$key != $o[$key])
+		{
+			echo "<br>$sequence_num - path_parts - $cd - $i - $relatives[0] - $key - $o[$key] - $ao[$key]";
+		}
+	}
+}
+
+# end of path_parts tests
+###
+
+$phpgw->vfs->cd ();
+
+html_break (2);
+html_text_bold ("The less output, the better.  Please file errors as a " . html_link ("https://sourceforge.net/tracker/?group_id=7305&atid=107305", "bug report", True, False) .  ". Be sure to include the system information line at the top, and anything special about your setup.  Thanks!");
+
+html_page_close ();
+
+?>
Index: /sandbox/filemanager/tests/benchmark_dav.php
===================================================================
--- /sandbox/filemanager/tests/benchmark_dav.php	(revision 1506)
+++ /sandbox/filemanager/tests/benchmark_dav.php	(revision 1506)
@@ -0,0 +1,61 @@
+<?php
+
+
+$phpgw_info["flags"] = array("currentapp" => "filemanager",
+                                "noheader" => False,
+                                "noappheader" => False,
+                                "enable_vfs_class" => True);
+
+include("../../header.inc.php");
+
+  function getmicrotime()
+  { 
+    list($usec, $sec) = explode(" ",microtime()); 
+    return ((float)$usec + (float)$sec); 
+   } 
+   
+	function stats($array)
+	{
+   		$mean = array_sum($array)/count($array);
+   		$a = 0;
+   		foreach ($array as $value)
+   		{
+   			$a += ($value - $mean)*($value - $mean);
+   		}
+   		$std = sqrt($a/count($array));
+   		$error = $std/sqrt(count($array));
+   		echo "mean time: $mean error: +-$error";
+	}
+    echo '<b>Benchmarking vfs::ls</b><br>';
+    $times = array(); 
+	$phpgw->vfs->cd();
+	for ($i=0;$i<20; $i++)
+	{
+		$phpgw->vfs->dav_client->cached_props = array();
+		$time1 = getmicrotime();
+		$result = $phpgw->vfs->ls (array ('string' => ''));
+		$time = getmicrotime() - $time1;
+		$times[] = $time;
+		echo "run $i: $time<br>";
+		//sleep(1);
+		flush();
+	}
+	stats($times);
+	
+	echo '<br><b>Benchmarking dav_client::get_properties</b><br>';
+    $times = array(); 
+	$phpgw->vfs->cd();
+	for ($i=0;$i<20; $i++)
+	{
+		$phpgw->vfs->dav_client->cached_props = array();
+		$time1 = getmicrotime();
+		$result = $phpgw->vfs->dav_client->get_properties('/home/sim');
+		$time = getmicrotime() - $time1;
+		$times[] = $time;
+		echo "run $i: $time<br>";
+		flush();
+	}
+	stats($times);
+
+
+?>
Index: /sandbox/filemanager/doc/INSTALL
===================================================================
--- /sandbox/filemanager/doc/INSTALL	(revision 1506)
+++ /sandbox/filemanager/doc/INSTALL	(revision 1506)
@@ -0,0 +1,45 @@
+INSTALL
+-------
+Command examples are suggestions only.  Use your head.
+
+COMMAND SUMMARY
+---------------
+cp -a /some/path/to/egroupware/files /path/to/files
+cd /path/to/files
+chown -R nobody .
+-OR-
+chmod -R 777 .
+
+http://yourhost.com/setup/ > Setup/Config > Edit Current Configuration
+"Enter the full path for users and group files" => /path/to/files
+
+FULL EXPLANATION
+----------------
+[REQUIRED] Copy egroupware/files to where you want to store the files.
+	   THIS SHOULD BE SOMEWHERE NOT INSIDE THE WEBROOT AND NOT ACCESSIBLE TO THE WEB.
+	   Having the files within the webroot is a huge security risk as well as a privacy concern.
+	   The exception to this would be if you WANT the users' and groups' files to be accessible
+	   from the web, such as when setting up public or semi-public web page/document hosting.  In
+	   this case, the files directory can be left where it is.
+	   (Make sure you copy the directory, don't just make a new one.  The necessary directories
+		are files/ and files/home/)
+[REQUIRED] In http://yourhost.com/setup, login to Setup/Config, then Edit Current Configuration.  Enter the FULL path for the files directory you created earlier in the second box from the top.
+[REQUIRED] Change permissions for files directory and all it's subdirectories to be writable by Apache
+	   This is the files directory you created earlier and specified in setup (Edit Current Configuration).  Note that 'nobody' below could also be 'apache' on your system.  Check the 'User' setting in your httpd.conf.
+		cd /path/to/files
+		chown -R nobody .
+		-OR-
+		chmod -R 777 .
+
+SECURITY CONCERNS
+-----------------
+There are many security concerns related with allowing users to store files on the server.  The most common problem is that users can upload any type of file, including CGI and PHP scripts.  This in effect grants them local access to the machine, and can be used to read database passwords and other sensitive files.  The ability to upload files of any type is not forbidden by phpwebhosting because it is sometimes desired, and also the types of vulnerable files differ from server to server.  To combat this, you can add a simple entry to Apache's httpd.conf to prevent certain types of files from being executed.  Included below is an example that results in .cgi, .pl, .php, .php3, and .phps files being treated as normal text files.  It also explicitly turns all Options off, which includes turning Indexes (listing of files) off.
+
+<Directory /path/to/files>
+Options None
+AllowOverride None
+DirectoryIndex index.html
+RemoveHandler cgi-script .cgi .pl
+RemoveType application/x-httpd-php .php .php3
+RemoveType application/x-httpd-php-source .phps
+</Directory>
Index: /sandbox/filemanager/doc/INSTALL_WebDAV
===================================================================
--- /sandbox/filemanager/doc/INSTALL_WebDAV	(revision 1506)
+++ /sandbox/filemanager/doc/INSTALL_WebDAV	(revision 1506)
@@ -0,0 +1,124 @@
+INSTALL : WebDAV file share
+---------------------------
+Note: if you don't know what WebDAV is you probably don't need it.  The default
+vfs_sql is generally faster and easier to setup.
+
+Filemanager's WebDAV support allows you to store your files online in 
+egroupware, in a way that cooperates well with other web applications (for
+instance, in Windows you can then access your files as a "web folder", and
+similarly KDE, Gnome, MacOSX, and amultitude of applications (eg MS Office and
+OpenOffice.org) all include some way of browsing files on a WebDAV share)
+
+
+Installation
+------------
+To install:
+
+1/	Setup a WebDAV server - currently this code has only been well tested using
+	Apache's mod_dav (http://www.webdav.org/mod_dav/).  mod_dav is included in
+	Apache 2, and most Linux distributions include it as a package.
+
+	To setup mod_dav ensure that you have the module installed correctly ( RTFM :)
+	and create a virtual host (eg files.yourdomain.com) something like this:
+
+		<VirtualHost files.yourdomain.com:80>
+			AccessFileName .htaccess
+			ServerAdmin webmaster@yourdomain.com
+			DocumentRoot /var/files
+			<Location />
+				AllowOverride All
+				Options +Indexes
+				DAV on
+				DirectoryIndex /
+				RemoveHandler cgi-script .cgi .pl
+				RemoveType application/x-httpd-php .php .php3
+				RemoveType application/x-httpd-php-source .phps
+			</Location>
+			<Files ~ "^\.ht">
+				#This ensures egroupware can modify .htaccess files
+				order deny,allow
+				deny from all
+				#make sure your egroupware server is included here.
+				allow from localhost .localdomain
+			</Files>
+			ServerName files.yourdomain.com
+			ErrorLog logs/dav_err
+			CustomLog logs/dav_acc combined
+		</VirtualHost>
+
+2/	On the setup page (egroupware/setup/config.php) specify
+	the WebDAV server URL (eg http://files.yourdomain.com ) in the: "Full path
+	for users and groups files" text area, and select DAV in the:
+	"Select where you want to store/retrieve filesystem information"
+	combo.  If your file repository supports SSL you might want to enter
+	'https://files.yourdomain.com' instead - note that phpGroupWare itself wont
+	use SSL to access the repository, but when it redirects the users browser to
+	the repository it will use the secure https url.
+
+3/	Make sure your WebDAV repository contains a "home" directory (important!)
+	So if your WebDAV directory is /var/files, you would need:
+		/var/files/
+		/var/files/home/
+
+4/ 	You now want some kind of authentication on the WebDAV repository, so that 
+	users accessing it directly still need their egroupware	password.  By default 
+	there is no security through Apache's WebDAV module and anyone could access
+	your files.
+
+	To enable authentication you must use a third-party Apache authentication
+	module.  Which you use depends on how you have setup authentication in
+	phpGroupWare - for instance if you use an SQL DB (the default) then set up
+	mod_auth_pgsql (http://www.giuseppetanzilli.it/mod_auth_pgsql/) or
+	mod_auth_mysql (http://modauthmysql.sourceforge.net/)
+
+	An example .htaccess file for your repository's root
+	(e.g. /var/files) when using mod_auth_mysql would be:
+
+		Options None
+		DirectoryIndex index.html
+		RemoveHandler cgi-script .cgi .pl
+		RemoveType application/x-httpd-php .php .php3
+		RemoveType application/x-httpd-php-source .phps
+
+		AuthMySQL_Host localhost
+		AuthMySQL_User <mysql user>
+		AuthMySQL_Password <mysql password>
+		Auth_MySQL_DB <mysql egroupware database>
+
+		AuthMySQL_Password_Table "phpgw_accounts AS users"
+		AuthMySQL_Username_Field users.account_lid
+		AuthMySQL_Password_Field account_pwd
+
+		Auth_MySQL_Encryption_Types PHP_MD5
+
+		AuthName "V-Manager"
+		AuthType Basic
+		require valid-user
+
+	eGroupWare's WebDAV vfs class has some support for adding
+	.htaccess files when creating new directories but does not do
+	so when creating a new directory for a new user so you will
+	need to do this by hand or modify the vfs_dav class.  The .htaccess
+	file would look like "require user <username>"
+
+	Filemanager also supports group directories.  Add the
+	following to the .htaccess file:
+
+		AuthMySQL_Group_Table "phpgw_accounts AS groups, phpgw_accounts AS users, phpgw_acl AS acl"
+		Auth_MySQL_Group_Field groups.account_lid
+		Auth_MySQL_Group_Clause " AND groups.account_type='g' AND users.account_type='u' AND groups.account_id=acl.acl_location AND users.account_id=acl.acl_account AND groups.account_lid='Admins'"
+
+	And finally make the group directories by hand: 
+
+		mkdir home/Admins; mkdir home/Default
+
+	and each directory's .htaccess file by hand:
+
+		require group Admins
+
+TODO:
+
+Create group directories automaticly
+Create .htaccess file for group directories automaticly
+Create .htaccess files for new user directories automaticly
+Only list group directories to which the user has access
Index: /sandbox/filemanager/todo
===================================================================
--- /sandbox/filemanager/todo	(revision 1506)
+++ /sandbox/filemanager/todo	(revision 1506)
@@ -0,0 +1,33 @@
+display
+- practical out of the box userconfiguration
+- seperate colors for row off an on
+- sort by with sort arrows so we know whats sorted
+- sort by up and down
+- nicer colheads
+- toolbar cleanup
+- toolbar  prefs
+- different colors for messages
+- more mime icons
+- better mime handling
+
+extra funtionality
+- send file as email attachment
+- create pdf
+- not just presume a file is treated like a ascii file
+- cut/copy/paste
+- sidebox with explorerstyle (Reiner loves this)
+- other views (with image preview mode?!!)
+- new popup
+- zip
+- handling for when the vfs is not correct
+
+remove functionaliteit
+- some conf options
+
+bugs
+- still slow
+- total bytes/kbytes is not correct
+- downloading file gives index.php 
+- messages not working everywhere (check all)
+- errors with errorreporting 8
+- errors with uploading thouh it works
Index: /sandbox/filemanager/preferences.php
===================================================================
--- /sandbox/filemanager/preferences.php	(revision 1506)
+++ /sandbox/filemanager/preferences.php	(revision 1506)
@@ -0,0 +1,156 @@
+<?php
+  /**************************************************************************\
+  * eGroupWare                                                               *
+  * http://www.egroupware.org                                                *
+  * --------------------------------------------                             *
+  *  This program is free software; you can redistribute it and/or modify it *
+  *  under the terms of the GNU General Public License as published by the   *
+  *  Free Software Foundation; either version 2 of the License, or (at your  *
+  *  option) any later version.                                              *
+  \**************************************************************************/
+
+	/* $Id: preferences.php 13612 2004-02-02 04:18:17Z milosch $ */
+
+	$GLOBALS['phpgw_info']['flags'] = array(
+		'currentapp' => 'filemanager',
+		'enable_nextmatchs_class' => True,
+		'noheader' => True,
+		'nonavbar' => True
+	);
+
+	//var_dump($file_attributes);
+	include('../header.inc.php');
+	/*
+	   To add an on/off preference, just add it here.  Key is internal name, value is displayed name
+	*/
+	$other_checkboxes = array ("viewinnewwin" => lang("View documents in new window"), "viewonserver" => lang("View documents on server (if available)"), "viewtextplain" => lang("Unknown MIME-type defaults to text/plain when viewing"), "dotdot" => lang("Show .."), "dotfiles" => lang("Show .files"), "show_help" => lang("Show help"), "show_command_line" => lang("Show command line (EXPERIMENTAL. DANGEROUS.)"));
+
+	/*
+	   To add a dropdown preferences, add it here.  Key is internal name, value key is
+	   displayed name, value values are choices in the dropdown
+	*/
+	$other_dropdown = array ("show_upload_boxes" => array (lang("Default number of upload fields to show"), "5", "10", "20", "30"));
+
+	if ($submit)
+	{
+		$GLOBALS['phpgw']->preferences->read_repository ();
+
+		reset ($other_checkboxes);
+		while (list ($internal, $displayed) = each ($other_checkboxes))
+		{
+			$GLOBALS['phpgw']->preferences->add ($GLOBALS['phpgw_info']["flags"]["currentapp"], $internal, $$internal);
+		}
+
+		reset ($other_dropdown);
+		while (list ($internal, $displayed) = each ($other_dropdown))
+		{
+			$GLOBALS['phpgw']->preferences->add ($GLOBALS['phpgw_info']["flags"]["currentapp"], $internal, $$internal);
+		}
+
+		reset ($file_attributes);
+		while (list ($internal, $displayed) = each ($file_attributes))
+		{
+			$GLOBALS['phpgw']->preferences->add ($GLOBALS['phpgw_info']["flags"]["currentapp"], $internal, $$internal);
+		}
+
+
+		$GLOBALS['phpgw']->preferences->save_repository (True);
+     
+		Header('Location: '.$GLOBALS['phpgw']->link('/preferences/index.php'));
+		$GLOBALS['phpgw']->common->phpgw_exit();
+	}
+
+	function display_item ($field,$data)
+	{
+		global $p, $tr_color;
+
+		$tr_color = $GLOBALS['phpgw']->nextmatchs->alternate_row_color ($tr_color);
+		$var = array (
+			'bg_color'	=>	$tr_color,
+			'field'		=>	$field,
+			'data'		=>	$data
+		);
+		$p->set_var ($var);
+		$p->parse ('row', 'pref_list', True);
+	}
+
+	$GLOBALS['phpgw']->common->phpgw_header ();
+	echo parse_navbar ();
+
+	$p = CreateObject ('phpgwapi.Template', $GLOBALS['phpgw']->common->get_tpl_dir ('filemanager'));
+	$templates = array (
+		'pref'			=> 'pref.tpl',
+		'pref_colspan'	=> 'pref_colspan.tpl',
+		'pref_list'		=>	'pref_list.tpl'
+	);
+	$p->set_file ($templates);
+
+	$var = array (
+		'title'			=>	lang ('FileManager preferences'),
+		'action_url'	=>	$GLOBALS['phpgw']->link ('/' . $GLOBALS['phpgw_info']['flags']['currentapp'] . '/preferences.php'),
+		'bg_color'		=>	$GLOBALS['phpgw_info']['theme']['th_bg'],
+		'submit_lang'	=>	lang ('submit')
+	);
+	
+	$p->set_var ($var);
+	$p->set_var ('text', '&nbsp;');
+	$p->parse ('row', 'pref_colspan', True);
+
+	if ($totalerrors)
+	{
+		echo '<p><center>' . $GLOBALS['phpgw']->common->error_list($errors) . '</center>';
+	}
+
+
+	while (list ($internal, $displayed) = each ($file_attributes))
+	{
+		unset ($checked);
+		if ($GLOBALS['phpgw_info']["user"]["preferences"]["filemanager"][$internal])
+		{
+			$checked = 1;
+		}
+
+		$str .= html_form_input ("checkbox", $internal, NULL, NULL, NULL, $checked, NULL, 1) . " $displayed" . html_break (1, NULL, 1);
+	}
+
+	display_item (lang ('Display attributes'), $str);
+
+	reset ($other_checkboxes);
+	while (list ($internal, $displayed) = each ($other_checkboxes))
+	{
+		unset ($checked);
+		if ($GLOBALS['phpgw_info']["user"]["preferences"]["filemanager"][$internal])
+		{
+			$checked = 1;
+		}
+
+		$str = html_form_input ("checkbox", $internal, NULL, NULL, NULL, $checked, NULL, 1);
+		display_item ($displayed, $str);
+	}
+
+	reset ($other_dropdown);
+	while (list ($internal, $value_array) = each ($other_dropdown))
+	{
+		reset ($value_array);
+		unset ($options);
+		while (list ($num, $value) = each ($value_array))
+		{
+			if ($num == 0)
+			{
+				$displayed = $value;
+				continue;
+			}
+
+			$options .= html_form_option ($value, $value, $GLOBALS['phpgw_info']["user"]["preferences"]["filemanager"][$internal] == $value, True);
+		}
+
+		$output = html_form_select_begin ($internal, True);
+		$output .= $options;
+		$output .= html_form_select_end (True);
+
+		display_item ($displayed, $output);
+	}
+
+	$p->pparse ('out', 'pref');
+	$GLOBALS['phpgw']->common->phpgw_footer ();
+?>
Index: /sandbox/filemanager/inc/hook_preferences.inc.php
===================================================================
--- /sandbox/filemanager/inc/hook_preferences.inc.php	(revision 1506)
+++ /sandbox/filemanager/inc/hook_preferences.inc.php	(revision 1506)
@@ -0,0 +1,24 @@
+<?php
+  /**************************************************************************\
+  * eGroupWare                                                               *
+  * http://www.egroupware.org                                                *
+  * Written by Joseph Engo <jengo@phpgroupware.org>                          *
+  * --------------------------------------------                             *
+  *  This program is free software; you can redistribute it and/or modify it *
+  *  under the terms of the GNU General Public License as published by the   *
+  *  Free Software Foundation; either version 2 of the License, or (at your  *
+  *  option) any later version.                                              *
+  \**************************************************************************/
+
+  /* $Id: hook_preferences.inc.php 13612 2004-02-02 04:18:17Z milosch $ */
+{
+// Only Modify the $file and $title variables.....
+	$title = $appname;
+	$file = Array(
+		'Preferences' => $GLOBALS['phpgw']->link('/preferences/preferences.php','appname='.$appname),
+		'Grant Access'    => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname)
+	);
+//Do not modify below this line
+	display_section($appname,$title,$file);
+}
+?>
Index: /sandbox/filemanager/inc/hook_sidebox_menu.inc.php
===================================================================
--- /sandbox/filemanager/inc/hook_sidebox_menu.inc.php	(revision 1506)
+++ /sandbox/filemanager/inc/hook_sidebox_menu.inc.php	(revision 1506)
@@ -0,0 +1,38 @@
+<?php
+  /**************************************************************************\
+  * eGroupWare - Calendar's Sidebox-Menu for idots-template                  *
+  * http://www.egroupware.org                                                *
+  * Written by Pim Snel <pim@lingewoud.nl>                                   *
+  * --------------------------------------------                             *
+  *  This program is free software; you can redistribute it and/or modify it *
+  *  under the terms of the GNU General Public License as published by the   *
+  *  Free Software Foundation; either version 2 of the License, or (at your  *
+  *  option) any later version.                                              *
+  \**************************************************************************/
+
+  /* $Id: hook_sidebox_menu.inc.php 13525 2004-01-27 18:19:23Z reinerj $ */
+{
+
+ /*
+	This hookfile is for generating an app-specific side menu used in the idots
+	template set.
+
+	$menu_title speaks for itself
+	$file is the array with link to app functions
+
+	display_sidebox can be called as much as you like
+ */
+
+	$menu_title = $GLOBALS['phpgw_info']['apps'][$appname]['title'] . ' '. lang('Menu');
+	/*$file = Array(
+	array('','text'=>'Filemanager Preferences','link'=>$GLOBALS['phpgw']->link('/preferences/preferences.php','appname=filemanager')),
+	);*/
+	$file = Array(
+		'Filemanager preferences'=>$GLOBALS['phpgw']->link('/preferences/preferences.php','appname=filemanager'),
+		'Grant Access'=>$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app=filemanager'),	
+	);
+
+	display_sidebox($appname,$menu_title,$file);
+
+}
+?>
Index: /sandbox/filemanager/inc/hook_add_def_pref.inc.php
===================================================================
--- /sandbox/filemanager/inc/hook_add_def_pref.inc.php	(revision 1506)
+++ /sandbox/filemanager/inc/hook_add_def_pref.inc.php	(revision 1506)
@@ -0,0 +1,23 @@
+<?php
+
+global $pref;
+
+$pref->change ("filemanager", "name", "True");
+$pref->change ("filemanager", "mime_type", "True");
+$pref->change ("filemanager", "size", "True");
+$pref->change ("filemanager", "created", "True");
+$pref->change ("filemanager", "modified", "True");
+//$pref->change ("filemanager", "owner", "False");
+$pref->change ("filemanager", "createdby_id", "True");
+$pref->change ("filemanager", "modifiedby_id", "True");
+//$pref->change ("filemanager", "app", "False");
+$pref->change ("filemanager", "comment", "True");
+//$pref->change ("filemanager", "viewinnewwin", "False");
+//$pref->change ("filemanager", "viewonserver", "False");
+$pref->change ("filemanager", "viewtextplain", True);
+//$pref->change ("filemanager", "dotdot", "False");
+//$pref->change ("filemanager", "dotfiles", "False");
+//$pref->change ("filemanager", "show_help", "False");
+$pref->change ("filemanager", "show_upload_boxes", "5");
+
+?>
Index: /sandbox/filemanager/inc/hook_admin.inc.php
===================================================================
--- /sandbox/filemanager/inc/hook_admin.inc.php	(revision 1506)
+++ /sandbox/filemanager/inc/hook_admin.inc.php	(revision 1506)
@@ -0,0 +1,3 @@
+<?php
+
+?>
Index: /sandbox/filemanager/inc/class.uifilemanager.inc.php
===================================================================
--- /sandbox/filemanager/inc/class.uifilemanager.inc.php	(revision 1506)
+++ /sandbox/filemanager/inc/class.uifilemanager.inc.php	(revision 1506)
@@ -0,0 +1,2079 @@
+<?php
+	/**************************************************************************\
+	* -------------------------------------------------------------------------*
+	* This library is free software; you can redistribute it and/or modify it  *
+	* under the terms of the GNU Lesser General Public License as published by *
+	* the Free Software Foundation; either version 2.1 of the License,         *
+	* or any later version.                                                    *
+	* This library is distributed in the hope that it will be useful, but      *
+	* WITHOUT ANY WARRANTY; without even the implied warranty of               *
+	* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                     *
+	* See the GNU Lesser General Public License for more details.              *
+	* You should have received a copy of the GNU Lesser General Public License *
+	* along with this library; if not, write to the Free Software Foundation,  *
+	* Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA            *
+	\**************************************************************************/
+
+	/* $Id: class.uifilemanager.inc.php 17511 2004-12-12 06:35:24Z dawnlinux $ */
+
+	class uifilemanager
+	{
+		var $public_functions = array(
+			'index'	=> True,
+			'help'	=> True,
+			'view'  => True,
+			'history' => True,
+			'edit' => True,
+			'download'=>True
+		);
+
+		//keep
+		var $bo;
+		var $t; //template object
+		var $dispath;
+		var $cwd;
+		var $lesspath;
+		var $readable_groups;
+		var $files_array;
+		var $numoffiles;
+		var $dispsep;
+
+		var $target;
+
+		var $prefs;//array
+
+		var $groups_applications;
+
+		//originally post_vars
+		//		var $goto;
+		var $goto_x;
+		var $download_x;
+		var $todir;
+		var $changedir; // for switching dir.
+		var $cdtodir; // for switching dir.
+//		var $createdir;
+		var $newfile_or_dir;
+		var $newdir_x;
+		var $newfile_x;
+		var $createfile_var;
+		var $delete_x;
+		var $renamefiles;
+		var $rename_x;
+		var $move_to_x;
+		//		var $copy_to;
+		var $copy_to_x;
+		var $edit_x;
+		var $edit_comments_x;
+		var $edit_file;
+		var $edit_preview_x;
+		var $edit_save_x;
+		var $edit_save_done_x;
+		var $edit_cancel_x;
+		var $comment_files;
+		var $upload_x;
+		var $uploadprocess;
+
+		// this ones must be checked thorougly;
+		var $fileman = Array();
+		//var $fileman;
+		var $path;
+		var $file; // FIXME WHERE IS THIS FILLED?
+		var $sortby;
+		var $messages = array();
+		var $show_upload_boxes;
+
+		var $debug = false;
+		var $now;
+
+		function uifilemanager()
+		{
+			//			error_reporting(8);
+			$GLOBALS['phpgw']->browser = CreateObject('phpgwapi.browser');
+
+			$this->now = date('Y-m-d');
+
+			$this->bo = CreateObject('filemanager.bofilemanager');
+
+			$this->t = $GLOBALS['phpgw']->template;
+
+			// here local vars are created from the HTTP vars
+			@reset($GLOBALS['HTTP_POST_VARS']);
+			while(list($name,) = @each($GLOBALS['HTTP_POST_VARS']))
+			{
+				$this->$name = $GLOBALS['HTTP_POST_VARS'][$name];
+			}
+
+			@reset($GLOBALS['HTTP_GET_VARS']);
+			while(list($name,) = @each($GLOBALS['HTTP_GET_VARS']))
+			{
+				$$name = $GLOBALS['HTTP_GET_VARS'][$name];
+			}
+
+			$to_decode = array
+			(
+				/*
+				Decode
+				'var'	when	  'avar' == 'value'
+				or
+				'var'	when	  'var'  is set
+				*/
+				'op'	=> array('op' => ''),
+				'path'	=> array('path' => ''),
+				'file'	=> array('file' => ''),
+				'sortby'	=> array('sortby' => ''),
+				//				'fileman'	=> array('fileman' => ''),
+				'messages'	=> array('messages'	=> ''),
+				//				'help_name'	=> array('help_name' => ''),
+				//				'renamefiles'	=> array('renamefiles' => ''),
+				'comment_files'	=> array('comment_files' => ''),
+				'show_upload_boxes'	=> array('show_upload_boxes' => '')
+			);
+
+			reset($to_decode);
+			while(list($var, $conditions) = each($to_decode))
+			{
+				while(list($condvar, $condvalue) = each($conditions))
+				{
+					if(isset($$condvar) && ($condvar == $var || $$condvar == $condvalue))
+					{
+						if(is_array($$var))
+						{
+							$temp = array();
+							while(list($varkey, $varvalue) = each($$var))
+							{
+								if(is_int($varkey))
+								{
+									$temp[$varkey] = stripslashes(base64_decode(urldecode(($varvalue))));
+								}
+								else
+								{
+									$temp[stripslashes(base64_decode(urldecode(($varkey))))] = $varvalue;
+								}
+							}
+							$this->$var = $temp;
+						}
+						elseif(isset($$var))
+						{
+							$this->$var = stripslashes(base64_decode(urldecode($$var)));
+						}
+					}
+				}
+			}
+
+			// get appl. and user prefs
+			$pref = CreateObject('phpgwapi.preferences', $this->bo->userinfo['username']);
+			$pref->read_repository();
+			//			$GLOBALS['phpgw']->hooks->single('add_def_pref', $GLOBALS['appname']);
+			$pref->save_repository(True);
+			$pref_array = $pref->read_repository();
+			$this->prefs = $pref_array[$this->bo->appname]; //FIXME check appname var in _debug_array
+
+			//always show name
+
+			$this->prefs[name] =1;
+
+
+			if($this->prefs['viewinnewwin'])
+			{
+				$this->target = '_blank';
+			}
+
+
+			/*
+				Check for essential directories
+				admin must be able to disable these tests
+			*/
+			
+			// check if basedir exist 
+			$test=$this->bo->vfs->get_real_info(array('string' => $this->bo->basedir, 'relatives' => array(RELATIVE_NONE), 'relative' => False));
+			if($test[mime_type]!='Directory')
+			{
+				die('Base directory does not exist, Ask adminstrator to check the global configuration.');
+			}
+
+			$test=$this->bo->vfs->get_real_info(array('string' => $this->bo->basedir.$this->bo->fakebase, 'relatives' => array(RELATIVE_NONE), 'relative' => False));
+			if($test[mime_type]!='Directory')
+			{
+
+				$this->bo->vfs->override_acl = 1;
+
+				$this->bo->vfs->mkdir(array(
+					'string' => $this->bo->fakebase,
+					'relatives' => array(RELATIVE_NONE)
+				));
+				
+				$this->bo->vfs->override_acl = 0;
+
+				//test one more time
+				$test=$this->bo->vfs->get_real_info(array('string' => $this->bo->basedir.$this->bo->fakebase, 'relatives' => array(RELATIVE_NONE), 'relative' => False));
+
+				if($test[mime_type]!='Directory')
+				{
+					die('Fake Base directory does not exist and could not be created, please ask the administrator to check the global configuration.');
+				}
+				else
+				{
+					$this->messages[]= $GLOBALS['phpgw']->common->error_list(array(
+						lang('Fake Base Dir did not exist, eGroupWare created a new one.')
+					));
+				}
+			}
+
+//			die($this->bo->homedir);
+			$test=$this->bo->vfs->get_real_info(array('string' => $this->bo->basedir.$this->bo->homedir, 'relatives' => array(RELATIVE_NONE), 'relative' => False));
+			if($test[mime_type]!='Directory')
+			{
+				$this->bo->vfs->override_acl = 1;
+
+				$this->bo->vfs->mkdir(array(
+					'string' => $this->bo->homedir,
+					'relatives' => array(RELATIVE_NONE)
+				));
+				
+				$this->bo->vfs->override_acl = 0;
+
+				//test one more time
+				$test=$this->bo->vfs->get_real_info(array('string' => $this->bo->basedir.$this->bo->homedir, 'relatives' => array(RELATIVE_NONE), 'relative' => False));
+
+				if($test[mime_type]!='Directory')
+				{
+					die('Your Home Dir does not exist and could not be created, please ask the adminstrator to check the global configuration.');
+				}
+				else
+				{
+					$this->messages[]= $GLOBALS['phpgw']->common->error_list(array(
+						lang('Your Home Dir did not exist, eGroupWare created a new one.')
+					));
+					// FIXME we just created a fresh home dir so we know there nothing in it so we have to remove all existing content
+				}
+			}
+			
+			
+		}
+
+		function index()
+		{
+			if($noheader || $nofooter || ($this->download_x && (count($this->fileman) > 0)))
+			{
+				$noheader = True;
+				$nofooter = True;
+				$noappheader= True;
+				$nonavbar= True;
+			}
+			else
+			{
+				$GLOBALS['phpgw_info']['flags'] = array
+				(
+					'currentapp'	=> 'filemanager',
+					'noheader'	=> $noheader,
+					'nonavbar' => $nonavbar,
+					'nofooter'	=> $nofooter,
+					'noappheader'	=> $noappheader,
+					'enable_browser_class'	=> True
+				);
+
+				$GLOBALS['phpgw']->common->phpgw_header();
+
+			}
+
+
+			# Page to process users
+			# Code is fairly hackish at the beginning, but it gets better
+			# Highly suggest turning wrapping off due to long SQL queries
+
+			###
+			# Some hacks to set and display directory paths correctly
+			###
+/*
+			if($this->goto || $this->goto_x)
+			{
+				$this->path = $this->cdtodir;
+			}
+*/
+			// new method for switching to a new dir.
+			if($this->changedir=='true' && $this->cdtodir || $this->goto_x)
+			{
+				$this->path = $this->cdtodir;
+			}
+
+			if(!$this->path)
+			{
+				$this->path = $this->bo->vfs->pwd();
+
+				if(!$this->path || $this->bo->vfs->pwd(array('full' => False)) == '')
+				{
+					$this->path = $this->bo->homedir; 
+				}
+			}
+
+			$this->bo->vfs->cd(array('string' => False, 'relatives' => array(RELATIVE_NONE), 'relative' => False));
+			$this->bo->vfs->cd(array('string' => $this->path, 'relatives' => array(RELATIVE_NONE), 'relative' => False));
+
+			$pwd = $this->bo->vfs->pwd();
+
+			if(!$this->cwd = substr($this->path, strlen($this->bo->homedir) + 1))  
+			{
+				$this->cwd = '/';
+			}
+			else
+			{
+				$this->cwd = substr($pwd, strrpos($pwd, '/') + 1);
+			}
+
+			$this->disppath = $this->path;
+
+			/* This just prevents // in some cases */
+			if($this->path == '/')
+			{
+				$this->dispsep = '';
+			}
+			else
+			{
+				$this->dispsep = '/';
+			}
+
+			if(!($this->lesspath = substr($this->path, 0, strrpos($this->path, '/'))))
+			{
+				$this->lesspath = '/';
+			}
+
+			# Get their readable groups to be used throughout the script
+			$groups = array();
+
+			$groups = $GLOBALS['phpgw']->accounts->get_list('groups');
+
+			$this->readable_groups = array();
+
+			while(list($num, $account) = each($groups))
+			{
+				if($this->bo->vfs->acl_check(array('owner_id' => $account['account_id'],	'operation' => PHPGW_ACL_READ)))
+				{
+					$this->readable_groups[$account['account_lid']] = Array('account_id' => $account['account_id'], 'account_name' => $account['account_lid']);
+				}
+			}
+
+			$this->groups_applications = array();
+
+			while(list($num, $group_array) = each($this->readable_groups))
+			{
+				$group_id = $GLOBALS['phpgw']->accounts->name2id($group_array['account_name']);
+
+				$applications = CreateObject('phpgwapi.applications', $group_id);
+				$this->groups_applications[$group_array['account_name']] = $applications->read_account_specific();
+			}
+
+			# We determine if they're in their home directory or a group's directory,
+			# and set the VFS working_id appropriately
+			if((preg_match('+^'.$this->bo->fakebase.'\/(.*)(\/|$)+U', $this->path, $matches)) && $matches[1] != $this->bo->userinfo['account_lid']) //FIXME matches not defined
+
+			{
+				$this->bo->vfs->working_id = $GLOBALS['phpgw']->accounts->name2id($matches[1]);//FIXME matches not defined
+
+			}
+			else
+			{
+				$this->bo->vfs->working_id = $this->bo->userinfo['username'];
+			}
+
+
+			# FIXME # comment waht happens here
+			if($this->path != $this->bo->homedir && $this->path != $this->bo->fakebase && $this->path != '/' && !$this->bo->vfs->acl_check(array('string' => $this->path, 'relatives' => array(RELATIVE_NONE),'operation' => PHPGW_ACL_READ)))
+			{
+				$this->messages[]= $GLOBALS['phpgw']->common->error_list(array(lang('You do not have access to %1', $this->path)));
+				$this->html_link('/index.php','menuaction=filemanager.uifilemanager.index','path='.$this->homedir, lang('Go to your home directory'));
+
+				$GLOBALS['phpgw']->common->phpgw_footer();
+				$GLOBALS['phpgw']->common->phpgw_exit();
+			}
+
+			$this->bo->userinfo['working_id'] = $this->bo->vfs->working_id;
+			$this->bo->userinfo['working_lid'] = $GLOBALS['phpgw']->accounts->id2name($this->bo->userinfo['working_id']);
+
+			# If their home directory doesn't exist, we try to create it
+			# Same for group directories
+
+			
+		// Moved to constructor
+		/*
+			if(($this->path == $this->homedir)	&& !$this->bo->vfs->file_exists($pim_tmp_arr))
+			{
+				$this->bo->vfs->override_acl = 1;
+
+				if(!$this->bo->vfs->mkdir(array(
+					'string' => $this->bo->homedir,
+					'relatives' => array(RELATIVE_NONE)
+				)))
+				{
+					$p = $this->bo->vfs->path_parts($pim_tmp_arr);
+
+					$this->messages[]= $GLOBALS['phpgw']->common->error_list(array(
+						lang('Could not create directory %1',
+						$this->bo->homedir . ' (' . $p->real_full_path . ')'
+					)));
+				}
+
+				$this->bo->vfs->override_acl = 0;
+			}
+			*/
+
+			# Verify path is real
+			if($this->path != $this->bo->homedir && $this->path != '/' && $this->path != $this->bo->fakebase)
+			{
+				if(!$this->bo->vfs->file_exists(array(
+					'string' => $this->path,
+					'relatives' => array(RELATIVE_NONE)
+				)))
+				{
+					$this->messages[] = $GLOBALS['phpgw']->common->error_list(array(lang('Directory %1 does not exist', $this->path)));
+					$this->html_link('/index.php','menuaction=filemanager.uifilemanager.index','path='.$this->bo->homedir, lang('Go to your home directory'));
+
+					$GLOBALS['phpgw']->common->phpgw_footer();
+					$GLOBALS['phpgw']->common->phpgw_exit();
+				}
+			}
+
+			/* Update if they request it, or one out of 20 page loads */
+			srand((double) microtime() * 1000000);
+			if($update || rand(0, 19) == 4)
+			{
+				$this->bo->vfs->update_real(array(
+					'string' => $this->path,
+					'relatives' => array(RELATIVE_NONE)
+				));
+			}
+
+			# Check available permissions for $this->path, so we can disable unusable operations in user interface
+			if($this->bo->vfs->acl_check(array(
+				'string' => $this->path,
+				'relatives' => array(RELATIVE_NONE),
+				'operation' => PHPGW_ACL_ADD
+			)))
+			{
+				$this->can_add = True;
+			}
+
+			# Default is to sort by name
+			if(!$this->sortby)
+			{
+				$this->sortby = 'name';
+			}
+
+			if($this->debug)
+			{
+				$this->debug_filemanager();
+			}
+
+			# main action switch
+			// FIXME this will become a switch
+			if($this->newfile_x && $this->newfile_or_dir) // create new textfile
+			{
+				$this->createfile();
+			}
+			elseif($this->newfile_or_dir && $this->newdir_x)
+			{
+				$this->createdir();
+			}
+			elseif($this->uploadprocess)
+			{
+				$this->fileUpload();
+			}
+			elseif($this->upload_x || $this->show_upload_boxes)
+			{
+				$this->showUploadboxes();
+			}
+			elseif($this->copy_to_x)
+			{
+				$this->copyTo();
+			}
+			elseif($this->move_to_x)
+			{
+				$this->moveTo();
+			}
+			elseif($this->download_x)
+			{
+				$this->download();
+			}
+			elseif($this->renamefiles)
+			{
+				$this->rename();
+			}
+			elseif($this->comment_files)
+			{
+				$this->editComment();
+			}
+			elseif($this->edit_cancel_x)
+			{
+				$this->readFilesInfo();
+				$this->fileListing();
+			}
+			elseif($this->edit_x || $this->edit_preview_x || $this->edit_save_x || $this->edit_save_done_x)
+			{
+				$this->edit();
+			}
+			elseif($this->delete_x)
+			{
+				$this->delete();
+			}
+			else
+			{
+				$this->readFilesInfo();
+				$this->fileListing();
+			}
+		}
+
+		function fileListing()
+		{
+			$this->t->set_file(array('filemanager_list_t' => 'filelisting.tpl'));
+			$this->t->set_block('filemanager_list_t','filemanager_header','filemanager_header');
+			$this->t->set_block('filemanager_list_t','column','column');
+			$this->t->set_block('filemanager_list_t','row','row');
+			$this->t->set_block('filemanager_list_t','filemanager_footer','filemanager_footer');
+
+			$vars['form_action']=$this->encode_href('/index.php', 'menuaction=filemanager.uifilemanager.index','path='.$this->path);
+			if($this->numoffiles || $this->cwd)
+			{
+				while(list($num, $name) = each($this->prefs))
+				{
+					if($name)
+					{
+						$columns++;
+					}
+				}
+				$columns++;
+
+				$vars[toolbar0]=$this->toolbar('location');
+				$vars[toolbar1]=$this->toolbar('list_nav');
+
+				if(count($this->messages)>0) 
+				{
+					foreach($this->messages as $msg)
+					{
+						$messages.='<p>'.$msg.'</p>';
+					}
+				}
+
+				$vars[messages]=$messages;
+
+				$this->t->set_var($vars);
+				$this->t->pparse('out','filemanager_header');
+
+				###
+				# Start File Table Column Headers
+				# Reads values from $file_attributes array and preferences
+				###
+				$this->t->set_var('actions',lang('select'));
+
+				reset($this->bo->file_attributes);
+
+				if($this->numoffiles>0)
+				{
+					while(list($internal, $displayed) = each($this->bo->file_attributes))
+					{
+						if($this->prefs[$internal])
+						{
+							$col_data='<span><a href="'.$this->encode_href('/index.php','menuaction=filemanager.uifilemanager.index','path='.$this->path.'&sortby='.$internal).'">'.$displayed.'</a></span>';
+							$this->t->set_var('col_data',$col_data);
+							$this->t->parse('columns','column',True);
+						}
+					}
+
+					$this->t->set_var('row_tr_color','#dedede');
+					
+					//kan dit weg?
+					$this->t->parse('rows','row');
+					
+					$this->t->pparse('out','row');
+				}
+				else
+				{
+					$lang_nofiles=lang('No files in this directory.');
+				}
+				$vars[lang_no_files]=$lang_nofiles;
+
+
+				if($this->prefs['dotdot'] && $this->prefs['name'] && $this->path != '/')
+				{
+					$this->t->set_var('actions','');
+
+					$link=$this->encode_href('/index.php','menuaction=filemanager.uifilemanager.index','path='.$this->lesspath);
+
+					$col_data='<a href="'.$link.'"><img src="'.$GLOBALS['phpgw']->common->image('filemanager','mime16up').' "alt="'.lang('Folder Up').'" /></a>';
+					$col_data.='&nbsp;<a href="'.$link.'">..</a>';
+
+					$this->t->set_var('col_data',$col_data);
+					$this->t->parse('columns','column');
+
+					if($this->prefs['mime_type'])
+					{
+						$col_data=lang('Directory');
+						$this->t->set_var('col_data',$col_data);
+						$this->t->parse('columns','column',True);
+					}
+
+					$this->t->set_var('row_tr_color',$tr_color);
+					$this->t->parse('rows','row');
+					$this->t->pparse('out','row');
+				}
+
+				# List all of the files, with their attributes
+				@reset($this->files_array);
+				for($i = 0; $i != $this->numoffiles; $i++)
+				{
+					$files = $this->files_array[$i];
+
+					if($this->rename_x || $this->edit_comments_x)
+					{
+						unset($this_selected);
+						unset($renamethis);
+						unset($edit_this_comment);
+
+						for($j = 0; $j != $this->numoffiles; $j++)
+						{
+							if($this->fileman[$j] == $files['name'])
+							{
+								$this_selected = 1;
+								break;
+							}
+						}
+
+						if($this->rename_x && $this_selected)
+						{
+							$renamethis = 1;
+						}
+						elseif($this->edit_comments_x && $this_selected)
+						{
+							$edit_this_comment = 1;
+						}
+					}
+
+					if(!$this->prefs['dotfiles'] && ereg("^\.", $files['name']))
+					{
+						continue;
+					}
+
+					# Checkboxes
+					if(!$this->rename_x && !$this->edit_comments_x && $this->path != $this->bo->fakebase && $this->path != '/')
+					{
+						$cbox='<input type="checkbox" name="fileman['.$i.']" value="'.$files['name'].'">';
+						$this->t->set_var('actions',$cbox);
+					}
+					elseif($renamethis)
+					{
+						$cbox=$this->html_form_input('hidden', 'fileman[' . base64_encode($files['name']) . ']', $files['name'], NULL, NULL, 'checked');
+						$this->t->set_var('actions',$cbox);
+					}
+					else
+					{
+						$this->t->set_var('actions','');
+					}
+
+					# File name and icon
+					if($renamethis)
+					{
+						$col_data=$this->mime_icon($files['mime_type']);
+						$col_data.='<input type="text" maxlength="255" name="renamefiles[' . $files['name'] . ']" value="'.$files['name'].'">';
+					}
+					else
+					{
+						if($files['mime_type'] == 'Directory')
+						{
+							$link=$this->encode_href('/index.php','menuaction=filemanager.uifilemanager.index','path='.$this->path.$this->dispsep.$files['name']);
+
+							$icon=$this->mime_icon($files['mime_type']);
+
+							$col_data='<a href="'.$link.'">'.$icon.'</a>&nbsp;';
+							$col_data.='<a href="'.$link.'">'.$files['name'].'</a>&nbsp;';
+						}
+						else
+						{
+
+							if($this->prefs['viewonserver'] && isset($this->bo->filesdir) && !$files['link_directory'])
+							{
+								#FIXME
+								$clickview = $this->filesdir.$pwd.'/'.$files['name'];
+
+								if($phpwh_debug)
+								{
+									echo 'Setting clickview = '.$clickview.'<br>'."\n";
+									$this->html_link($clickview,'', '',$files['name'], 0, 1, 0, '');
+								}
+							}
+							else
+							{
+								$icon=$this->mime_icon($files['mime_type']);
+								$link=$this->encode_href('/index.php','menuaction=filemanager.uifilemanager.view','file='.$files['name'].'&path='.$this->path);
+
+								$col_data='<a href="'.$link.'" target="'.$this->target.'">'.$icon.'</a>&nbsp;<a href="'.$link.'" target="'.$this->target.'">'.$files['name'].'</a>';
+							}
+						}
+					}
+
+					$this->t->set_var('col_data',$col_data);
+					$this->t->parse('columns','column');
+
+					# MIME type
+					if($this->prefs['mime_type'])
+					{
+						$col_data=$files['mime_type'];
+						$this->t->set_var('col_data',$col_data);
+						$this->t->parse('columns','column',True);
+					}
+
+					# File size
+					if($this->prefs['size'])
+					{
+						$tmp_arr=array(
+							'string'	=> $files['directory'] . '/' . $files['name'],
+							'relatives'	=> array(RELATIVE_NONE)
+						);
+						if($files['mime_type'] != 'Directory') $tmp_arr['checksubdirs'] = false;
+
+						$size = $this->bo->vfs->get_size($tmp_arr);
+
+						$col_data=$this->bo->borkb($size);
+
+						$this->t->set_var('col_data',$col_data);
+						$this->t->parse('columns','column',True);
+					}
+
+					# Date created
+					if($this->prefs['created'])
+					{
+						$col_data=$files['created'];
+						$this->t->set_var('col_data',$col_data);
+						$this->t->parse('columns','column',True);
+					}
+
+					# Date modified
+					if($this->prefs['modified'])
+					{
+						if($files['modified'] != '0000-00-00')
+						{
+							$col_data=$files['modified'];
+						}
+						else
+						{
+							$col_data='';
+						}
+
+						$this->t->set_var('col_data',$col_data);
+						$this->t->parse('columns','column',True);
+					}
+
+					# Owner name
+					if($this->prefs['owner'])
+					{
+						$this->t->set_var('col_data',$GLOBALS['phpgw']->accounts->id2name($files['owner_id']));
+						$this->t->parse('columns','column',True);
+					}
+
+					# Creator name
+					if($this->prefs['createdby_id'])
+					{
+						$this->html_table_col_begin();
+						if($files['createdby_id'])
+						{
+							$col_data=$GLOBALS['phpgw']->accounts->id2name($files['createdby_id']);
+						}
+						else $col_data='';
+
+						$this->t->set_var('col_data',$col_data);
+						$this->t->parse('columns','column',True);
+					}
+
+					# Modified by name
+					if($this->prefs['modifiedby_id'])
+					{
+						if($files['modifiedby_id'])
+						{
+							$col_data=$GLOBALS['phpgw']->accounts->id2name($files['modifiedby_id']);
+						}
+						else $col_data='';
+						$this->t->set_var('col_data',$col_data);
+						$this->t->parse('columns','column',True);
+					}
+
+					# Application
+					if($this->prefs['app'])
+					{
+						$col_data=$files['app'];
+						$this->t->set_var('col_data',$col_data);
+						$this->t->parse('columns','column',True);
+					}
+
+					# Comment
+					if($this->prefs['comment'])
+					{
+						if($edit_this_comment)
+						{
+							$col_data='<input type="text" name="comment_files[' . $files['name'] . ']" value="'.$files['comment'].'" maxlength="255">';
+						}
+						else
+						{
+							$col_data=$files['comment'];
+						}
+						$this->t->set_var('col_data',$col_data);
+						$this->t->parse('columns','column',True);
+					}
+
+					# Version
+					if($this->prefs['version'])
+					{
+						$link=$this->encode_href('/index.php','menuaction=filemanager.uifilemanager.history','file='.$files['name'].'&path='.$this->path);
+						$col_data='<a href="'.$link.'" target="_blank">'.$files['version'].'</a>';
+						$this->t->set_var('col_data',$col_data);
+						$this->t->parse('columns','column',True);
+					}
+
+					if($files['mime_type'] == 'Directory')
+					{
+						$usedspace += $fileinfo[0];
+					}
+					else
+					{
+						$usedspace += $files['size'];
+					}
+
+					$this->t->set_var('row_tr_color','');
+					$this->t->parse('rows','row');
+					$this->t->pparse('out','row');
+				}
+
+				// when renaming or changing comments render extra sumbmit button
+				if($this->rename_x || $this->edit_comments_x)
+				{
+					$col_data='<br/><input type="submit" name="save_changes" value="'.lang('Save changes').'">';
+					$this->t->set_var('col_data',$col_data);
+					$this->t->parse('columns','column');
+					$this->t->set_var('row_tr_color','');
+					$this->t->parse('rows','row');
+					$this->t->pparse('out','row');
+				}
+			}
+
+			// The file and directory information
+			$vars[lang_files_in_this_dir]=lang('Files in this directory');
+			$vars[files_in_this_dir]=$this->numoffiles;
+
+			$vars[lang_used_space]=lang('Used space');
+			$vars[used_space]=$this->bo->borkb($usedspace, NULL, 1);
+
+			if($this->path == $this->bo->homedir || $this->path == $this->bo->fakebase)
+			{
+				$vars[lang_unused_space]=lang('Unused space');
+				$vars[unused_space]=$this->bo->borkb($this->bo->userinfo['hdspace'] - $usedspace, NULL, 1);
+
+				$tmp_arr=array(
+					'string'	=> $this->path,
+					'relatives'	=> array(RELATIVE_NONE)
+				);
+
+				$ls_array = $this->bo->vfs->ls($tmp_arr);
+
+				$vars[lang_total_files]=lang('Total Files');
+				$vars[total_files]=	count($ls_array);
+			}
+
+			$this->t->set_var($vars);
+			$this->t->pparse('out','filemanager_footer');
+
+			$GLOBALS['phpgw']->common->phpgw_footer();
+			$GLOBALS['phpgw']->common->phpgw_exit();
+		}
+
+		function readFilesInfo()
+		{
+			// start files info
+
+			# Read in file info from database to use in the rest of the script
+			# $fakebase is a special directory.  In that directory, we list the user's
+			# home directory and the directories for the groups they're in
+			$this->numoffiles = 0;
+			if($this->path == $this->bo->fakebase)
+			{
+				// FIXME this test can be removed
+				if(!$this->bo->vfs->file_exists(array('string' => $this->bo->homedir, 'relatives' => array(RELATIVE_NONE))))
+				{
+					$this->bo->vfs->mkdir(array('string' => $this->bo->homedir, 'relatives' => array(RELATIVE_NONE)));
+				}
+
+				$ls_array = $this->bo->vfs->ls(array(
+					'string' => $this->bo->homedir,
+					'relatives' => array(RELATIVE_NONE),
+					'checksubdirs' => False,
+					'nofiles' => True
+				));
+				$this->files_array[] = $ls_array[0];
+				$this->numoffiles++;
+
+				reset($this->readable_groups);
+				while(list($num, $group_array) = each($this->readable_groups))
+				{
+					# If the group doesn't have access to this app, we don't show it
+					if(!$this->groups_applications[$group_array['account_name']][$this->bo->appname]['enabled'])
+					{
+						continue;
+					}
+
+
+					if(!$this->bo->vfs->file_exists(array('string' => $this->bo->fakebase.'/'.$group_array['account_name'],'relatives'	=> array(RELATIVE_NONE))))
+					{
+						$this->bo->vfs->override_acl = 1;
+						$this->bo->vfs->mkdir(array(
+							'string' => $this->bo->fakebase.'/'.$group_array['account_name'],
+							'relatives' => array(RELATIVE_NONE)
+						));
+
+						// FIXME we just created a fresh group dir so we know there nothing in it so we have to remove all existing content
+						
+						
+						$this->bo->vfs->override_acl = 0;
+
+						$this->bo->vfs->set_attributes(array('string' => $this->bo->fakebase.'/'.$group_array['account_name'],'relatives'	=> array(RELATIVE_NONE),'attributes' => array('owner_id' => $group_array['account_id'],'createdby_id' => $group_array['account_id'])));
+					}
+
+					$ls_array = $this->bo->vfs->ls(array('string' => $this->bo->fakebase.'/'.$group_array['account_name'],'relatives'	=> array(RELATIVE_NONE),'checksubdirs' => False,'nofiles' => True));
+
+					$this->files_array[] = $ls_array[0];
+
+					$this->numoffiles++;
+				}
+			}
+			else
+			{
+				$ls_array = $this->bo->vfs->ls(array(
+					'string' => $this->path,
+					'relatives'	=> array(RELATIVE_NONE),
+					'checksubdirs' => False,
+					'nofiles'	=> False,
+					'orderby'	=> $this->sortby
+				));
+
+				if($phpwh_debug)
+				{
+					echo '# of files found in "'.$this->path.'" : '.count($ls_array).'<br>'."\n";
+				}
+
+				while(list($num, $file_array) = each($ls_array))
+				{
+					$this->numoffiles++;
+					$this->files_array[] = $file_array;
+					if($phpwh_debug)
+					{
+						echo 'Filename: '.$file_array['name'].'<br>'."\n";
+					}
+				}
+			}
+
+			if(!is_array($this->files_array))
+			{
+				$this->files_array = array();
+			}
+			// end file count
+		}
+
+		function toolbar($type)
+		{
+			switch($type)
+			{
+				case 'location':
+					$toolbar='
+					<div id="fmLocation">
+					<table cellspacing="1" cellpadding="0" border="0">
+					<tr>
+					';
+					$toolbar.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('phpgwapi','buttonseparator').'" height="27" width="8"></td>';
+					$toolbar.='
+					<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('filemanager','spacer').'" height="27" width="1"></td>';
+
+					// go up icon when we're not at the top, dont allow to go outside /home = fakebase
+					if($this->path != '/' && $this->path != $this->bo->fakebase)
+					{
+						$link=$this->encode_href('/index.php','menuaction=filemanager.uifilemanager.index','path='.$this->lesspath);
+						$toolbar.=$this->buttonImage($link,'up',lang('go up'));
+					}
+
+					// go home icon when we're not home already
+					if($this->path != $this->bo->homedir)
+					{
+						$link=$this->encode_href('/index.php','menuaction=filemanager.uifilemanager.index','path='.$this->bo->homedir);
+						$toolbar.=$this->buttonImage($link,'home',lang('go home'));
+					}
+
+					// reload button with this url
+					$link=$this->encode_href('/index.php','menuaction=filemanager.uifilemanager.index','path='.$this->path);
+					$toolbar.=$this->buttonImage($link,'reload',lang('reload'));
+
+					$toolbar.='<td>'.lang('Location').':&nbsp;';
+					//$toolbar.='<input id="fmInputLocation" type="text" size="20" disabled="disabled" name="location" value="'.$this->disppath.'"/>&nbsp;';
+					$current_option='<option>'.$this->disppath.'</option>';
+					// selectbox for change/move/and copy to
+					$dirs_options=$this->all_other_directories_options();
+					$toolbar.='<select name="cdtodir" onChange="document.formfm.changedir.value=\'true\';document.formfm.submit()">'.$current_option.$dirs_options.'</select>
+					<input type="hidden" name="changedir" value="false"></td>
+					';
+					$toolbar.=$this->inputImage('goto','goto',lang('Quick jump to'));
+					// upload button
+					if($this->path != '/' && $this->path != $this->bo->fakebase && $this->can_add)
+					{
+
+						$toolbar.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('filemanager','spacer').'" height="27" width="1"></td>';
+						$toolbar.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('phpgwapi','buttonseparator').'" height="27" width="8"></td>';
+						$toolbar.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('filemanager','spacer').'" height="27" width="1"></td>';
+
+						//						$toolbar.=$this->inputImage('download','download',lang('Download'));
+						// upload button
+						$toolbar.=$this->inputImage('upload','upload',lang('Upload'));
+					}
+					$toolbar.='</tr></table>';
+					$toolbar.='</div>';
+					break;
+				case 'list_nav':
+					$toolbar='
+					<table cellspacing="1" cellpadding="0" border="0">
+					<tr>';
+					// selectbox for change/move/and copy to
+					// submit buttons for
+					if($this->path != '/' && $this->path != $this->bo->fakebase)
+					{
+						$toolbar.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('phpgwapi','buttonseparator').'" height="27" width="8"></td>';
+						$toolbar.='
+						<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('filemanager','spacer').'" height="27" width="1"></td>';
+
+						if(!$this->rename_x && !$this->edit_comments_x)
+						{
+							// edit text file button
+							$toolbar.=$this->inputImage('edit','edit',lang('edit'));
+						}
+
+						if(!$this->edit_comments_x)
+						{
+							$toolbar.=$this->inputImage('rename','rename',lang('Rename'));
+						}
+
+						if(!$this->rename_x && !$this->edit_comments_x)
+						{
+							$toolbar.=$this->inputImage('delete','delete',lang('Delete'));
+						}
+
+						if(!$this->rename_x)
+						{
+							$toolbar.=$this->inputImage('edit_comments','edit_comments',lang('Edit comments'));
+						}
+						$toolbar.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('filemanager','spacer').'" height="27" width="1"></td>';
+					}
+
+					//	$toolbar.='</tr></table>';
+					if(!$this->rename_x && !$this->edit_comments_x)
+					{
+						// copy and move buttons
+						if($this->path != '/' && $this->path != $this->bo->fakebase)
+						{
+							$toolbar3.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('phpgwapi','buttonseparator').'" height="27" width="8"></td>';
+							$toolbar3.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('filemanager','spacer').'" height="27" width="1"></td>';
+
+							$dirs_options=$this->all_other_directories_options();
+							$toolbar3.='<td><select name="todir">'.$dirs_options.'</select></td>';
+
+							$toolbar3.=$this->inputImage('copy_to','copy_to',lang('Copy to'));
+							$toolbar3.=$this->inputImage('move_to','move_to',lang('Move to'));
+
+							$toolbar3.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('filemanager','spacer').'" height="27" width="1"></td>';
+
+						}
+
+						// create dir and file button
+						if($this->path != '/' && $this->path != $this->bo->fakebase && $this->can_add)
+						{
+							$toolbar3.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('phpgwapi','buttonseparator').'" height="27" width="8"></td>';
+							$toolbar3.='<td><img alt="spacer" src="'.$GLOBALS['phpgw']->common->image('filemanager','spacer').'" height="27" width="1"></td>';
+
+							$toolbar3.='<td><input type=text size="15" name="newfile_or_dir" value="" /></td>';
+							$toolbar3.=$this->inputImage('newdir','createdir',lang('Create Folder'));
+							$toolbar3.=$this->inputImage('newfile','createfile',lang('Create File'));
+						}
+
+						if($toolbar3)
+						{
+							$toolbar.=$toolbar3;
+						/*	$toolbar.='
+							<table cellspacing="1" cellpadding="0" border="0">
+							<tr>'.$toolbar3;*/
+						}
+					}
+					$toolbar.='</tr></table>';
+
+					break;
+				default:$x='';
+			}
+
+			if($toolbar)
+			{
+				return $toolbar;
+			}
+		}
+
+		// move to bo
+		# Handle File Uploads
+		function fileUpload()
+		{
+			if($this->path != '/' && $this->path != $this->bo->fakebase)
+			{
+				for($i = 0; $i != $this->show_upload_boxes; $i++)
+				{
+					if($badchar = $this->bo->bad_chars($_FILES['upload_file']['name'][$i], True, True))
+					{
+						$this->messages[]= $GLOBALS['phpgw']->common->error_list(array($this->bo->html_encode(lang('File names cannot contain "%1"', $badchar), 1)));
+
+						continue;
+					}
+
+					# Check to see if the file exists in the database, and get its info at the same time
+					$ls_array = $this->bo->vfs->ls(array(
+						'string'=> $this->path . '/' . $_FILES['upload_file']['name'][$i],
+						'relatives'	=> array(RELATIVE_NONE),
+						'checksubdirs'	=> False,
+						'nofiles'	=> True
+					));
+
+					$fileinfo = $ls_array[0];
+
+					if($fileinfo['name'])
+					{
+						if($fileinfo['mime_type'] == 'Directory')
+						{
+							$this->messages[]= $GLOBALS['phpgw']->common->error_list(array(lang('Cannot replace %1 because it is a directory', $fileinfo['name'])));
+							continue;
+						}
+					}
+
+					if($_FILES['upload_file']['size'][$i] > 0)
+					{
+						if($fileinfo['name'] && $fileinfo['deleteable'] != 'N')
+						{
+							$tmp_arr=array(
+								'string'=> $_FILES['upload_file']['name'][$i],
+								'relatives'	=> array(RELATIVE_ALL),
+								'attributes'	=> array(
+									'owner_id' => $this->bo->userinfo['username'],
+									'modifiedby_id' => $this->bo->userinfo['username'],
+									'modified' => $this->now,
+									'size' => $_FILES['upload_file']['size'][$i],
+									'mime_type' => $_FILES['upload_file']['type'][$i],
+									'deleteable' => 'Y',
+									'comment' => stripslashes($_POST['upload_comment'][$i])
+								)
+							);
+							$this->bo->vfs->set_attributes($tmp_arr);
+
+							$tmp_arr=array(
+								'from'	=> $_FILES['upload_file']['tmp_name'][$i],
+								'to'	=> $_FILES['upload_file']['name'][$i],
+								'relatives'	=> array(RELATIVE_NONE|VFS_REAL, RELATIVE_ALL)
+							);
+							$this->bo->vfs->cp($tmp_arr);
+
+							$this->messages[]=lang('Replaced %1', $this->disppath.'/'.$_FILES['upload_file']['name'][$i]);
+						}
+						else
+						{
+
+							$this->bo->vfs->cp(array(
+								'from'=> $_FILES['upload_file']['tmp_name'][$i],
+								'to'=> $_FILES['upload_file']['name'][$i],
+								'relatives'	=> array(RELATIVE_NONE|VFS_REAL, RELATIVE_ALL)
+							));
+
+							$this->bo->vfs->set_attributes(array(
+								'string'=> $_FILES['upload_file']['name'][$i],
+								'relatives'	=> array(RELATIVE_ALL),
+								'attributes'=> array(
+									'mime_type' => $_FILES['upload_file']['type'][$i],
+									'comment' => stripslashes($_POST['upload_comment'][$i])
+								)
+							));
+
+							$this->messages[]=lang('Created %1,%2', $this->disppath.'/'.$_FILES['upload_file']['name'][$i], $_FILES['upload_file']['size'][$i]);
+						}
+					}
+					elseif($_FILES['upload_file']['name'][$i])
+					{
+						$this->bo->vfs->touch(array(
+							'string'=> $_FILES['upload_file']['name'][$i],
+							'relatives'	=> array(RELATIVE_ALL)
+						));
+
+						$this->bo->vfs->set_attributes(array(
+							'string'=> $_FILES['upload_file']['name'][$i],
+							'relatives'	=> array(RELATIVE_ALL),
+							'attributes'=> array(
+								'mime_type' => $_FILES['upload_file']['type'][$i],
+								'comment' => stripslashes($_POST['upload_comment'][$i])
+							)
+						));
+
+						$this->messages[]=lang('Created %1,%2', $this->disppath.'/'.$_FILES['upload_file']['name'][$i], $file_size[$i]);
+					}
+				}
+
+				$this->readFilesInfo();
+				$this->filelisting();
+			}
+		}
+
+		# Handle Editing comments
+		function editComment()
+		{
+			while(list($file) = each($this->comment_files))
+			{
+				if($badchar = $this->bo->bad_chars($this->comment_files[$file], False, True))
+				{
+					$this->messages[]=$GLOBALS['phpgw']->common->error_list(array($file . $this->bo->html_encode(': ' . lang('Comments cannot contain "%1"', $badchar), 1)));
+					continue;
+				}
+
+				$this->bo->vfs->set_attributes(array(
+					'string'	=> $file,
+					'relatives'	=> array(RELATIVE_ALL),
+					'attributes'	=> array(
+						'comment' => stripslashes($this->comment_files[$file])
+					)
+				));
+
+				$this->messages[]=lang('Updated comment for %1', $this->path.'/'.$file);
+			}
+
+			$this->readFilesInfo();
+			$this->filelisting();
+		}
+
+		# Handle Renaming Files and Directories
+		function rename()
+		{
+			while(list($from, $to) = each($this->renamefiles))
+			{
+				if($badchar = $this->bo->bad_chars($to, True, True))
+				{
+					$this->messages[]=$GLOBALS['phpgw']->common->error_list(array($this->bo->html_encode(lang('File names cannot contain "%1"', $badchar), 1)));
+					continue;
+				}
+
+				if(ereg("/", $to) || ereg("\\\\", $to))
+				{
+					$this->messages[]=$GLOBALS['phpgw']->common->error_list(array(lang("File names cannot contain \\ or /")));
+				}
+				elseif(!$this->bo->vfs->mv(array(
+					'from'	=> $from,
+					'to'	=> $to
+				)))
+				{
+					$this->messages[]= $GLOBALS['phpgw']->common->error_list(array(lang('Could not rename %1 to %2', $this->disppath.'/'.$from, $this->disppath.'/'.$to)));
+				}
+				else
+				{
+					$this->messages[]=lang('Renamed %1 to %2', $this->disppath.'/'.$from, $this->disppath.'/'.$to);
+				}
+			}
+			$this->readFilesInfo();
+			$this->filelisting();
+		}
+
+		# Handle Moving Files and Directories
+		function moveTo()
+		{
+			if(!$this->todir)
+			{
+				$this->messages[] = $GLOBALS['phpgw']->common->error_list(array(lang('Could not move file because no destination directory is given ', $this->disppath.'/'.$file)));
+
+			}
+			else
+			{
+
+				while(list($num, $file) = each($this->fileman))
+				{
+					if($this->bo->vfs->mv(array(
+						'from'	=> $file,
+						'to'	=> $this->todir . '/' . $file,
+						'relatives'	=> array(RELATIVE_ALL, RELATIVE_NONE)
+					)))
+					{
+						$moved++;
+						$this->messages[]=lang('Moved %1 to %2', $this->disppath.'/'.$file, $this->todir.'/'.$file);
+					}
+					else
+					{
+						$this->messages[] = $GLOBALS['phpgw']->common->error_list(array(lang('Could not move %1 to %2', $this->disppath.'/'.$file, $this->todir.'/'.$file)));
+					}
+				}
+			}
+
+			if($moved)
+			{
+				$x=0;
+			}
+
+			$this->readFilesInfo();
+			$this->filelisting();
+		}
+
+		// Handle Copying of Files and Directories
+		function copyTo()
+		{
+			if(!$this->todir)
+			{
+				$this->messages[] = $GLOBALS['phpgw']->common->error_list(array(lang('Could not copy file because no destination directory is given ', $this->disppath.'/'.$file)));
+
+			}
+			else
+			{
+				while(list($num, $file) = each($this->fileman))
+				{
+					if($this->bo->vfs->cp(array(
+						'from'	=> $file,
+						'to'	=> $this->todir . '/' . $file,
+						'relatives'	=> array(RELATIVE_ALL, RELATIVE_NONE)
+					)))
+					{
+						$copied++;
+						$this->message .= lang('Copied %1 to %2', $this->disppath.'/'.$file, $this->todir.'/'.$file);
+					}
+					else
+					{
+						$this->message .= $GLOBALS['phpgw']->common->error_list(array(lang('Could not copy %1 to %2', $this->disppath.'/'.$file, $this->todir.'/'.$file)));
+					}
+				}
+			}
+			if($copied)
+			{
+				$x=0;
+			}
+
+			$this->readFilesInfo();
+			$this->filelisting();
+		}
+
+		function createdir()
+		{
+			if($this->newdir_x && $this->newfile_or_dir)
+			{
+				if($this->bo->badchar = $this->bo->bad_chars($this->newfile_or_dir, True, True))
+				{
+					$this->messages[]= $GLOBALS['phpgw']->common->error_list(array($this->bo->html_encode(lang('Directory names cannot contain "%1"', $badchar), 1)));
+				}
+
+				/* TODO is this right or should it be a single $ ? */
+				if($$this->newfile_or_dir[strlen($this->newfile_or_dir)-1] == ' ' || $this->newfile_or_dir[0] == ' ')
+				{
+					$this->messages[]= $GLOBALS['phpgw']->common->error_list(array(lang('Cannot create directory because it begins or ends in a space')));
+				}
+
+				$ls_array = $this->bo->vfs->ls(array(
+					'string'	=> $this->path . '/' . $this->newfile_or_dir,
+					'relatives'	=> array(RELATIVE_NONE),
+					'checksubdirs'	=> False,
+					'nofiles'	=> True
+				));
+
+				$fileinfo = $ls_array[0];
+
+				if($fileinfo['name'])
+				{
+					if($fileinfo['mime_type'] != 'Directory')
+					{
+						$this->messages[]= $GLOBALS['phpgw']->common->error_list(array(
+							lang('%1 already exists as a file',
+							$fileinfo['name'])
+						));
+					}
+					else
+					{
+						$this->messages[]= $GLOBALS['phpgw']->common->error_list(array(lang('Directory %1 already exists', $fileinfo['name'])));
+					}
+				}
+				else
+				{
+					if($this->bo->vfs->mkdir(array('string' => $this->newfile_or_dir)))
+					{
+						$this->messages[]=lang('Created directory %1', $this->disppath.'/'.$this->newfile_or_dir);
+					}
+					else
+					{
+						$this->messages[]=$GLOBALS['phpgw']->common->error_list(array(lang('Could not create %1', $this->disppath.'/'.$this->newfile_or_dir)));
+					}
+				}
+
+				$this->readFilesInfo();
+				$this->filelisting();
+			}
+		}
+
+		function delete()
+		{
+			if( is_array($this->fileman) && count($this->fileman) >= 1)
+			{
+				foreach($this->fileman as $filename)
+				{
+					if($this->bo->vfs->delete(array('string' => $filename)))
+					{
+						$this->messages[]= lang('Deleted %1', $this->disppath.'/'.$filename).'<br/>';
+					}
+					else
+					{
+						$this->messages[]=$GLOBALS['phpgw']->common->error_list(array(lang('Could not delete %1', $this->disppath.'/'.$filename)));
+					}
+				}
+			}
+			else
+			{
+				// make this a javascript func for quicker respons
+				$this->messages[]=$GLOBALS['phpgw']->common->error_list(array(lang('Please select a file to delete.')));
+			}
+			$this->readFilesInfo();
+			$this->filelisting();
+		}
+
+		function debug_filemanager()
+		{
+			error_reporting(8);
+
+			echo "<b>Filemanager debug:</b><br>
+			path: {$this->path}<br>
+			disppath: {$this->disppath}<br>
+			cwd: {$this->cwd}<br>
+			lesspath: {$this->lesspath}
+			<p>
+			<b>eGroupware debug:</b><br>
+			real getabsolutepath: " . $this->bo->vfs->getabsolutepath(array('target' => False, 'mask' => False, 'fake' => False)) . "<br>
+			fake getabsolutepath: " . $this->bo->vfs->getabsolutepath(array('target' => False)) . "<br>
+			appsession: " . $GLOBALS['phpgw']->session->appsession('vfs','') . "<br>
+			pwd: " . $this->bo->vfs->pwd() . "<br>";
+
+			echo '<p></p>';
+			var_dump($this);
+		}
+
+		function showUploadboxes()
+		{
+			$this->t->set_file(array('upload' => 'upload.tpl'));
+			$this->t->set_block('upload','upload_header','upload_header');
+			$this->t->set_block('upload','row','row');
+			$this->t->set_block('upload','upload_footer','upload_footer');
+
+			# Decide how many upload boxes to show
+			if(!$this->show_upload_boxes || $this->show_upload_boxes <= 0)
+			{
+				if(!$this->show_upload_boxes = $this->prefs['show_upload_boxes'])
+				{
+					$this->show_upload_boxes = 1;
+				}
+			}
+
+			# Show file upload boxes. Note the last argument to html().  Repeats $this->show_upload_boxes times
+			if($this->path != '/' && $this->path != $this->bo->fakebase && $this->can_add)
+			{
+				$vars[form_action]=$GLOBALS[phpgw]->link('/index.php','menuaction=filemanager.uifilemanager.index');
+				$vars[path]=$this->path;
+				$vars[lang_file]=lang('File');
+				$vars[lang_comment]=lang('Comment');
+				$vars[num_upload_boxes]=$this->show_upload_boxes;
+				$this->t->set_var($vars);
+				$this->t->pparse('out','upload_header');
+
+				for($i=0;$i<$this->show_upload_boxes;$i++)
+				{
+					$this->t->set_var('row_tr_color',$tr_color);
+					$this->t->parse('rows','row');
+					$this->t->pparse('out','row');
+				}
+
+				$vars[lang_upload]=lang('Upload files');
+				$vars[change_upload_boxes].=lang('Show') . '&nbsp;';
+				$links.= $this->html_link('/index.php','menuaction=filemanager.uifilemanager.index','show_upload_boxes=5', '5');
+				$links.='&nbsp;';
+				$links.= $this->html_link('/index.php','menuaction=filemanager.uifilemanager.index','show_upload_boxes=10', '10');
+				$links.='&nbsp;';
+				$links.= $this->html_link('/index.php','menuaction=filemanager.uifilemanager.index','show_upload_boxes=20', '20');
+				$links.='&nbsp;';
+				$links.= $this->html_link('/index.php','menuaction=filemanager.uifilemanager.index','show_upload_boxes=50', '50');
+				$links.='&nbsp;';
+				$links.= lang('upload fields');
+				$vars[change_upload_boxes].=$links;
+				$this->t->set_var($vars);
+				$this->t->pparse('out','upload_footer');
+			}
+		}
+
+		/* create textfile */
+		function createfile()
+		{
+			$this->createfile_var=$this->newfile_or_dir;
+			if($this->createfile_var)
+			{
+				if($badchar = $this->bo->bad_chars($this->createfile_var, True, True))
+				{
+					$this->messages[] = $GLOBALS['phpgw']->common->error_list(array(
+						lang('File names cannot contain "%1"',$badchar),
+						1)
+					);
+
+					$this->fileListing();
+				}
+
+				if($this->bo->vfs->file_exists(array(
+					'string'=> $this->createfile_var,
+					'relatives'	=> array(RELATIVE_ALL)
+				)))
+				{
+					$this->messages[]=$GLOBALS['phpgw']->common->error_list(array(lang('File %1 already exists. Please edit it or delete it first.', $this->createfile_var)));
+					$this->fileListing();
+				}
+
+				if($this->bo->vfs->touch(array(
+					'string'	=> $this->createfile_var,
+					'relatives'	=> array(RELATIVE_ALL)
+				)))
+				{
+					$this->fileman = array();
+					$this->fileman[0] = $this->createfile_var;
+					$this->edit = 1;
+					$this->numoffiles++;
+					$this->edit();
+				}
+				else
+				{
+					$this->messages[]=$GLOBALS['phpgw']->common->error_list(array(lang('File %1 could not be created.', $this->createfile_var)));
+					$this->fileListing();
+				}
+			}
+		}
+
+		# Handle Editing files
+		function edit()
+		{
+			$this->readFilesInfo();
+
+			$this->t->set_file(array('filemanager_edit' => 'edit_file.tpl'));
+			$this->t->set_block('filemanager_edit','row','row');
+
+			$vars[preview_content]='';
+			if($this->edit_file)
+			{
+				$this->edit_file_content = stripslashes($this->edit_file_content);
+			}
+
+			if($this->edit_preview_x)
+			{
+				$content = $this->edit_file_content;
+
+				$vars[lang_preview_of]=lang('Preview of %1', $this->path.'/'.$edit_file);
+
+				$vars[preview_content]=nl2br($content);
+			}
+			elseif($this->edit_save_x || $this->edit_save_done_x)
+			{
+				$content = $this->edit_file_content;
+				//die( $content);
+				if($this->bo->vfs->write(array(
+					'string'	=> $this->edit_file,
+					'relatives'	=> array(RELATIVE_ALL),
+					'content'	=> $content
+				)))
+				{
+					$this->messages[]=lang('Saved %1', $this->path.'/'.$this->edit_file);
+
+					if($this->edit_save_done_x)
+					{
+						$this->readFilesInfo();
+						$this->fileListing();
+						exit;
+					}
+				}
+				else
+				{
+					$this->messages[]=lang('Could not save %1', $this->path.'/'.$this->edit_file);
+				}
+			}
+
+			# Now we display the edit boxes and forms
+			for($j = 0; $j != $this->numoffiles; $j++)
+			{
+				# If we're in preview or save mode, we only show the file
+				# being previewed or saved
+				if($this->edit_file &&($this->fileman[$j] != $this->edit_file))
+				{
+					continue;
+				}
+
+				if($this->fileman[$j] && $this->bo->vfs->file_exists(array(
+					'string'	=> $this->fileman[$j],
+					'relatives'	=> array(RELATIVE_ALL)
+				)))
+				{
+					if($this->edit_file)
+					{
+						$content = stripslashes($this->edit_file_content);
+					}
+					else
+					{
+						$content = $this->bo->vfs->read(array('string' => $this->fileman[$j]));
+					}
+
+					$vars[form_action]= $GLOBALS['phpgw']->link('/index.php','menuaction=filemanager.uifilemanager.index','path='.$this->path);
+					$vars[edit_file]=$this->fileman[$j];
+
+					# We need to include all of the fileman entries for each file's form,
+					# so we loop through again
+					for($i = 0; $i != $this->numoffiles; $i++)
+					{
+						if($this->fileman[$i]) $value='value="'.$this->fileman[$i].'"';
+						$vars[filemans_hidden]='<input type="hidden" name="fileman['.$i.']" '.$value.' />';
+					}
+
+					$vars[file_content]=$content;
+
+					$vars[buttonPreview]=$this->inputImage('edit_preview','edit_preview',lang('Preview %1', $this->bo->html_encode($this->fileman[$j], 1)));
+					$vars[buttonSave]=$this->inputImage('edit_save','save',lang('Save %1', $this->bo->html_encode($this->fileman[$j], 1)));
+					$vars[buttonDone]=$this->inputImage('edit_save_done','ok',lang('Save %1, and go back to file listing ', $this->bo->html_encode($this->fileman[$j], 1)));
+					$vars[buttonCancel]=$this->inputImage('edit_cancel','cancel',lang('Cancel editing %1 without saving', $this->bo->html_encode($this->fileman[$j], 1)));
+					$this->t->set_var($vars);
+					$this->t->parse('rows','row');
+					$this->t->pparse('out','row');
+
+				}
+			}
+		}
+
+		function history()
+		{
+			if($this->file) // FIXME this-file is never defined
+			{
+				$journal_array = $this->bo->vfs->get_journal(array(
+					'string'	=> $this->file,//FIXME
+					'relatives'	=> array(RELATIVE_ALL)
+				));
+
+				if(is_array($journal_array))
+				{
+					$this->html_table_begin();
+					$this->html_table_row_begin();
+					$this->html_table_col_begin();
+					echo lang('Date');
+					$this->html_table_col_end();
+					$this->html_table_col_begin();
+					echo lang('Version');
+					$this->html_table_col_end();
+					$this->html_table_col_begin();
+					echo lang('Who');
+					$this->html_table_col_end();
+					$this->html_table_col_begin();
+					echo lang('Operation');
+					$this->html_table_col_end();
+					$this->html_table_row_end();
+
+					while(list($num, $journal_entry) = each($journal_array))
+					{
+						$this->html_table_row_begin();
+						$this->html_table_col_begin();
+						$this->bo->html_text($journal_entry['created'] . '&nbsp;&nbsp;&nbsp;');
+						$this->html_table_col_end();
+						$this->html_table_col_begin();
+						$this->bo->html_text($journal_entry['version'] . '&nbsp;&nbsp;&nbsp;' );
+						$this->html_table_col_end();
+						$this->html_table_col_begin();
+						$this->bo->html_text($GLOBALS['phpgw']->accounts->id2name($journal_entry['owner_id']) . '&nbsp;&nbsp;&nbsp;');
+						$this->html_table_col_end();
+						$this->html_table_col_begin();
+						$this->bo->html_text($journal_entry['comment']);
+						$this->html_table_col_end();
+					}
+
+					$this->html_table_end();
+					$GLOBALS['phpgw']->common->phpgw_footer();
+					$GLOBALS['phpgw']->common->phpgw_exit();
+				}
+				else
+				{
+					echo lang('No version history for this file/directory');
+				}
+			}
+		}
+
+		function view()
+		{
+			if($this->file) //FIXME
+			{
+				$ls_array = $this->bo->vfs->ls(array(
+					'string'	=> $this->path.'/'.$this->file,//FIXME
+					'relatives'	=> array(RELATIVE_ALL),
+					'checksubdirs'	=> False,
+					'nofiles'	=> True
+				));
+
+				if($ls_array[0]['mime_type'])
+				{
+					$mime_type = $ls_array[0]['mime_type'];
+				}
+				elseif($this->prefs['viewtextplain'])
+				{
+					$mime_type = 'text/plain';
+				}
+				$viewable = array('','text/plain','text/csv','text/html','text/text');
+
+				if(in_array($mime_type,$viewable) && !$_GET['download'])
+				{
+	   				
+				    header('Content-type: ' . $mime_type);
+					header('Content-disposition: filename="' . $this->file . '"');//FIXME
+					Header("Pragma: public");
+				}
+				else
+				{
+					$GLOBALS['phpgw']->browser->content_header($this->file,$mime_type);//FIXME
+				}
+				echo $this->bo->vfs->read(array(
+					'string'	=> $this->path.'/'.$this->file,//FIXME
+					'relatives'	=> array(RELATIVE_NONE)
+				));
+				$GLOBALS['phpgw']->common->phpgw_exit();
+			}
+		}
+
+		function download()
+		{
+			for($i = 0; $i != $this->numoffiles; $i++)
+			{
+				if(!$this->fileman[$i])
+				{
+					continue;
+				}
+
+				$download_browser = CreateObject('phpgwapi.browser');
+				$download_browser->content_header($this->fileman[$i]);
+				echo $this->bo->vfs->read(array('string' => $this->fileman[$i]));
+				$GLOBALS['phpgw']->common->phpgw_exit();
+			}
+		}
+
+		//give back an array with all directories except current and dirs that are not accessable
+		function all_other_directories_options()
+		{
+			# First we get the directories in their home directory
+			$dirs = array();
+			$dirs[] = array('directory' => $this->bo->fakebase, 'name' => $this->bo->userinfo['account_lid']);
+
+			$tmp_arr=array(
+				'string'	=> $this->bo->homedir,
+				'relatives'	=> array(RELATIVE_NONE),
+				'checksubdirs'	=> True,
+				'mime_type'	=> 'Directory'
+			);
+
+			$ls_array = $this->bo->vfs->ls($tmp_arr);
+
+			while(list($num, $dir) = each($ls_array))
+			{
+				$dirs[] = $dir;
+			}
+
+
+			# Then we get the directories in their readable groups' home directories
+			reset($this->readable_groups);
+			while(list($num, $group_array) = each($this->readable_groups))
+			{
+				# Don't list directories for groups that don't have access
+				if(!$this->groups_applications[$group_array['account_name']][$this->bo->appname]['enabled'])
+				{
+					continue;
+				}
+
+				$dirs[] = array('directory' => $this->bo->fakebase, 'name' => $group_array['account_name']);
+
+				$tmp_arr=array(
+					'string'	=> $this->bo->fakebase.'/'.$group_array['account_name'],
+					'relatives'	=> array(RELATIVE_NONE),
+					'checksubdirs'	=> True,
+					'mime_type'	=> 'Directory'
+				);
+
+				$ls_array = $this->bo->vfs->ls($tmp_arr);
+				while(list($num, $dir) = each($ls_array))
+				{
+					$dirs[] = $dir;
+				}
+			}
+
+			reset($dirs);
+			while(list($num, $dir) = each($dirs))
+			{
+				if(!$dir['directory'])
+				{
+					continue;
+				}
+
+				# So we don't display //
+				if($dir['directory'] != '/')
+				{
+					$dir['directory'] .= '/';
+				}
+
+				# No point in displaying the current directory, or a directory that doesn't exist
+				if((($dir['directory'] . $dir['name']) != $this->path) && $this->bo->vfs->file_exists(array('string' => $dir['directory'] . $dir['name'],'relatives' => array(RELATIVE_NONE))))
+				{
+					//FIXME replace the html_form_option function
+					$options .= $this->html_form_option($dir['directory'] . $dir['name'], $dir['directory'] . $dir['name']);
+				}
+			}
+
+			return $options;
+		}
+
+		/* seek icon for mimetype else return an unknown icon */
+		function mime_icon($mime_type, $size=16)
+		{
+			if(!$mime_type) $mime_type='unknown';
+
+			$mime_type=	str_replace	('/','_',$mime_type);
+
+			$img=$GLOBALS['phpgw']->common->image('filemanager','mime'.$size.'_'.strtolower($mime_type));
+			if(!$img) $img=$GLOBALS['phpgw']->common->image('filemanager','mime'.$size.'_unknown');
+
+			$icon='<img src="'.$img.' "alt="'.lang($mime_type).'" />';
+			return $icon;
+		}
+
+		function buttonImage($link,$img='',$help='')
+		{
+			$image=$GLOBALS['phpgw']->common->image('filemanager','button_'.strtolower($img));
+
+			if($img)
+			{
+				return '<td class="fmButton" align="center" valign="middle" height="28" width="28">
+				<a href="'.$link.'" title="'.$help.'"><img src="'.$image.'" alt="'.$help.'"/></a>
+				</td>';
+			}
+		}
+
+		function inputImage($name,$img='',$help='')
+		{
+			$image=$GLOBALS['phpgw']->common->image('filemanager','button_'.strtolower($img));
+
+			if($img)
+			{
+				return '<td class="fmButton" align="center" valign="middle" height="28" width="28">
+				<input title="'.$help.'" name="'.$name.'" type="image" alt="'.$name.'" src="'.$image.'" value="clicked" />
+				</td>';
+			}
+		}
+
+		function html_form_input($type = NULL, $name = NULL, $value = NULL, $maxlength = NULL, $size = NULL, $checked = NULL, $string = '', $return = 1)
+		{
+			$text = ' ';
+			if($type != NULL && $type)
+			{
+				if($type == 'checkbox')
+				{
+					$value = $this->bo->string_encode($value, 1);
+				}
+				$text .= 'type="'.$type.'" ';
+			}
+			if($name != NULL && $name)
+			{
+				$text .= 'name="'.$name.'" ';
+			}
+			if($value != NULL && $value)
+			{
+				$text .= 'value="'.$value.'" ';
+			}
+			if(is_int($maxlength) && $maxlength >= 0)
+			{
+				$text .= 'maxlength="'.$maxlength.'" ';
+			}
+			if(is_int($size) && $size >= 0)
+			{
+				$text .= 'size="'.$size.'" ';
+			}
+			if($checked != NULL && $checked)
+			{
+				$text .= 'checked ';
+			}
+
+			return '<input'.$text.$string.'>';
+		}
+
+		function html_form_option($value = NULL, $displayed = NULL, $selected = NULL, $return = 0)
+		{
+			$text = ' ';
+			if($value != NULL && $value)
+			{
+				$text .= ' value="'.$value.'" ';
+			}
+			if($selected != NULL && $selected)
+			{
+				$text .= ' selected';
+			}
+			return  '<option'.$text.'>'.$displayed.'</option>';
+		}
+
+		function encode_href($href = NULL, $args = NULL , $extra_args)
+		{
+			$href = $this->bo->string_encode($href, 1);
+			$all_args = $args.'&'.$this->bo->string_encode($extra_args, 1);
+
+			$address = $GLOBALS['phpgw']->link($href, $all_args);
+
+			return $address;
+		}
+
+		function html_link($href = NULL, $args = NULL , $extra_args, $text = NULL, $return = 1, $encode = 1, $linkonly = 0, $target = NULL)
+		{
+			//	unset($encode);
+			if($encode)
+			{
+				$href = $this->bo->string_encode($href, 1);
+				$all_args = $args.'&'.$this->bo->string_encode($extra_args, 1);
+			}
+			else
+			{
+				//				$href = $this->bo->string_encode($href, 1);
+				$all_args = $args.'&'.$extra_args;
+			}
+			###
+			# This decodes / back to normal
+			###
+			//			$all_args = preg_replace("/%2F/", "/", $all_args);
+			//			$href = preg_replace("/%2F/", "/", $href);
+
+			/* Auto-detect and don't disturb absolute links */
+			if(!preg_match("|^http(.{0,1})://|", $href))
+			{
+				//Only add an extra / if there isn't already one there
+
+				// die(SEP);
+				if(!($href[0] == SEP))
+				{
+					$href = SEP . $href;
+				}
+
+				/* $phpgw->link requires that the extra vars be passed separately */
+				//				$link_parts = explode("?", $href);
+				$address = $GLOBALS['phpgw']->link($href, $all_args);
+				//				$address = $GLOBALS['phpgw']->link($href);
+			}
+			else
+			{
+				$address = $href;
+			}
+
+			/* If $linkonly is set, don't add any HTML */
+			if($linkonly)
+			{
+				$rstring = $address;
+			}
+			else
+			{
+				if($target)
+				{
+					$target = 'target='.$target;
+				}
+
+				$text = trim($text);
+				$rstring = '<a href="'.$address.'" '.$target.'>'.$text.'</a>';
+			}
+
+			return($this->bo->eor($rstring, $return));
+		}
+
+		function html_table_begin($width = NULL, $border = NULL, $cellspacing = NULL, $cellpadding = NULL, $rules = NULL, $string = '', $return = 0)
+		{
+			if($width != NULL && $width)
+			{
+				$width = "width=$width";
+			}
+			if(is_int($border) && $border >= 0)
+			{
+				$border = "border=$border";
+			}
+			if(is_int($cellspacing) && $cellspacing >= 0)
+			{
+				$cellspacing = "cellspacing=$cellspacing";
+			}
+			if(is_int($cellpadding) && $cellpadding >= 0)
+			{
+				$cellpadding = "cellpadding=$cellpadding";
+			}
+			if($rules != NULL && $rules)
+			{
+				$rules = "rules=$rules";
+			}
+
+			$rstring = "<table $width $border $cellspacing $cellpadding $rules $string>";
+			return($this->bo->eor($rstring, $return));
+		}
+
+		function html_table_end($return = 0)
+		{
+			$rstring = "</table>";
+			return($this->bo->eor($rstring, $return));
+		}
+
+		function html_table_row_begin($align = NULL, $halign = NULL, $valign = NULL, $bgcolor = NULL, $string = '', $return = 0)
+		{
+			if($align != NULL && $align)
+			{
+				$align = "align=$align";
+			}
+			if($halign != NULL && $halign)
+			{
+				$halign = "halign=$halign";
+			}
+			if($valign != NULL && $valign)
+			{
+				$valign = "valign=$valign";
+			}
+			if($bgcolor != NULL && $bgcolor)
+			{
+				$bgcolor = "bgcolor=$bgcolor";
+			}
+			$rstring = "<tr $align $halign $valign $bgcolor $string>";
+			return($this->bo->eor($rstring, $return));
+		}
+
+		function html_table_row_end($return = 0)
+		{
+			$rstring = "</tr>";
+			return($this->bo->eor($rstring, $return));
+		}
+
+		function html_table_col_begin($align = NULL, $halign = NULL, $valign = NULL, $rowspan = NULL, $colspan = NULL, $string = '', $return = 0)
+		{
+			if($align != NULL && $align)
+			{
+				$align = "align=$align";
+			}
+			if($halign != NULL && $halign)
+			{
+				$halign = "halign=$halign";
+			}
+			if($valign != NULL && $valign)
+			{
+				$valign = "valign=$valign";
+			}
+			if(is_int($rowspan) && $rowspan >= 0)
+			{
+				$rowspan = "rowspan=$rowspan";
+			}
+			if(is_int($colspan) && $colspan >= 0)
+			{
+				$colspan = "colspan=$colspan";
+			}
+
+			$rstring = "<td $align $halign $valign $rowspan $colspan $string>";
+			return($this->bo->eor($rstring, $return));
+		}
+
+		function html_table_col_end($return = 0)
+		{
+			$rstring = "</td>";
+			return($this->bo->eor($rstring, $return));
+		}
+	}
Index: /sandbox/filemanager/inc/class.bofilemanager.inc.php
===================================================================
--- /sandbox/filemanager/inc/class.bofilemanager.inc.php	(revision 1506)
+++ /sandbox/filemanager/inc/class.bofilemanager.inc.php	(revision 1506)
@@ -0,0 +1,252 @@
+<?php
+
+	class bofilemanager
+	{
+
+		// used
+
+		var $so;
+		var $vfs;
+
+		var $rootdir;
+		var $fakebase;
+		var $appname;
+		var $filesdir;
+		var $hostname;
+		var $userinfo = Array();
+		var $homedir;
+		var $sep;
+		var $file_attributes;
+
+		var $matches;//FIXME matches not defined
+
+		var $debug = False;
+
+		function bofilemanager()
+		{
+			$this->so = CreateObject('filemanager.sofilemanager');
+			$this->so->db_init();
+
+			$this->vfs = CreateObject('phpgwapi.vfs');
+
+			error_reporting (4);
+
+			### Start Configuration Options ###
+			### These are automatically set in phpGW - do not edit ###
+
+			$this->sep = SEP;
+			$this->rootdir = $this->vfs->basedir;
+			$this->fakebase = $this->vfs->fakebase;
+			$this->appname = $GLOBALS['phpgw_info']['flags']['currentapp'];
+		
+			if (stristr ($this->rootdir, PHPGW_SERVER_ROOT))
+			{
+				$this->filesdir = substr ($this->rootdir, strlen (PHPGW_SERVER_ROOT));
+			}
+			else
+			{
+				unset ($this->filesdir);
+			}
+
+			$this->hostname = $GLOBALS['phpgw_info']['server']['webserver_url'] . $this->filesdir;
+
+//			die($this->hostname); 
+			###
+			# Note that $userinfo["username"] is actually the id number, not the login name
+			###
+
+			$this->userinfo['username'] = $GLOBALS['phpgw_info']['user']['account_id'];
+			$this->userinfo['account_lid'] = $GLOBALS['phpgw']->accounts->id2name ($this->userinfo['username']);
+			$this->userinfo['hdspace'] = 10000000000; // to settings
+			$this->homedir = $this->fakebase.'/'.$this->userinfo['account_lid'];
+
+			### End Configuration Options ###
+
+			if (!defined ('NULL'))
+			{
+				define ('NULL', '');
+			}
+
+			###
+			# Define the list of file attributes.  Format is "internal_name" => "Displayed name"
+			# This is used both by internally and externally for things like preferences
+			###
+
+			$this->file_attributes = Array(
+				'name' => lang('File Name'),
+				'mime_type' => lang('MIME Type'),
+				'size' => lang('Size'),
+				'created' => lang('Created'),
+				'modified' => lang('Modified'),
+				'owner' => lang('Owner'),
+				'createdby_id' => lang('Created by'),
+				'modifiedby_id' => lang('Created by'),
+				'modifiedby_id' => lang('Modified by'),
+				'app' => lang('Application'),
+				'comment' => lang('Comment'),
+				'version' => lang('Version')
+			);
+
+			###
+			# Calculate and display B or KB
+			# And yes, that first if is strange, 
+			# but it does do something
+			###
+
+		}
+
+
+		function borkb ($size, $enclosed = NULL, $return = 1)
+		{
+			if (!$size)
+			$size = 0;
+
+			if ($enclosed)
+			{
+				$left = '(';
+				$right = ')';
+			}
+
+			if ($size < 1024)
+			$rstring = $left . $size . 'B' . $right;
+			else
+			$rstring = $left . round($size/1024) . 'KB' . $right;
+
+			return ($this->eor ($rstring, $return));
+		}
+
+		###
+		# Check for and return the first unwanted character
+		###
+
+		function bad_chars ($string, $all = True, $return = 0)
+		{
+			if ($all)
+			{
+				if (preg_match("-([\\/<>\'\"\&])-", $string, $badchars))
+				$rstring = $badchars[1];
+			}
+			else
+			{
+				if (preg_match("-([\\/<>])-", $string, $badchars))
+				$rstring = $badchars[1];
+			}
+
+			return trim (($this->eor ($rstring, $return)));
+		}
+
+		###
+		# Match character in string using ord ().
+		###
+
+		function ord_match ($string, $charnum)
+		{
+			for ($i = 0; $i < strlen ($string); $i++)
+			{
+				$character = ord (substr ($string, $i, 1));
+
+				if ($character == $charnum)
+				{
+					return True;
+				}
+			}
+
+			return False;
+		}
+
+		###
+		# Decide whether to echo or return.  Used by HTML functions
+		###
+
+		function eor ($rstring, $return)
+		{
+			if ($return)
+			return ($rstring);
+			else
+			{
+				$this->html_text ($rstring . "\n");
+				return (0);
+			}
+		}
+		
+		function html_text ($string, $times = 1, $return = 0, $lang = 0)
+		{
+			if ($lang)
+			$string = lang($string);
+
+			if ($times == NULL)
+			$times = 1;
+			for ($i = 0; $i != $times; $i++)
+			{
+				if ($return)
+				$rstring .= $string;
+				else
+				echo $string;
+			}
+			if ($return)
+			return ($rstring);
+		}
+
+		###
+		# URL encode a string
+		# First check if its a query string, then if its just a URL, then just encodes it all
+		# Note: this is a hack.  It was made to work with form actions, form values, and links only,
+		# but should be able to handle any normal query string or URL
+		###
+
+		function string_encode ($string, $return = False)
+		{
+			//var_dump($string);
+			if (preg_match ("/=(.*)(&|$)/U", $string))
+			{
+				$rstring = $string;
+
+				preg_match_all ("/=(.*)(&|$)/U", $string, $matches, PREG_SET_ORDER);//FIXME matches not defined
+
+				reset ($matches);//FIXME matches not defined
+
+				while (list (,$match_array) = each ($matches))//FIXME matches not defined
+
+				{
+					$var_encoded = rawurlencode (base64_encode ($match_array[1]));
+					$rstring = str_replace ($match_array[0], '=' . $var_encoded . $match_array[2], $rstring);
+				}
+			}
+			elseif ($this->hostname != "" && ereg('^'.$this->hostname, $string))
+//			elseif (ereg ('^'.$this->hostname, $string))
+			{
+				$rstring = ereg_replace ('^'.$this->hostname.'/', '', $string);
+				$rstring = preg_replace ("/(.*)(\/|$)/Ue", "rawurlencode (base64_encode ('\\1')) . '\\2'", $rstring);
+				$rstring = $this->hostname.'/'.$rstring;
+			}
+			else
+			{
+				$rstring = rawurlencode ($string);
+
+				/* Terrible hack, decodes all /'s back to normal */  
+				$rstring = preg_replace ("/%2F/", '/', $rstring);
+			}
+
+			return ($this->eor ($rstring, $return));
+		}
+
+		function string_decode ($string, $return = False)
+		{
+			$rstring = rawurldecode ($string);
+
+			return ($this->eor ($rstring, $return));
+		}
+
+		###
+		# HTML encode a string
+		# This should be used with anything in an HTML tag that might contain < or >
+		###
+
+		function html_encode ($string, $return)
+		{
+			$rstring = htmlspecialchars ($string);
+
+			return ($this->eor ($rstring, $return));
+		}
+	}
+	?>
Index: /sandbox/filemanager/inc/hook_deleteaccount.inc.php
===================================================================
--- /sandbox/filemanager/inc/hook_deleteaccount.inc.php	(revision 1506)
+++ /sandbox/filemanager/inc/hook_deleteaccount.inc.php	(revision 1506)
@@ -0,0 +1,28 @@
+<?php
+  /**************************************************************************\
+  * eGroupWare                                                               *
+  * http://www.egroupware.org                                                *
+  * --------------------------------------------                             *
+  *  This program is free software; you can redistribute it and/or modify it *
+  *  under the terms of the GNU General Public License as published by the   *
+  *  Free Software Foundation; either version 2 of the License, or (at your  *
+  *  option) any later version.                                              *
+  \**************************************************************************/
+	/* $Id: hook_deleteaccount.inc.php 13525 2004-01-27 18:19:23Z reinerj $ */
+	/*
+	global $phpgw;
+	global $account_id;
+	*/
+	/* NOTE: This is untested */
+	/* WIP: it should get all files owned by $account_id, not just in /home/account_id */
+	/* Should also be capable of transfering files to another user */
+
+/*
+	$phpgw->vfs->working_id = $account_id;
+	$ls_array = $phpgw->vfs->ls ($phpgw->vfs->fakebase . "/" . $account_id, array (RELATIVE_NONE));
+	while (list ($num, $entry) = each ($ls_array))
+	{
+		$phpgw->vfs->rm ($entry["dir"] . "/" . $entry["name"], array (RELATIVE_NONE));
+	}
+*/
+?>
Index: /sandbox/filemanager/inc/class.sofilemanager.inc.php
===================================================================
--- /sandbox/filemanager/inc/class.sofilemanager.inc.php	(revision 1506)
+++ /sandbox/filemanager/inc/class.sofilemanager.inc.php	(revision 1506)
@@ -0,0 +1,47 @@
+<?php
+
+	class sofilemanager
+	{
+		var $db;
+
+		function sofilemanager()
+		{
+			$this->db = $GLOBALS['phpgw']->db;
+		}
+
+		/* Any initializations that need to be done */
+		function db_init ()
+		{
+			$this->db->Auto_Free = 0;
+		}
+
+		/* General SQL query */
+		function db_query ($query)
+		{
+
+			return $this->db->query ($query);
+		}
+
+		/* Fetch next array for $query_id */
+		function db_fetch_array ($query_id)
+		{
+
+			//	$phpgw->db->Query_ID = $query_id;
+			$this->db->next_record ();
+			return $this->db->Record;
+		}
+
+		/*
+		General wrapper for all other db calls
+		Calls in here are simply returned, so not all will work
+		*/
+		function db_call ($function, $query_id)
+		{
+
+			//	$phpgw->db->Query_ID = $query_id;
+			return $this->db->$function ();
+		}
+
+
+	}
+?>
Index: /sandbox/filemanager/inc/hook_settings.inc.php
===================================================================
--- /sandbox/filemanager/inc/hook_settings.inc.php	(revision 1506)
+++ /sandbox/filemanager/inc/hook_settings.inc.php	(revision 1506)
@@ -0,0 +1,65 @@
+<?php
+	/**************************************************************************\
+	* eGroupWare - Filemanager Preferences                                     *
+	* http://egroupware.org                                                    *
+	* Modified by Pim Snel <pim@egroupware.org>                                *
+	* --------------------------------------------                             *
+	*  This program is free software; you can redistribute it and/or modify it *
+	*  under the terms of the GNU General Public License as published by the   *
+	*  Free Software Foundation; either version 2 of the License, or (at your  *
+	*  option)                                                                 *
+	\**************************************************************************/
+
+	//ExecMethod('filemanager.bofilemanager.check_set_default_prefs');
+
+	/*create_section('TESTING');
+
+	create_check_box('Use new experimental Filemanager?','experimental_new_code','The future filemanager, now for TESTING PURPOSES ONLY, please send bugreports');
+
+	*/
+	create_section('Display attributes');
+
+	$file_attributes = Array(
+		'name' => 'File Name',
+		'mime_type' => 'MIME Type',
+		'size' => 'Size',
+		'created' => 'Created',
+		'modified' => 'Modified',
+		'owner' => 'Owner',
+		'createdby_id' => 'Created by',
+		'modifiedby_id' => 'Created by',
+		'modifiedby_id' => 'Modified by',
+		'app' => 'Application',
+		'comment' => 'Comment',
+		'version' => 'Version'
+	);
+
+	while (list ($key, $value) = each ($file_attributes))
+	{
+		create_check_box($value,$key);
+	}
+	
+	create_section('Other settings');
+
+	$other_checkboxes = array (
+		"viewinnewwin" => "View documents in new window", 
+		"viewonserver" => "View documents on server (if available)", 
+		"viewtextplain" => "Unknown MIME-type defaults to text/plain when viewing", 
+		"dotdot" => "Show ..", 
+		"dotfiles" => "Show .files", 
+	);
+
+	while (list ($key, $value) = each ($other_checkboxes))
+	{
+		create_check_box($value,$key);
+	}
+
+	$upload_boxes=array(
+		"1"=>"1",
+		"5"=>"5",
+		"10"=>"10",
+		"20"=>"20",
+		"30"=>"30"
+	);
+	
+	create_select_box('Default number of upload fields to show','show_upload_boxes',$upload_boxes);
Index: /sandbox/filemanager/indexold.php
===================================================================
--- /sandbox/filemanager/indexold.php	(revision 1506)
+++ /sandbox/filemanager/indexold.php	(revision 1506)
@@ -0,0 +1,1785 @@
+<?php
+
+###
+# DEV NOTE:
+#
+# index.php is depreciated by the inc/class.xxphpwebhosting.inc.php files.
+# index.php is still used in the 0.9.14 release, but all future changes should be
+# made to the inc/class.xxphpwebhosting.inc.php files (3-tiered).  This includes using templates.
+###
+
+###
+# Enable this to display some debugging info
+###
+
+$phpwh_debug = 0;
+
+@reset ($GLOBALS['HTTP_POST_VARS']);
+while (list ($name,) = @each ($GLOBALS['HTTP_POST_VARS']))
+{
+	$$name = $GLOBALS['HTTP_POST_VARS'][$name];
+}
+
+@reset ($GLOBALS['HTTP_GET_VARS']);
+while (list ($name,) = @each ($GLOBALS['HTTP_GET_VARS']))
+{
+	$$name = $GLOBALS['HTTP_GET_VARS'][$name];
+}
+
+$to_decode = array
+(
+	/*
+	Decode
+	'var'	when	  'avar' == 'value'
+	or
+	'var'	when	  'var'  is set
+	*/
+	'op'	=> array ('op' => ''),
+	'path'	=> array ('path' => ''),
+	'file'	=> array ('file' => ''),
+	'sortby'	=> array ('sortby' => ''),
+	'fileman'	=> array ('fileman' => ''),
+	'messages'	=> array ('messages'	=> ''),
+	'help_name'	=> array ('help_name' => ''),
+	'renamefiles'	=> array ('renamefiles' => ''),
+	'comment_files'	=> array ('comment_files' => ''),
+	'show_upload_boxes'	=> array ('show_upload_boxes' => '')
+);
+
+reset ($to_decode);
+while (list ($var, $conditions) = each ($to_decode))
+{
+	while (list ($condvar, $condvalue) = each ($conditions))
+	{
+		if (isset ($$condvar) && ($condvar == $var || $$condvar == $condvalue))
+		{
+			if (is_array ($$var))
+			{
+				$temp = array ();
+      //some fixes in this section were supplied by Michael Totschnig
+				while (list ($varkey, $varvalue) = each ($$var))
+				{
+					if (is_int ($varkey))
+					{
+						$temp[$varkey] = stripslashes (base64_decode(urldecode(($varvalue))));
+					}
+					else
+					{
+						$temp[stripslashes (base64_decode(urldecode(($varkey))))] = $varvalue;
+					}
+				}
+				$$var = $temp;
+			}
+			elseif (isset ($$var))
+			{
+				$$var = stripslashes (base64_decode(urldecode ($$var)));
+			}
+		}
+	}
+}
+
+if ($noheader || $nofooter || ($download && (count ($fileman) > 0)) || ($op == 'view' && $file) || ($op == 'history' && $file) || ($op == 'help' && $help_name))
+{
+	$noheader = True;
+	$nofooter = True;
+}
+
+$GLOBALS['phpgw_info']['flags'] = array
+(
+	'currentapp'	=> 'filemanager',
+	'noheader'	=> $noheader,
+	'nofooter'	=> $nofooter,
+	'noappheader'	=> False,
+	'enable_vfs_class'	=> True,
+	'enable_browser_class'	=> True
+);
+
+include ('../header.inc.php');
+
+if ($execute && $command_line)
+{
+	if ($result = $GLOBALS['phpgw']->vfs->command_line (array ('command_line' => stripslashes ($command_line))))
+	{
+		$messages = html_text_bold (lang('Command sucessfully run'),1);
+		if ($result != 1 && strlen ($result) > 0)
+		{
+			$messages .= html_break (2, NULL, 1) . $result;
+		}
+	}
+	else
+	{
+		$messages = $GLOBALS['phpgw']->common->error_list (array (lang('Error running command')));
+	}
+}
+
+###
+# Page to process users
+# Code is fairly hackish at the beginning, but it gets better
+# Highly suggest turning wrapping off due to long SQL queries
+###
+
+###
+# Some hacks to set and display directory paths correctly
+###
+
+if ($go)
+{
+	$path = $todir;
+}
+
+if (!$path)
+{
+	$path = $GLOBALS['phpgw']->vfs->pwd ();
+
+	if (!$path || $GLOBALS['phpgw']->vfs->pwd (array ('full' => False)) == '')
+	{
+		$path = $GLOBALS['homedir'];
+	}
+}
+
+$GLOBALS['phpgw']->vfs->cd (array ('string' => False, 'relatives' => array (RELATIVE_NONE), 'relative' => False));
+$GLOBALS['phpgw']->vfs->cd (array ('string' => $path, 'relatives' => array (RELATIVE_NONE), 'relative' => False));
+
+$pwd = $GLOBALS['phpgw']->vfs->pwd ();
+
+if (!$cwd = substr ($path, strlen ($GLOBALS['homedir']) + 1))
+{
+	$cwd = '/';
+}
+else
+{
+	$cwd = substr ($pwd, strrpos ($pwd, '/') + 1);
+}
+
+$disppath = $path;
+
+/* This just prevents // in some cases */
+if ($path == '/')
+	$dispsep = '';
+else
+	$dispsep = '/';
+
+if (!($lesspath = substr ($path, 0, strrpos ($path, '/'))))
+	$lesspath = '/';
+
+$now = date ('Y-m-d');
+
+if ($phpwh_debug)
+{
+	echo "<b>PHPWebHosting debug:</b><br>
+		path: $path<br>
+		disppath: $disppath<br>
+		cwd: $cwd<br>
+		lesspath: $lesspath
+		<p>
+		<b>phpGW debug:</b><br>
+		real getabsolutepath: " . $GLOBALS['phpgw']->vfs->getabsolutepath (array ('target' => False, 'mask' => False, 'fake' => False)) . "<br>
+		fake getabsolutepath: " . $GLOBALS['phpgw']->vfs->getabsolutepath (array ('target' => False)) . "<br>
+		appsession: " . $GLOBALS['phpgw']->session->appsession ('vfs','') . "<br>
+		pwd: " . $GLOBALS['phpgw']->vfs->pwd () . "<br>";
+}
+
+###
+# Get their readable groups to be used throughout the script
+###
+
+$groups = array ();
+
+$groups = $GLOBALS['phpgw']->accounts->get_list ('groups');
+
+$readable_groups = array ();
+
+while (list ($num, $account) = each ($groups))
+{
+	if ($GLOBALS['phpgw']->vfs->acl_check (array (
+			'owner_id' => $account['account_id'],
+			'operation' => PHPGW_ACL_READ
+		))
+	)
+	{
+		$readable_groups[$account['account_lid']] = Array('account_id' => $account['account_id'], 'account_name' => $account['account_lid']);
+	}
+}
+
+$groups_applications = array ();
+
+while (list ($num, $group_array) = each ($readable_groups))
+{
+	$group_id = $GLOBALS['phpgw']->accounts->name2id ($group_array['account_name']);
+
+	$applications = CreateObject('phpgwapi.applications', $group_id);
+	$groups_applications[$group_array['account_name']] = $applications->read_account_specific ();
+}
+
+###
+# We determine if they're in their home directory or a group's directory,
+# and set the VFS working_id appropriately
+###
+
+if ((preg_match ('+^'.$GLOBALS['fakebase'].'\/(.*)(\/|$)+U', $path, $matches)) && $matches[1] != $GLOBALS['userinfo']['account_lid'])
+{
+	$GLOBALS['phpgw']->vfs->working_id = $GLOBALS['phpgw']->accounts->name2id ($matches[1]);
+}
+else
+{
+	$GLOBALS['phpgw']->vfs->working_id = $GLOBALS['userinfo']['username'];
+}
+
+if ($path != $GLOBALS['homedir']
+	&& $path != $GLOBALS['fakebase']
+	&& $path != '/'
+	&& !$GLOBALS['phpgw']->vfs->acl_check (array (
+			'string' => $path,
+			'relatives' => array (RELATIVE_NONE),
+			'operation' => PHPGW_ACL_READ
+	))
+)
+{
+	echo $GLOBALS['phpgw']->common->error_list (array (lang('You do not have access to %1', $path)));
+	html_break (2);
+	html_link ($GLOBALS['appname'].'/index.php?path='.$GLOBALS['homedir'], lang('Go to your home directory'));
+	html_page_close ();
+}
+
+$GLOBALS['userinfo']['working_id'] = $GLOBALS['phpgw']->vfs->working_id;
+$GLOBALS['userinfo']['working_lid'] = $GLOBALS['phpgw']->accounts->id2name ($GLOBALS['userinfo']['working_id']);
+
+###
+# If their home directory doesn't exist, we create it
+# Same for group directories
+###
+
+if (($path == $GLOBALS['homedir'])
+	&& !$GLOBALS['phpgw']->vfs->file_exists (array (
+		'string' => $GLOBALS['homedir'],
+		'relatives' => array (RELATIVE_NONE)
+	))
+)
+{
+	$GLOBALS['phpgw']->vfs->override_acl = 1;
+
+	if (!$GLOBALS['phpgw']->vfs->mkdir (array ('string' => $GLOBALS['homedir'], 'relatives' => array (RELATIVE_NONE))))
+	{
+		$p = $phpgw->vfs->path_parts (array ('string' => $GLOBALS['homedir'], 'relatives' => array (RELATIVE_NONE)));
+		echo $GLOBALS['phpgw']->common->error_list (array (lang('Could not create directory %1', $GLOBALS['homedir'] . ' (' . $p->real_full_path . ')')));
+	}
+
+	$GLOBALS['phpgw']->vfs->override_acl = 0;
+}
+
+###
+# Verify path is real
+###
+
+if ($path != $GLOBALS['homedir'] && $path != '/' && $path != $GLOBALS['fakebase'])
+{
+	if (!$GLOBALS['phpgw']->vfs->file_exists (array ('string' => $path, 'relatives' => array (RELATIVE_NONE))))
+	{
+		echo $GLOBALS['phpgw']->common->error_list (array (lang('Directory %1 does not exist', $path)));
+		html_break (2);
+		html_link ($GLOBALS['appname'].'/index.php?path='.$GLOBALS['homedir'], lang('Go to your home directory'));
+		html_break (2);
+		html_link_back ();
+		html_page_close ();
+	}
+}
+
+/* Update if they request it, or one out of 20 page loads */
+srand ((double) microtime() * 1000000);
+if ($update || rand (0, 19) == 4)
+{
+	$GLOBALS['phpgw']->vfs->update_real (array ('string' => $path, 'relatives' => array (RELATIVE_NONE)));
+}
+
+###
+# Check available permissions for $path, so we can disable unusable operations in user interface
+###
+
+if ($GLOBALS['phpgw']->vfs->acl_check (array (
+        'string'        => $path,
+        'relatives' => array (RELATIVE_NONE),
+        'operation' => PHPGW_ACL_ADD
+        ))
+)
+{
+	$can_add = True;
+}
+
+###
+# Default is to sort by name
+###
+
+if (!$sortby)
+{
+	$sortby = 'name';
+}
+
+###
+# Decide how many upload boxes to show
+###
+
+if (!$show_upload_boxes || $show_upload_boxes <= 0)
+{
+	if (!$show_upload_boxes = $GLOBALS['settings']['show_upload_boxes'])
+	{
+		$show_upload_boxes = 5;
+	}
+}
+
+
+###
+# Read in file info from database to use in the rest of the script
+# $fakebase is a special directory.  In that directory, we list the user's
+# home directory and the directories for the groups they're in
+###
+
+$numoffiles = 0;
+if ($path == $GLOBALS['fakebase'])
+{
+	if (!$GLOBALS['phpgw']->vfs->file_exists (array ('string' => $GLOBALS['homedir'], 'relatives' => array (RELATIVE_NONE))))
+	{
+		$GLOBALS['phpgw']->vfs->mkdir (array ('string' => $GLOBALS['homedir'], 'relatives' => array (RELATIVE_NONE)));
+	}
+
+	$ls_array = $GLOBALS['phpgw']->vfs->ls (array (
+			'string'	=> $GLOBALS['homedir'],
+			'relatives'	=> array (RELATIVE_NONE),
+			'checksubdirs'	=> False,
+			'nofiles'	=> True
+		)
+	);
+	$files_array[] = $ls_array[0];
+	$numoffiles++;
+//	$files_array = $ls_array;
+//	$numoffiles = count($ls_array);
+
+	reset ($readable_groups);
+	while (list ($num, $group_array) = each ($readable_groups))
+	{
+		###
+		# If the group doesn't have access to this app, we don't show it
+		###
+
+		if (!$groups_applications[$group_array['account_name']][$GLOBALS['appname']]['enabled'])
+		{
+			continue;
+		}
+
+		if (!$GLOBALS['phpgw']->vfs->file_exists (array (
+				'string'	=> $GLOBALS['fakebase'].'/'.$group_array['account_name'],
+				'relatives'	=> array (RELATIVE_NONE)
+			))
+		)
+		{
+			$GLOBALS['phpgw']->vfs->override_acl = 1;
+			$GLOBALS['phpgw']->vfs->mkdir (array (
+					'string'	=> $GLOBALS['fakebase'].'/'.$group_array['account_name'],
+					'relatives'	=> array (RELATIVE_NONE)
+				)
+			);
+			$GLOBALS['phpgw']->vfs->override_acl = 0;
+
+			$GLOBALS['phpgw']->vfs->set_attributes (array (
+					'string'	=> $GLOBALS['fakebase'].'/'.$group_array['account_name'],
+					'relatives'	=> array (RELATIVE_NONE),
+					'attributes'	=> array (
+								'owner_id' => $group_array['account_id'],
+								'createdby_id' => $group_array['account_id']
+							)
+				)
+			);
+		}
+
+		$ls_array = $GLOBALS['phpgw']->vfs->ls (array (
+				'string'	=> $GLOBALS['fakebase'].'/'.$group_array['account_name'],
+				'relatives'	=> array (RELATIVE_NONE),
+				'checksubdirs'	=> False,
+				'nofiles'	=> True
+			)
+		);
+
+		$files_array[] = $ls_array[0];
+
+		$numoffiles++;
+	}
+}
+else
+{
+	$ls_array = $GLOBALS['phpgw']->vfs->ls (array (
+			'string'	=> $path,
+			'relatives'	=> array (RELATIVE_NONE),
+			'checksubdirs'	=> False,
+			'nofiles'	=> False,
+			'orderby'	=> $sortby
+		)
+	);
+
+	if ($phpwh_debug)
+	{
+		echo '# of files found in "'.$path.'" : '.count($ls_array).'<br>'."\n";
+	}
+
+	while (list ($num, $file_array) = each ($ls_array))
+	{
+		$numoffiles++;
+		$files_array[] = $file_array;
+		if ($phpwh_debug)
+		{
+			echo 'Filename: '.$file_array['name'].'<br>'."\n";
+		}
+	}
+}
+
+if (!is_array ($files_array))
+{
+	$files_array = array ();
+}
+
+if ($download)
+{
+	for ($i = 0; $i != $numoffiles; $i++)
+	{
+		if (!$fileman[$i])
+		{
+			continue;
+		}
+
+		$download_browser = CreateObject ('phpgwapi.browser');
+		$download_browser->content_header ($fileman[$i]);
+		echo $GLOBALS['phpgw']->vfs->read (array ('string' => $fileman[$i]));
+		$GLOBALS['phpgw']->common->phpgw_exit ();
+	}
+}
+
+if ($op == 'view' && $file)
+{
+	$ls_array = $GLOBALS['phpgw']->vfs->ls (array (
+			'string'	=> $path.'/'.$file,
+			'relatives'	=> array (RELATIVE_ALL),
+			'checksubdirs'	=> False,
+			'nofiles'	=> True
+		)
+	);
+
+	if ($ls_array[0]['mime_type'])
+	{
+		$mime_type = $ls_array[0]['mime_type'];
+	}
+	elseif ($GLOBALS['settings']['viewtextplain'])
+	{
+		$mime_type = 'text/plain';
+	}
+
+	header('Content-type: ' . $mime_type);
+	echo $GLOBALS['phpgw']->vfs->read (array (
+			'string'	=> $path.'/'.$file,
+			'relatives'	=> array (RELATIVE_NONE)
+		)
+	);
+	$GLOBALS['phpgw']->common->phpgw_exit ();
+}
+
+if ($op == 'history' && $file)
+{
+	$journal_array = $GLOBALS['phpgw']->vfs->get_journal (array (
+			'string'	=> $file,
+			'relatives'	=> array (RELATIVE_ALL)
+		)
+	);
+
+	if (is_array ($journal_array))
+	{
+		html_table_begin ();
+		html_table_row_begin ();
+		html_table_col_begin ();
+		html_text_bold (lang('Date'));
+		html_table_col_end ();
+		html_table_col_begin ();
+		html_text_bold (lang('Version'));
+		html_table_col_end ();
+		html_table_col_begin ();
+		html_text_bold (lang('Who'));
+		html_table_col_end ();
+		html_table_col_begin ();
+		html_text_bold (lang('Operation'));
+		html_table_col_end ();
+		html_table_row_end ();
+
+		while (list ($num, $journal_entry) = each ($journal_array))
+		{
+			html_table_row_begin ();
+			html_table_col_begin ();
+			html_text ($journal_entry['created'] . html_nbsp (3, 1));
+			html_table_col_end ();
+			html_table_col_begin ();
+			html_text ($journal_entry['version'] . html_nbsp (3, 1));
+			html_table_col_end ();
+			html_table_col_begin ();
+			html_text ($GLOBALS['phpgw']->accounts->id2name ($journal_entry['owner_id']) . html_nbsp (3, 1));
+			html_table_col_end ();
+			html_table_col_begin ();
+			html_text ($journal_entry['comment']);
+			html_table_col_end ();
+		}
+
+		html_table_end ();
+		html_page_close ();
+	}
+	else
+	{
+		html_text_bold (lang('No version history for this file/directory'));
+	}
+
+}
+
+if ($newfile && $createfile)
+{
+	if ($badchar = bad_chars ($createfile, True, True))
+	{
+		echo $GLOBALS['phpgw']->common->error_list (array (html_encode (lang('File names cannot contain "%1"',$badchar), 1)));
+		html_break (2);
+		html_link_back ();
+		html_page_close ();
+	}
+
+	if ($GLOBALS['phpgw']->vfs->file_exists (array (
+			'string'	=> $createfile,
+			'relatives'	=> array (RELATIVE_ALL)
+		))
+	)
+	{
+		echo $GLOBALS['phpgw']->common->error_list (array (lang('File %1 already exists. Please edit it or delete it first.', $createfile)));
+		html_break (2);
+		html_link_back ();
+		html_page_close ();
+	}
+
+	if ($GLOBALS['phpgw']->vfs->touch (array (
+			'string'	=> $createfile,
+			'relatives'	=> array (RELATIVE_ALL)
+		))
+	)
+	{
+		$fileman = array ();
+		$fileman[0] = $createfile;
+		$edit = 1;
+		$numoffiles++;
+	}
+	else
+	{
+		echo $GLOBALS['phpgw']->common->error_list (array (lang('File %1 could not be created.', $createfile)));
+	}
+}
+
+if ($op == 'help' && $help_name)
+{
+	while (list ($num, $help_array) = each ($help_info))
+	{
+		if ($help_array[0] != $help_name)
+			continue;
+
+		$help_array[1] = preg_replace ("/\[(.*)\|(.*)\]/Ue", "html_help_link ('\\1', '\\2', False, True)", $help_array[1]);
+		$help_array[1] = preg_replace ("/\[(.*)\]/Ue", "html_help_link ('\\1', '\\1', False, True)", $help_array[1]);
+
+		html_font_set ('4');
+		$title = ereg_replace ('_', ' ', $help_array[0]);
+		$title = ucwords ($title);
+		html_text ($title);
+		html_font_end ();
+
+		html_break (2);
+
+		html_font_set ('2');
+		html_text ($help_array[1]);
+		html_font_end ();
+	}
+
+	$GLOBALS['phpgw']->common->phpgw_exit ();
+}
+
+###
+# Start Main Page
+###
+
+html_page_begin (lang('Users').' :: '.$GLOBALS['userinfo']['username']);
+html_page_body_begin (HTML_PAGE_BODY_COLOR);
+
+if ($messages)
+{
+	html_text ($messages);
+}
+
+if (!count ($GLOBALS['settings']))
+{
+	$pref = CreateObject ('phpgwapi.preferences', $GLOBALS['userinfo']['username']);
+	$pref->read_repository (); 
+	$GLOBALS['phpgw']->hooks->single ('add_def_pref', $GLOBALS['appname']);
+	$pref->save_repository (True);
+	$pref_array = $pref->read_repository ();
+	$GLOBALS['settings'] = $pref_array[$GLOBALS['appname']];
+}
+
+###
+# Start Main Table 
+###
+
+if (!$op && !$delete && !$createdir && !$renamefiles && !$move && !$copy && !$edit && !$comment_files)
+{
+	html_table_begin ('100%');
+	html_table_row_begin ();
+	html_table_col_begin ('center', NULL, 'top');
+	html_align ('center');
+	html_form_begin ($GLOBALS['appname'].'/index.php?path='.$path);
+	if ($numoffiles || $cwd)
+	{
+		while (list ($num, $name) = each ($GLOBALS['settings']))
+		{
+			if ($name)
+			{
+				$columns++;
+			}
+		}
+		$columns++;
+		html_table_begin ();
+		html_table_row_begin (NULL, NULL, NULL, HTML_TABLE_FILES_HEADER_BG_COLOR);
+		html_table_col_begin ('center', NULL, NULL, NULL, $columns);
+		html_table_begin ('100%');
+		html_table_row_begin ();
+		html_table_col_begin ('left');
+		
+		if ($path != '/')
+		{
+			html_link ($GLOBALS['appname'].'/index.php?path='.$lesspath, html_image ('images/folder-up.png', lang('Up'), 'left', 0, NULL, 1));
+			html_help_link ('up');
+		}
+		
+		html_table_col_end ();
+		html_table_col_begin ('center');
+		
+		if ($cwd)
+		{
+			if ($path == $GLOBALS['homedir'])
+			{
+				html_image ('images/folder-home.png', lang('Folder'), 'center');
+			}
+			else
+			{
+				html_image ('images/folder.png', lang('Folder'), 'center');
+			}
+		}
+		else
+		{
+			html_image ('images/folder-home.png', lang('Home'));
+		}
+		
+		html_font_set (4, HTML_TABLE_FILES_HEADER_TEXT_COLOR);
+		html_text_bold ($disppath);
+		html_font_end ();
+		html_help_link ('directory_name');
+		html_table_col_end ();
+		html_table_col_begin ('right');
+		
+		if ($path != $GLOBALS['homedir'])
+		{
+			html_link ($GLOBALS['appname'].'/index.php?path='.$GLOBALS['homedir'], html_image ('images/folder-home.png', lang('Home'), 'right', 0, NULL, 1));
+			html_help_link ('home');
+		}
+
+		html_table_col_end ();
+		html_table_row_end ();
+		html_table_end ();
+		html_table_col_end ();
+		html_table_row_end ();
+		html_table_row_begin (NULL, NULL, NULL, HTML_TABLE_FILES_COLUMN_HEADER_BG_COLOR);
+		
+		###
+		# Start File Table Column Headers
+		# Reads values from $file_attributes array and preferences
+		###
+
+		html_table_col_begin ();
+		html_text (lang('Sort by:') . html_nbsp (1, 1), NULL, NULL, 0);
+		html_help_link ('sort_by');
+		html_table_col_end ();
+
+		reset ($file_attributes);
+		while (list ($internal, $displayed) = each ($file_attributes))
+		{
+			if ($GLOBALS['settings'][$internal])
+			{
+				html_table_col_begin ();
+				html_link ($GLOBALS['appname'].'/index.php?path='.$path.'&sortby='.$internal, html_text_bold ($displayed, 1, 0));
+				html_help_link (strtolower (ereg_replace (' ', '_', $displayed)));
+				html_table_col_end ();
+			}
+		}
+
+		html_table_col_begin ();
+		html_table_col_end ();
+		html_table_row_end ();
+
+		if ($GLOBALS['settings']['dotdot'] && $GLOBALS['settings']['name'] && $path != '/')
+		{
+			html_table_row_begin ();
+			html_table_col_begin ();
+			html_table_col_end ();
+
+			/* We can assume the next column is the name */
+			html_table_col_begin ();
+			html_image ('images/folder.png', lang('Folder'));
+			html_link ($GLOBALS['appname'].'/index.php?path='.$lesspath, '..');
+			html_table_col_end ();
+
+			if ($GLOBALS['settings']['mime_type'])
+			{
+				html_table_col_begin ();
+				html_text (lang('Directory'));
+				html_table_col_end ();
+			}
+
+			html_table_row_end ();
+		}
+
+		###
+		# List all of the files, with their attributes
+		###
+
+		reset ($files_array);
+		for ($i = 0; $i != $numoffiles; $i++)
+		{
+			$files = $files_array[$i];
+
+			if ($rename || $edit_comments)
+			{
+				unset ($this_selected);
+				unset ($renamethis);
+				unset ($edit_this_comment);
+
+				for ($j = 0; $j != $numoffiles; $j++)
+				{
+					if ($fileman[$j] == $files['name'])
+					{
+						$this_selected = 1;
+						break;
+					}
+				}
+
+				if ($rename && $this_selected)
+				{
+					$renamethis = 1;
+				}
+				elseif ($edit_comments && $this_selected)
+				{
+					$edit_this_comment = 1;
+				}
+			}
+
+			if (!$GLOBALS['settings']['dotfiles'] && ereg ("^\.", $files['name']))
+			{
+				continue;
+			}
+
+			html_table_row_begin (NULL, NULL, NULL, HTML_TABLE_FILES_BG_COLOR);
+
+			###
+			# Checkboxes
+			###
+
+			html_table_col_begin ('right');
+
+			if (!$rename && !$edit_comments && $path != $GLOBALS['fakebase'] && $path != '/')
+			{
+				html_form_input ('checkbox', 'fileman['.$i.']', base64_encode ($files['name']));
+			}
+			elseif ($renamethis)
+			{
+				html_form_input ('hidden', 'fileman[' . base64_encode ($files['name']) . ']', $files['name'], NULL, NULL, 'checked');
+			}
+			else
+			{
+				html_nbsp();
+			}
+
+			html_table_col_end ();
+
+			###
+			# File name and icon
+			###
+
+			if ($GLOBALS['settings']['name'])
+			{
+				if ($phpwh_debug)
+				{
+					echo 'Setting file name: '.$files['name'].'<br>'."\n";
+				}
+
+				html_table_col_begin ();
+
+				if ($renamethis)
+				{
+					if ($files['mime_type'] == 'Directory')
+					{
+						html_image ('images/folder.png', lang('Folder'));
+					}
+					html_form_input ('text', 'renamefiles[' . base64_encode ($files['name']) . ']', $files['name'], 255);
+				}
+				else
+				{
+					if ($files['mime_type'] == 'Directory')
+					{
+						html_image ('images/folder.png', lang('Folder'));		
+						html_link ($GLOBALS['appname'].'/index.php?path='.$path.$dispsep.$files['name'], $files['name']);
+					}
+					else
+					{
+						if ($GLOBALS['settings']['viewonserver'] && isset ($GLOBALS['filesdir']) && !$files['link_directory'])
+						{
+							$clickview = $GLOBALS['filesdir'].$pwd.'/'.$files['name'];
+
+							if ($phpwh_debug)
+							{
+								echo 'Setting clickview = '.$clickview.'<br>'."\n";
+							}
+						}
+						else
+						{
+							$clickview = $GLOBALS['appname'].'/index.php?op=view&file='.$files['name'].'&path='.$path;
+						}
+
+						if ($GLOBALS['settings']['viewinnewwin'])
+						{
+							$target = '_new';
+						}
+
+						html_link ($clickview, $files['name'], 0, 1, 0, $target);
+					}
+				}
+
+				html_table_col_end ();
+			}
+
+			###
+			# MIME type
+			###
+
+			if ($GLOBALS['settings']['mime_type'])
+			{
+				html_table_col_begin ();
+				html_text ($files['mime_type']);
+				html_table_col_end ();
+			}
+
+			###
+			# File size
+			###
+
+			if ($GLOBALS['settings']['size'])
+			{
+				html_table_col_begin ();
+
+				$size = $GLOBALS['phpgw']->vfs->get_size (array (
+						'string'	=> $files['directory'] . '/' . $files['name'],
+						'relatives'	=> array (RELATIVE_NONE)
+					)
+				);
+
+				borkb ($size);
+
+				html_table_col_end ();
+			}
+
+			###
+			# Date created
+			###
+			if ($GLOBALS['settings']['created'])
+			{
+				html_table_col_begin ();
+				html_text ($files['created']);
+				html_table_col_end ();
+			}
+
+			###
+			# Date modified
+			###
+
+			if ($GLOBALS['settings']['modified'])
+			{
+				html_table_col_begin ();
+				if ($files['modified'] != '0000-00-00')
+				{
+					html_text ($files['modified']);
+				}
+				html_table_col_end ();
+			}
+
+			###
+			# Owner name
+			###
+
+			if ($GLOBALS['settings']['owner'])
+			{
+				html_table_col_begin ();
+				html_text ($GLOBALS['phpgw']->accounts->id2name ($files['owner_id']));
+				html_table_col_end ();
+			}
+
+			###
+			# Creator name
+			###
+
+			if ($GLOBALS['settings']['createdby_id'])
+			{
+				html_table_col_begin ();
+				if ($files['createdby_id'])
+				{
+					html_text ($GLOBALS['phpgw']->accounts->id2name ($files['createdby_id']));
+				}
+				html_table_col_end ();
+			}
+
+			###
+			# Modified by name
+			###
+
+			if ($GLOBALS['settings']['modifiedby_id'])
+			{
+				html_table_col_begin ();
+				if ($files['modifiedby_id'])
+				{
+					html_text ($GLOBALS['phpgw']->accounts->id2name ($files['modifiedby_id']));
+				}
+				html_table_col_end ();
+			}
+
+			###
+			# Application
+			###
+
+			if ($GLOBALS['settings']['app'])
+			{
+				html_table_col_begin ();
+				html_text ($files['app']);
+				html_table_col_end ();
+			}
+
+			###
+			# Comment
+			###
+
+			if ($GLOBALS['settings']['comment'])
+			{
+				html_table_col_begin ();
+				if ($edit_this_comment)
+				{
+					html_form_input ('text', 'comment_files[' . base64_encode ($files['name']) . ']', html_encode ($files['comment'], 1), 255);
+				}
+				else
+				{
+					html_text ($files['comment']);
+				}
+				html_table_col_end ();
+			}
+
+			###
+			# Version
+			###
+
+			if ($GLOBALS['settings']['version'])
+			{
+				html_table_col_begin ();
+				html_link ($GLOBALS['appname'].'/index.php?op=history&file='.$files['name'].'&path='.$path, $files['version'], NULL, True, NULL, '_new');
+				html_table_col_end ();
+			}
+
+			###
+			# Deleteable (currently not used)
+			###
+
+			if ($GLOBALS['settings']['deleteable'])
+			{
+				if ($files['deleteable'] == 'N')
+				{
+					html_table_col_begin ();
+					html_image ('images/locked.png', lang('Locked'));
+					html_table_col_end ();
+				}
+				else
+				{
+					html_table_col_begin ();
+					html_table_col_end ();
+				}
+			}
+
+			html_table_row_end ();
+
+			if ($files['mime_type'] == 'Directory')
+			{
+				$usedspace += $fileinfo[0];
+			}
+			else
+			{
+				$usedspace += $files['size'];
+			}
+		}
+
+		html_table_end ();
+		html_break (2);
+
+		if ($path != '/' && $path != $GLOBALS['fakebase'])
+		{
+			if (!$rename && !$edit_comments)
+			{
+				html_form_input ('submit', 'edit', lang('Edit'));
+				html_help_link ('edit');
+				html_nbsp (3);
+			}
+
+			if (!$edit_comments)
+			{
+				html_form_input ('submit', 'rename', lang('Rename'));
+				html_help_link ('rename');
+				html_nbsp (3);
+			}
+
+			if (!$rename && !$edit_comments)
+			{
+				html_form_input ('submit', 'delete', lang('Delete'));
+				html_help_link ('delete');
+				html_nbsp (3);
+			}
+
+			if (!$rename)
+			{
+				html_form_input ('submit', 'edit_comments', lang('Edit comments'));
+				html_help_link ('edit_comments');
+			}
+		}
+	}
+
+	###
+	# Display some inputs and info, but not when renaming or editing comments
+	###
+
+	if (!$rename && !$edit_comments)
+	{
+		###
+		# Begin Copy to/Move to selection
+		###
+		
+		html_break (1);
+		html_form_input ('submit', 'go', lang('Go to:'));
+		html_help_link ('go_to');
+
+		if ($path != '/' && $path != $GLOBALS['fakebase'])
+		{
+			html_form_input ('submit', 'copy', lang('Copy to:'));
+			html_help_link ('copy_to');
+			html_form_input ('submit', 'move', lang('Move to:'));
+			html_help_link ('move_to');
+		}
+
+		html_form_select_begin ('todir');
+
+		html_break (1);
+
+		###
+		# First we get the directories in their home directory
+		###
+
+		$dirs = array ();
+		$dirs[] = array ('directory' => $GLOBALS['fakebase'], 'name' => $GLOBALS['userinfo']['account_lid']);
+
+		$ls_array = $GLOBALS['phpgw']->vfs->ls (array (
+				'string'	=> $GLOBALS['homedir'],
+				'relatives'	=> array (RELATIVE_NONE),
+				'checksubdirs'	=> True,
+				'mime_type'	=> 'Directory'
+			)
+		);
+
+		while (list ($num, $dir) = each ($ls_array))
+		{
+			$dirs[] = $dir;
+		}
+
+
+		###
+		# Then we get the directories in their readable groups' home directories
+		###
+
+		reset ($readable_groups);
+		while (list ($num, $group_array) = each ($readable_groups))
+		{
+			###
+			# Don't list directories for groups that don't have access
+			###
+
+			if (!$groups_applications[$group_array['account_name']][$GLOBALS['appname']]['enabled'])
+			{
+				continue;
+			}
+
+			$dirs[] = array ('directory' => $GLOBALS['fakebase'], 'name' => $group_array['account_name']);
+
+			$ls_array = $phpgw->vfs->ls (array (
+					'string'	=> $GLOBALS['fakebase'].'/'.$group_array['account_name'],
+					'relatives'	=> array (RELATIVE_NONE),
+					'checksubdirs'	=> True,
+					'mime_type'	=> 'Directory'
+				)
+			);
+			while (list ($num, $dir) = each ($ls_array))
+			{
+				$dirs[] = $dir;
+			}
+		}
+
+		reset ($dirs);
+		while (list ($num, $dir) = each ($dirs))
+		{
+			if (!$dir['directory'])
+			{
+				continue;
+			}
+			
+			###
+			# So we don't display //
+			###
+
+			if ($dir['directory'] != '/')
+			{
+				$dir['directory'] .= '/';
+			}
+
+			###
+			# No point in displaying the current directory, or a directory that doesn't exist
+			###
+			
+			if ((($dir['directory'] . $dir['name']) != $path)
+				&& $GLOBALS['phpgw']->vfs->file_exists (array (
+						'string'	=> $dir['directory'] . $dir['name'],
+						'relatives'	=> array (RELATIVE_NONE)
+				))
+			)
+			{
+				html_form_option ($dir['directory'] . $dir['name'], $dir['directory'] . $dir['name']);
+			}
+		}
+
+		html_form_select_end ();
+		html_help_link ('directory_list');
+
+		if ($path != '/' && $path != $GLOBALS['fakebase'])
+		{
+			html_break (1);
+
+			html_form_input ('submit', 'download', lang('Download'));
+			html_help_link ('download');
+			html_nbsp (3);
+
+			if ($can_add)
+			{
+				html_form_input ('text', 'createdir', NULL, 255, 15);
+				html_form_input ('submit', 'newdir', lang('Create Folder'));
+				html_help_link ('create_folder');
+			}
+		}
+
+		html_break (1);
+		html_form_input ('submit', 'update', lang('Update'));
+		html_help_link ('update');
+
+		if ($path != '/' && $path != $GLOBALS['fakebase'] && $can_add)
+		{
+			html_nbsp (3);
+			html_form_input ('text', 'createfile', NULL, 255, 15);
+			html_form_input ('submit', 'newfile', lang('Create File'));
+			html_help_link ('create_file');
+		}
+
+		if ($GLOBALS['settings']['show_command_line'])
+		{
+			html_break (2);
+			html_form_input ('text', 'command_line', NULL, NULL, 50);
+			html_help_link ('command_line');
+
+			html_break (1);
+			html_form_input ('submit', 'execute', lang('Execute'));
+			html_help_link ('execute');
+		}
+
+		html_form_end ();
+
+		html_help_link ('file_stats');
+		html_break (1);
+		html_text_bold (lang('Files').': ');
+		html_text ($numoffiles);
+		html_nbsp (3);
+
+		html_text_bold (lang('Used space').': ');
+		html_text (borkb ($usedspace, NULL, 1));
+		html_nbsp (3);
+		
+		if ($path == $GLOBALS['homedir'] || $path == $GLOBALS['fakebase'])
+		{
+			html_text_bold (lang('Unused space').': ');
+			html_text (borkb ($GLOBALS['userinfo']['hdspace'] - $usedspace, NULL, 1));
+
+			$ls_array = $GLOBALS['phpgw']->vfs->ls (array (
+					'string'	=> $path,
+					'relatives'	=> array (RELATIVE_NONE)
+				)
+			);
+
+			$i = count ($ls_array);
+
+			html_break (2);
+			html_text_bold (lang('Total Files').': ');
+			html_text ($i);
+		}
+		
+		###
+		# Show file upload boxes. Note the last argument to html ().  Repeats $show_upload_boxes times
+		###
+
+		if ($path != '/' && $path != $GLOBALS['fakebase'] && $can_add)
+		{
+			html_break (2);
+			html_form_begin ($GLOBALS['appname'].'/index.php?op=upload&path='.$path, 'post', 'multipart/form-data');
+			html_table_begin ();
+			html_table_row_begin ('center');
+			html_table_col_begin ();
+			html_text_bold (lang('File'));
+			html_help_link ('upload_file');
+			html_table_col_end ();
+			html_table_col_begin ();
+			html_text_bold (lang('Comment'));
+			html_help_link ('upload_comment');
+			html_table_col_end ();
+			html_table_row_end ();
+
+			html_table_row_begin ();
+			html_table_col_begin ();
+			html_form_input ('hidden', 'show_upload_boxes', base64_encode ($show_upload_boxes));
+			html (html_form_input ('file', 'upload_file[]', NULL, 255, NULL, NULL, NULL, 1) . html_break (1, NULL, 1), $show_upload_boxes);
+			html_table_col_end ();
+			html_table_col_begin ();
+			html (html_form_input ('text', 'upload_comment[]', NULL, NULL, NULL, NULL, NULL, 1) . html_break (1, NULL, 1), $show_upload_boxes);
+			html_table_col_end ();
+			html_table_row_end ();
+			html_table_end ();
+			html_form_input ('submit', 'upload_files', lang('Upload files'));
+			html_help_link ('upload_files');
+			html_break (2);
+			html_text (lang('Show') . html_nbsp (1, True));
+			html_link ($GLOBALS['appname'].'/index.php?show_upload_boxes=5', '5');
+			html_nbsp ();
+			html_link ($GLOBALS['appname'].'/index.php?show_upload_boxes=10', '10');
+			html_nbsp ();
+			html_link ($GLOBALS['appname'].'/index.php?show_upload_boxes=20', '20');
+			html_nbsp ();
+			html_link ($GLOBALS['appname'].'/index.php?show_upload_boxes=50', '50');
+			html_nbsp ();
+			html_text (lang('upload fields'));
+			html_nbsp ();
+			html_help_link ('show_upload_fields');
+			html_form_end ();
+		}
+	}
+
+	html_table_col_end ();
+	html_table_row_end ();
+	html_table_end ();
+	html_page_close ();
+}
+
+###
+# Handle Editing files
+###
+
+if ($edit)
+{
+	###
+	# If $edit is "Edit", we do nothing, and let the for loop take over
+	###
+
+	if ($edit_file)
+	{
+		$edit_file_content = stripslashes ($edit_file_content);
+	}
+
+	if ($edit_preview)
+	{
+		$content = $edit_file_content;
+
+		html_break (1);
+		html_text_bold (lang('Preview of %1', $path.'/'.$edit_file));
+		html_break (2);
+
+		html_table_begin ('90%');
+		html_table_row_begin ();
+		html_table_col_begin ();
+		html_text (nl2br ($content));
+		html_table_col_end ();
+		html_table_row_end ();
+		html_table_end ();
+	}
+	elseif ($edit_save)
+	{
+		$content = $edit_file_content;
+
+		if ($GLOBALS['phpgw']->vfs->write (array (
+				'string'	=> $edit_file,
+				'relatives'	=> array (RELATIVE_ALL),
+				'content'	=> $content
+			))
+		)
+		{
+			html_text_bold (lang('Saved %1', $path.'/'.$edit_file));
+			html_break (2);
+			html_link_back ();
+		}
+		else
+		{
+			html_text_error (lang('Could not save %1', $path.'/'.$edit_file));
+			html_break (2);
+			html_link_back ();
+		}
+	}
+
+/* This doesn't work just yet
+	elseif ($edit_save_all)
+	{
+		for ($j = 0; $j != $numoffiles; $j++)
+		{
+			$fileman[$j];
+
+			$content = $fileman[$j];
+			echo 'fileman['.$j.']: '.$fileman[$j].'<br><b>'.$content.'</b><br>';
+			continue;
+
+			if ($GLOBALS['phpgw']->vfs->write (array (
+					'string'	=> $fileman[$j],
+					'relatives'	=> array (RELATIVE_ALL),
+					'content'	=> $content
+				))
+			)
+			{
+				html_text_bold (lang('Saved %1', $path.'/'.$fileman[$j]));
+				html_break (1);
+			}
+			else
+			{
+				html_text_error (lang('Could not save %1', $path.'/'.$fileman[$j]));
+				html_break (1);
+			}
+		}
+
+		html_break (1);
+	}
+*/
+
+	###
+	# Now we display the edit boxes and forms
+	###
+
+	for ($j = 0; $j != $numoffiles; $j++)
+	{
+		###
+		# If we're in preview or save mode, we only show the file
+		# being previewed or saved
+		###
+
+		if ($edit_file && ($fileman[$j] != $edit_file))
+		{
+			continue;
+		}
+
+		if ($fileman[$j] && $GLOBALS['phpgw']->vfs->file_exists (array (
+						'string'	=> $fileman[$j],
+						'relatives'	=> array (RELATIVE_ALL)
+			))
+		)
+		{
+			if ($edit_file)
+			{
+				$content = stripslashes ($edit_file_content);
+			}
+			else
+			{
+				$content = $GLOBALS['phpgw']->vfs->read (array ('string' => $fileman[$j]));
+			}
+
+			html_table_begin ('100%');
+			html_form_begin ($GLOBALS['appname'].'/index.php?path='.$path);
+			html_form_input ('hidden', 'edit', True);
+			html_form_input ('hidden', 'edit_file', $fileman[$j]);
+
+			###
+			# We need to include all of the fileman entries for each file's form,
+			# so we loop through again
+			###
+
+			for ($i = 0; $i != $numoffiles; $i++)
+			{
+				html_form_input ('hidden', 'fileman['.$i.']', base64_encode ($fileman[$i]));
+			}
+
+			html_table_row_begin ();
+			html_table_col_begin ();
+			html_form_textarea ('edit_file_content', 35, 75, $content);
+			html_table_col_end ();
+			html_table_col_begin ('center');
+			html_form_input ('submit', 'edit_preview', lang('Preview %1', html_encode ($fileman[$j], 1)));
+			html_break (1);
+			html_form_input ('submit', 'edit_save', lang('Save %1', html_encode ($fileman[$j], 1)));
+//			html_break (1);
+//			html_form_input ('submit', 'edit_save_all', lang('Save all'));
+			html_table_col_end ();
+			html_table_row_end ();
+			html_break (2);
+			html_form_end ();
+			html_table_end ();
+		}
+	}
+}
+
+###
+# Handle File Uploads
+###
+
+elseif ($op == 'upload' && $path != '/' && $path != $GLOBALS['fakebase'])
+{
+	for ($i = 0; $i != $show_upload_boxes; $i++)
+	{
+		if ($badchar = bad_chars ($_FILES['upload_file']['name'][$i], True, True))
+		{
+			echo $GLOBALS['phpgw']->common->error_list (array (html_encode (lang('File names cannot contain "%1"', $badchar), 1)));
+
+			continue;
+		}
+
+		###
+		# Check to see if the file exists in the database, and get its info at the same time
+		###
+
+		$ls_array = $GLOBALS['phpgw']->vfs->ls (array (
+				'string'	=> $path . '/' . $_FILES['upload_file']['name'][$i],
+				'relatives'	=> array (RELATIVE_NONE),
+				'checksubdirs'	=> False,
+				'nofiles'	=> True
+			)
+		);
+
+		$fileinfo = $ls_array[0];
+
+		if ($fileinfo['name'])
+		{
+			if ($fileinfo['mime_type'] == 'Directory')
+			{
+				echo $GLOBALS['phpgw']->common->error_list (array (lang('Cannot replace %1 because it is a directory', $fileinfo['name'])));
+				continue;
+			}
+		}
+
+		if ($_FILES['upload_file']['size'][$i] > 0)
+		{
+			if ($fileinfo['name'] && $fileinfo['deleteable'] != 'N')
+			{
+				$GLOBALS['phpgw']->vfs->set_attributes (array (
+						'string'	=> $_FILES['upload_file']['name'][$i],
+						'relatives'	=> array (RELATIVE_ALL),
+						'attributes'	=> array (
+									'owner_id' => $GLOBALS['userinfo']['username'],
+									'modifiedby_id' => $GLOBALS['userinfo']['username'],
+									'modified' => $now,
+									'size' => $_FILES['upload_file']['size'][$i],
+									'mime_type' => $_FILES['upload_file']['type'][$i],
+									'deleteable' => 'Y',
+									'comment' => stripslashes ($upload_comment[$i])
+								)
+					)
+				);
+
+				$GLOBALS['phpgw']->vfs->cp(array (
+						'from'	=> $_FILES['upload_file']['tmp_name'][$i],
+						'to'	=> $_FILES['upload_file']['name'][$i],
+						'relatives'	=> array (RELATIVE_NONE|VFS_REAL, RELATIVE_ALL)
+					)
+				);
+
+				html_text_summary(lang('Replaced %1', $disppath.'/'.$_FILES['upload_file']['name'][$i]), $_FILES['upload_file']['size'][$i]);
+			}
+			else
+			{
+				$GLOBALS['phpgw']->vfs->cp (array (
+						'from'		=> $_FILES['upload_file']['tmp_name'][$i],
+						'to'			=> $_FILES['upload_file']['name'][$i],
+						'relatives'	=> array (RELATIVE_NONE|VFS_REAL, RELATIVE_ALL)
+					)
+				);
+
+				$GLOBALS['phpgw']->vfs->set_attributes (array (
+						'string'	=> $_FILES['upload_file']['name'][$i],
+						'relatives'	=> array (RELATIVE_ALL),
+						'attributes'	=> array (
+						'mime_type' => $_FILES['upload_file']['type'][$i],
+						'comment' => stripslashes ($upload_comment[$i])
+								)
+					)
+				);
+
+				html_text_summary(lang('Created %1', $disppath.'/'.$_FILES['upload_file']['name'][$i]), $_FILES['upload_file']['size'][$i]);
+			}
+		}
+		elseif ($_FILES['upload_file']['name'][$i])
+		{
+			$GLOBALS['phpgw']->vfs->touch (array (
+					'string'	=> $_FILES['upload_file']['name'][$i],
+					'relatives'	=> array (RELATIVE_ALL)
+				)
+			);
+
+			$GLOBALS['phpgw']->vfs->set_attributes (array (
+					'string'	=> $_FILES['upload_file']['name'][$i],
+					'relatives'	=> array (RELATIVE_ALL),
+					'attributes'	=> array (
+								'mime_type' => $_FILES['upload_file']['type'][$i],
+								'comment' => $upload_comment[$i]
+							)
+				)
+			);
+
+			html_text_summary(lang('Created %1', $disppath.'/'.$_FILES['upload_file']['name'][$i]), $file_size[$i]);
+		}
+	}
+
+	html_break (2);
+	html_link_back ();
+}
+
+###
+# Handle Editing comments
+###
+
+elseif ($comment_files)
+{
+	while (list ($file) = each ($comment_files))
+	{
+		if ($badchar = bad_chars ($comment_files[$file], False, True))
+		{
+			echo $GLOBALS['phpgw']->common->error_list (array (html_text_italic ($file, 1) . html_encode (': ' . lang('Comments cannot contain "%1"', $badchar), 1)));
+			continue;
+		}
+
+		$GLOBALS['phpgw']->vfs->set_attributes (array (
+				'string'	=> $file,
+				'relatives'	=> array (RELATIVE_ALL),
+				'attributes'	=> array (
+							'comment' => stripslashes ($comment_files[$file])
+						)
+			)
+		);
+
+		html_text_summary (lang('Updated comment for %1', $path.'/'.$file));
+	}
+
+	html_break (2);
+	html_link_back ();
+}
+
+###
+# Handle Renaming Files and Directories
+###
+
+elseif ($renamefiles)
+{
+	while (list ($from, $to) = each ($renamefiles))
+	{
+		if ($badchar = bad_chars ($to, True, True))
+		{
+			echo $GLOBALS['phpgw']->common->error_list (array (html_encode (lang('File names cannot contain "%1"', $badchar), 1)));
+			continue;
+		}
+
+		if (ereg ("/", $to) || ereg ("\\\\", $to))
+		{
+			echo $GLOBALS['phpgw']->common->error_list (array (lang("File names cannot contain \\ or /")));
+		}
+		elseif (!$GLOBALS['phpgw']->vfs->mv (array (
+					'from'	=> $from,
+					'to'	=> $to
+			))
+		)
+		{
+			echo $GLOBALS['phpgw']->common->error_list (array (lang('Could not rename %1 to %2', $disppath.'/'.$from, $disppath.'/'.$to)));
+		}
+		else 
+		{
+			html_text_summary (lang('Renamed %1 to %2', $disppath.'/'.$from, $disppath.'/'.$to));
+		}
+	}
+
+        html_break (2);
+        html_link_back ();
+}
+
+###
+# Handle Moving Files and Directories
+###
+
+elseif ($move)
+{
+	while (list ($num, $file) = each ($fileman))
+	{
+		if ($GLOBALS['phpgw']->vfs->mv (array (
+				'from'	=> $file,
+				'to'	=> $todir . '/' . $file,
+				'relatives'	=> array (RELATIVE_ALL, RELATIVE_NONE)
+			))
+		)
+		{
+			$moved++;
+			html_text_summary (lang('Moved %1 to %2', $disppath.'/'.$file, $todir.'/'.$file));
+		}
+		else
+		{
+			echo $GLOBALS['phpgw']->common->error_list (array (lang('Could not move %1 to %2', $disppath.'/'.$file, $todir.'/'.$file)));
+		}
+	}
+
+	if ($moved)
+	{
+		html_break (2);
+		html_link ($GLOBALS['appname'].'/index.php?path='.$todir, lang('Go to %1', $todir));
+	}
+
+	html_break (2);
+	html_link_back ();
+}
+
+###
+# Handle Copying of Files and Directories
+###
+
+elseif ($copy)
+{
+	while (list ($num, $file) = each ($fileman))
+	{
+		if ($GLOBALS['phpgw']->vfs->cp (array (
+				'from'	=> $file,
+				'to'	=> $todir . '/' . $file,
+				'relatives'	=> array (RELATIVE_ALL, RELATIVE_NONE)
+			))
+		)
+		{
+			$copied++;
+			html_text_summary (lang('Copied %1 to %2', $disppath.'/'.$file, $todir.'/'.$file));
+		}
+		else
+		{
+			echo $GLOBALS['phpgw']->common->error_list (array (lang('Could not copy %1 to %2', $disppath.'/'.$file, $todir.'/'.$file)));
+		}
+	}
+
+	if ($copied)
+	{
+		html_break (2);
+		html_link ($GLOBALS['appname'].'/index.php?path='.$todir, lang('Go to %1', $todir));
+	}
+
+	html_break (2);
+	html_link_back ();
+}
+
+###
+# Handle Deleting Files and Directories
+###
+
+elseif ($delete)
+{
+	for ($i = 0; $i != $numoffiles; $i++)
+	{
+		if ($fileman[$i])
+		{
+			if ($GLOBALS['phpgw']->vfs->delete (array ('string' => $fileman[$i])))
+			{
+				html_text_summary (lang('Deleted %1', $disppath.'/'.$fileman[$i]), $fileinfo['size']);
+			}
+			else
+			{
+				$GLOBALS['phpgw']->common->error_list (array (lang('Could not delete %1', $disppath.'/'.$fileman[$i])));
+			}
+		}
+	}
+
+	html_break (2);
+	html_link_back ();
+}
+
+elseif ($newdir && $createdir)
+{
+	if ($badchar = bad_chars ($createdir, True, True))
+	{
+		echo $GLOBALS['phpgw']->common->error_list (array (html_encode (lang('Directory names cannot contain "%1"', $badchar), 1)));
+		html_break (2);
+		html_link_back ();
+		html_page_close ();
+	}
+	
+	if ($createdir[strlen($createdir)-1] == ' ' || $createdir[0] == ' ')
+	{
+		echo $GLOBALS['phpgw']->common->error_list (array (lang('Cannot create directory because it begins or ends in a space')));
+		html_break (2);
+		html_link_back ();
+		html_page_close ();
+	}
+
+	$ls_array = $GLOBALS['phpgw']->vfs->ls (array (
+				'string'	=> $path . '/' . $createdir,
+				'relatives'	=> array (RELATIVE_NONE),
+				'checksubdirs'	=> False,
+				'nofiles'	=> True
+		)
+	);
+
+	$fileinfo = $ls_array[0];
+
+	if ($fileinfo['name'])
+	{
+		if ($fileinfo['mime_type'] != 'Directory')
+		{
+			echo $GLOBALS['phpgw']->common->error_list (array (lang('%1 already exists as a file', $fileinfo['name'])));
+			html_break (2);
+			html_link_back ();
+			html_page_close ();
+		}
+		else
+		{
+			echo $GLOBALS['phpgw']->common->error_list (array (lang('Directory %1 already exists', $fileinfo['name'])));
+			html_break (2);
+			html_link_back ();
+			html_page_close ();
+		}
+	}
+	else
+	{
+		if ($GLOBALS['phpgw']->vfs->mkdir (array ('string' => $createdir)))
+		{
+			html_text_summary (lang('Created directory %1', $disppath.'/'.$createdir));
+			html_break (2);
+			html_link ($GLOBALS['appname'].'/index.php?path='.$disppath.'/'.$createdir, lang('Go to %1', $disppath.'/'.$createdir));
+		}
+		else
+		{
+			echo $GLOBALS['phpgw']->common->error_list (array (lang('Could not create %1', $disppath.'/'.$createdir)));
+		}
+	}
+
+	html_break (2);
+	html_link_back ();
+}
+
+html_page_close ();
+
+?>
Index: /sandbox/filemanager/index.php
===================================================================
--- /sandbox/filemanager/index.php	(revision 1506)
+++ /sandbox/filemanager/index.php	(revision 1506)
@@ -0,0 +1,25 @@
+<?php
+	
+	// FIXME add copyright header
+	/*
+	eGroupWare - http://www.egroupware.org
+	written by Pim Snel <pim@lingewoud.nl>
+	*/
+
+
+	$phpgw_flags = Array(
+		'currentapp'    =>      'filemanager',
+		'noheader'      =>      True,
+		'nonavbar'      =>      True,
+		'noappheader'   =>      True,
+		'noappfooter'   =>      True,
+		'nofooter'      =>      True
+	);
+
+	$GLOBALS['phpgw_info']['flags'] = $phpgw_flags;
+
+	include('../header.inc.php');
+
+	Header('Location: '.$GLOBALS['phpgw']->link('/index.php','menuaction=filemanager.uifilemanager.index'));
+	$GLOBALS['phpgw']->common->phpgw_exit();
+?>
Index: /sandbox/filemanager/templates/default/history.tpl
===================================================================
--- /sandbox/filemanager/templates/default/history.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/history.tpl	(revision 1506)
@@ -0,0 +1,29 @@
+<!-- BEGIN history -->
+<table width="100%" border="1" cols="4">
+ <tr>
+  <td align="center" colspan="4">
+   <table width="100%" border="1">
+    <tr{tr_extras}>
+     <td align="center">
+      Path: {path}
+     </td>
+     <td align="center">
+      Filename: {filename}
+     </td>
+    </tr>
+   </table>
+   </hr>
+  </td>
+ </tr>
+ {col_row}
+</table>
+<!-- END history -->
+<!-- BEGIN column_rows -->
+ <tr{tr_extras}>
+  {col_headers}
+ </tr>
+<!-- END column_rows -->
+<!-- BEGIN column_headers -->
+  <td{td_extras}>{column_header}</td>
+<!-- END column_headers -->
+
Index: /sandbox/filemanager/templates/default/preferences.tpl
===================================================================
--- /sandbox/filemanager/templates/default/preferences.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/preferences.tpl	(revision 1506)
@@ -0,0 +1,24 @@
+<!-- $Id: preferences.tpl 5681 2001-08-28 23:09:02Z zone $ -->
+<br><br>
+<center>
+	<form method="POST" name="prefs_form" action="{actionurl}">
+	<table width="70%" border="0" cellspacing="2" cellpadding="2">
+		<tr>
+			<td colspan="2" bgcolor="#c0c0c0" align="center"><font face="{font}"><b>{lang_action}</b></font></td>
+		</tr>
+		<tr>
+			<td align="right"><font face="{font}">{lang_select_font}:</font></td>
+			<td><font face="{font}" size="{font_size}"><select name="notes_font">{notes_font}</select></font></td>
+		</tr>
+		<tr>
+			<td align="right"><font face="{font}">{lang_select_size}:</font></td>
+			<td><font face="{font}" size="{font_size}"><select name="notes_font_size">{notes_font_size}</select></font></td>
+		</tr>
+		<tr valign="bottom">
+			<td height="50"><font face="{font}">
+			<input type="submit" name="submit" value="{lang_edit}"></font>
+			</form></td>
+			<td>&nbsp;</td>
+		</tr>
+	</table>
+</center>
Index: /sandbox/filemanager/templates/default/edit_file.tpl
===================================================================
--- /sandbox/filemanager/templates/default/edit_file.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/edit_file.tpl	(revision 1506)
@@ -0,0 +1,33 @@
+<!-- BEGIN file_edit_header -->
+<!-- END file_edit_header -->
+
+<!-- BEGIN column -->
+<!-- END column -->
+
+<!-- BEGIN row -->
+
+{preview_content}<br/>
+<form method="post" action="{form_action}">
+	<input type="hidden" name="edit" value="1" />
+	<input type="hidden" name="edit_file" value="{edit_file}" />
+	{filemans_hidden}
+	<textarea name="edit_file_content" rows="10" cols="50">{file_content}</textarea>
+<!--			</td>
+		</tr>
+		<tr>
+			<td align=center>-->
+				<!--<input type="submit" name="edit_preview" value="{lang_preview}" />-->
+				<!--<input type="submit" name="edit_save" value="{lang_save}" />-->
+	<table>
+	<tr>
+{buttonSave} {buttonPreview} {buttonDone} {buttonCancel}
+
+</tr>
+</table>
+
+</form>
+<!-- END row -->
+
+<!-- BEGIN file_edit_footer -->
+<!-- END file_edit_footer -->
+
Index: /sandbox/filemanager/templates/default/preference_acl_row.tpl
===================================================================
--- /sandbox/filemanager/templates/default/preference_acl_row.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/preference_acl_row.tpl	(revision 1506)
@@ -0,0 +1,9 @@
+<!-- $Id: preference_acl_row.tpl 5681 2001-08-28 23:09:02Z zone $ -->
+	<tr bgcolor="{row_color}">
+		<td>{user}</td>
+		<td align="center"><input type="checkbox" name="{read}" value="Y"{read_selected}></td>
+		<td align="center"><input type="checkbox" name="{add}" value="Y"{add_selected}></td>
+		<td align="center"><input type="checkbox" name="{edit}" value="Y"{edit_selected}></td>
+		<td align="center"><input type="checkbox" name="{delete}" value="Y"{delete_selected}></td>
+		<td align="center"><input type="checkbox" name="{private}" value="Y"{private_selected}></td>
+	</tr>
Index: /sandbox/filemanager/templates/default/upload.tpl
===================================================================
--- /sandbox/filemanager/templates/default/upload.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/upload.tpl	(revision 1506)
@@ -0,0 +1,30 @@
+<!-- BEGIN upload_header -->
+<form method="post" action="{form_action}" enctype="multipart/form-data">
+<div>
+<table cellspacing="0" cellpadding="2">
+<tbody>
+	<tr bgcolor="#dedede">
+		<td><strong>{lang_file}</strong></td>
+		<td><strong>{lang_comment}</strong></td>
+	</tr>
+<!-- END upload_header -->
+
+<!-- BEGIN row -->
+	<tr >
+	<td><input maxlength="255" name="upload_file[]" type="file"></td>
+	<td><input name="upload_comment[]" type="text"></td>
+	</tr>
+<!-- END row -->
+
+<!-- BEGIN upload_footer -->
+
+</tbody></table>
+<input value="true" name="uploadprocess" type="hidden">
+<input value="{path}" name="path" type="hidden">
+<input value="{num_upload_boxes}" name="show_upload_boxes" type="hidden">
+<input value="{lang_upload}" name="upload_files" type="submit">
+<br/>
+{change_upload_boxes}
+</div>
+</form>
+<!-- END upload_footer -->
Index: /sandbox/filemanager/templates/default/index.tpl
===================================================================
--- /sandbox/filemanager/templates/default/index.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/index.tpl	(revision 1506)
@@ -0,0 +1,52 @@
+<!-- BEGIN index -->
+<table width="100%" border="1" cols="{colspan}">
+ <!--<tr>
+  <td align="center" colspan="{colspan}">{error}
+  </td>
+ </tr>-->
+ <tr>
+  <td align="center" colspan="{colspan}">{error}
+   <form action="{form_action}" method="post">
+   <table width="100%" border="1">
+    <tr{tr_extras}>
+     <td align="center">
+      {img_up}
+      {help_up}
+     </td>
+     <td align="center">
+      {img_home}
+      {dir}
+      {help_home}
+     </td>
+    </tr>
+   </table>
+   </hr>
+  </td>
+ </tr>{col_row}
+ <tr>
+  <td align="center" colspan="{colspan}">
+   </hr>{buttons}
+   </form>
+  </td>
+ </tr>
+ <tr>
+  <td align="center" colspan="{colspan}">{info}
+  </td>
+ </tr>
+ <tr>
+  <td align="center" colspan="{colspan}">{uploads}
+  </td>
+ </tr>
+</table>
+<!-- END index -->
+<!-- BEGIN column_rows -->
+ <tr{tr_extras}>{col_headers}
+ </tr>
+<!-- END column_rows -->
+<!-- BEGIN column_headers -->
+  <td{td_extras}><font size="-2">{column_header}</font></td>
+<!-- END column_headers -->
+<!-- BEGIN column_headers_normal -->
+  <td{td_extras}>{column_header}</td>
+<!-- END column_headers_normal -->
+
Index: /sandbox/filemanager/templates/default/pref_list.tpl
===================================================================
--- /sandbox/filemanager/templates/default/pref_list.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/pref_list.tpl	(revision 1506)
@@ -0,0 +1,5 @@
+  <tr bgcolor="{bg_color}">
+   <td align="right">{field}</td>
+   <td align="left">{data}</td>
+  </tr>
+
Index: /sandbox/filemanager/templates/default/filelisting.tpl
===================================================================
--- /sandbox/filemanager/templates/default/filelisting.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/filelisting.tpl	(revision 1506)
@@ -0,0 +1,32 @@
+<!-- BEGIN filemanager_header -->
+<form name="formfm" method="post" action="{form_action}">
+
+
+{toolbar0}
+<div id="fmMenu">
+{toolbar1}
+</div>
+<div id="fmFileWindow">
+{messages}			<table cellspacing="0" cellpadding="2">
+				<tbody>
+<!-- END filemanager_header -->
+
+<!-- BEGIN column -->
+  <td valign="top" style="padding-left:2px;padding-right:2px;">{col_data}&nbsp;</td>
+<!-- END column -->
+
+<!-- BEGIN row -->
+	<tr bgcolor="{row_tr_color}">
+		<td style="padding-left:2px;padding-right:2px;">{actions}</td>
+		{columns}
+	</tr>
+<!-- END row -->
+
+<!-- BEGIN filemanager_footer -->
+{lang_no_files}
+</tbody></table>
+						</div>
+
+<div id="fmStatusBar"><b>{lang_files_in_this_dir}:</b> {files_in_this_dir} <b>{lang_used_space}: </b> {used_space}</div>
+</form>
+<!-- END filemanager_footer -->
Index: /sandbox/filemanager/templates/default/pref_colspan.tpl
===================================================================
--- /sandbox/filemanager/templates/default/pref_colspan.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/pref_colspan.tpl	(revision 1506)
@@ -0,0 +1,4 @@
+  <tr bgcolor="{bg_color}">
+   <td colspan="2">{text}</td>
+  </tr>
+
Index: /sandbox/filemanager/templates/default/errors.tpl
===================================================================
--- /sandbox/filemanager/templates/default/errors.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/errors.tpl	(revision 1506)
@@ -0,0 +1,6 @@
+<!-- BEGIN error_page -->
+{errors}
+<!-- END error_page -->
+<!-- BEGIN ind_error -->
+{error}
+<!-- END ind_error -->
Index: /sandbox/filemanager/templates/default/pref.tpl
===================================================================
--- /sandbox/filemanager/templates/default/pref.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/pref.tpl	(revision 1506)
@@ -0,0 +1,7 @@
+<p><b>{title}:</b><hr><p>
+<form action="{action_url}" method="POST">
+ <table border="0" align="center">
+  {row}
+ </table>
+ <center><input type="submit" name="submit" value="{submit_lang}"></center>
+</form>
Index: /sandbox/filemanager/templates/default/preference_acl.tpl
===================================================================
--- /sandbox/filemanager/templates/default/preference_acl.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/preference_acl.tpl	(revision 1506)
@@ -0,0 +1,25 @@
+{errors}
+{title}
+<table border="0" align="center" width="70%">
+	<tr>
+	{nml}
+		<td width="40%">
+		<div align="center">
+		<form method="POST" action="{action_url}">
+		{common_hidden_vars}
+		<input type="text" name="query" value="{search_value}">
+		<input type="submit" name="search" value="{search}">
+		</form>
+		</div>
+		</td>
+	{nmr}
+	</tr>
+</table>
+<form method="POST" action="{action_url}">
+<table border="0" align="center" width="50%">
+	{row}
+</table>
+{common_hidden_vars_form}
+<input type="hidden" name="processed" value="{processed}">
+<center><input type="submit" name="submit" value="{submit_lang}"></center>
+</form>
Index: /sandbox/filemanager/templates/default/preference_colspan.tpl
===================================================================
--- /sandbox/filemanager/templates/default/preference_colspan.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/preference_colspan.tpl	(revision 1506)
@@ -0,0 +1,8 @@
+<tr bgcolor="{bg_color}">
+	<td>{string}</td>
+	<td align="center">{lang_read}</td>
+	<td align="center">{lang_add}</td>
+	<td align="center">{lang_edit}</td>
+	<td align="center">{lang_delete}</td>
+	<td align="center">{lang_private}</td>
+</tr>
Index: /sandbox/filemanager/templates/default/small_table.tpl
===================================================================
--- /sandbox/filemanager/templates/default/small_table.tpl	(revision 1506)
+++ /sandbox/filemanager/templates/default/small_table.tpl	(revision 1506)
@@ -0,0 +1,15 @@
+<!-- BEGIN table -->
+   <table width="100%" border="1"{table_extras}>{list}
+   </table>
+<!-- END table -->
+<!-- BEGIN column_rows -->
+ <tr{tr_extras}>{col_headers}
+ </tr>
+<!-- END column_rows -->
+<!-- BEGIN column_headers -->
+  <td{td_extras}><font size="-2">{column_header}</font></td>
+<!-- END column_headers -->
+<!-- BEGIN column_headers_normal -->
+  <td{td_extras}>{column_header}</td>
+<!-- END column_headers_normal -->
+
