From e8354276e1071c929c76ad2dfd7d47a3d6fdd615 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 16 May 2009 11:29:47 +0000 Subject: [PATCH] option to show hidden files --- filemanager/inc/class.filemanager_ui.inc.php | 2 ++ filemanager/setup/egw_de.lang | 2 ++ filemanager/setup/egw_en.lang | 2 ++ 3 files changed, 6 insertions(+) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index 62d559a4c4..a4faebec3e 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -275,6 +275,7 @@ class filemanager_ui $sel_options['filter'] = array( '1' => 'Current directory', '2' => 'Directories sorted in', + '3' => 'Show hidden files', '' => 'Files from subdirectories', ); $tpl->exec('filemanager.filemanager_ui.index',$content,$sel_options,$readonlys,array('nm' => $content['nm'])); @@ -599,6 +600,7 @@ class filemanager_ui 'limit' => (int)$query['num_rows'].','.(int)$query['start'], 'need_mime' => true, 'name_preg' => $namefilter, + 'hidden' => $query['filter'] == 3, ),true) as $path => $row) { //echo $path; _debug_array($row); diff --git a/filemanager/setup/egw_de.lang b/filemanager/setup/egw_de.lang index 60281004d4..8babf82688 100644 --- a/filemanager/setup/egw_de.lang +++ b/filemanager/setup/egw_de.lang @@ -24,6 +24,7 @@ allow a maximum of the above configured folderlinks to be configured in settings and all it's childeren filemanager de und alle seine Kinder applications common de Anwendungen basedirectory filemanager de Basisverzeichnis +can't open directory %1! filemanager de Kann Verzeichnis %1 nicht öffnen! cancel editing %1 without saving filemanager de Beende das Bearbeiten von %1 ohne zu Speichern cannot create directory because it begins or ends in a space filemanager de Die Erstellung des Verzeichnisses schlug fehl, da es mit einem Leerzeichen beginnt oder endet check all filemanager de Alle auswählen @@ -152,6 +153,7 @@ searchstring filemanager de Suchbegriff select action... filemanager de Befehl auswählen... select file to upload in current directory filemanager de Datei zum hochladen in das aktuelle Verzeichnis auswählen show filemanager de Zeige +show hidden files filemanager de Zeige versteckte Dateien show link to filemanagers basedirectory (/) in side box menu? filemanager de Zeige die Verknüpfung zum Basisverzeichnis (/) des Dateimanagers im Seitenmenu? size filemanager de Größe start search filemanager de Suche starten diff --git a/filemanager/setup/egw_en.lang b/filemanager/setup/egw_en.lang index 5d9410a622..61e00908a7 100644 --- a/filemanager/setup/egw_en.lang +++ b/filemanager/setup/egw_en.lang @@ -24,6 +24,7 @@ allow a maximum of the above configured folderlinks to be configured in settings and all it's childeren filemanager en and all it's childeren applications common en Applications basedirectory filemanager en Basedirectory +can't open directory %1! filemanager en Can't open directory %1! 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 check all filemanager en Check all @@ -152,6 +153,7 @@ searchstring filemanager en searchstring select action... filemanager en Select action... select file to upload in current directory filemanager en Select file to upload in current directory show filemanager en Show +show hidden files filemanager en Show hidden files show link to filemanagers basedirectory (/) in side box menu? filemanager en Show link to filemanagers basedirectory (/) in side box menu? size filemanager en Size start search filemanager en start search