option to show hidden files

This commit is contained in:
Ralf Becker 2009-05-16 11:29:47 +00:00
parent 44ce028592
commit e8354276e1
3 changed files with 6 additions and 0 deletions

View File

@ -275,6 +275,7 @@ class filemanager_ui
$sel_options['filter'] = array( $sel_options['filter'] = array(
'1' => 'Current directory', '1' => 'Current directory',
'2' => 'Directories sorted in', '2' => 'Directories sorted in',
'3' => 'Show hidden files',
'' => 'Files from subdirectories', '' => 'Files from subdirectories',
); );
$tpl->exec('filemanager.filemanager_ui.index',$content,$sel_options,$readonlys,array('nm' => $content['nm'])); $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'], 'limit' => (int)$query['num_rows'].','.(int)$query['start'],
'need_mime' => true, 'need_mime' => true,
'name_preg' => $namefilter, 'name_preg' => $namefilter,
'hidden' => $query['filter'] == 3,
),true) as $path => $row) ),true) as $path => $row)
{ {
//echo $path; _debug_array($row); //echo $path; _debug_array($row);

View File

@ -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 and all it's childeren filemanager de und alle seine Kinder
applications common de Anwendungen applications common de Anwendungen
basedirectory filemanager de Basisverzeichnis 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 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 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 check all filemanager de Alle auswählen
@ -152,6 +153,7 @@ searchstring filemanager de Suchbegriff
select action... filemanager de Befehl auswählen... 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 select file to upload in current directory filemanager de Datei zum hochladen in das aktuelle Verzeichnis auswählen
show filemanager de Zeige 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? 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 size filemanager de Größe
start search filemanager de Suche starten start search filemanager de Suche starten

View File

@ -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 and all it's childeren filemanager en and all it's childeren
applications common en Applications applications common en Applications
basedirectory filemanager en Basedirectory 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 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 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 check all filemanager en Check all
@ -152,6 +153,7 @@ searchstring filemanager en searchstring
select action... filemanager en Select action... select action... filemanager en Select action...
select file to upload in current directory filemanager en Select file to upload in current directory select file to upload in current directory filemanager en Select file to upload in current directory
show filemanager en Show 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? show link to filemanagers basedirectory (/) in side box menu? filemanager en Show link to filemanagers basedirectory (/) in side box menu?
size filemanager en Size size filemanager en Size
start search filemanager en start search start search filemanager en start search