Popup to rename, change permissions or perview a file

This commit is contained in:
Ralf Becker 2008-03-03 22:15:44 +00:00
parent 76e75dea7b
commit acd8659508
7 changed files with 308 additions and 35 deletions

View File

@ -19,6 +19,7 @@ class filemanager_ui
*/
var $public_functions = array(
'index' => true,
'file' => true,
);
/**
@ -27,7 +28,7 @@ class filemanager_ui
* @param array $content=null
* @param string $msg=null
*/
function index($content=null,$msg=null)
function index(array $content=null,$msg=null)
{
$tpl = new etemplate('filemanager.index');
@ -60,6 +61,7 @@ class filemanager_ui
{
$content['nm']['path'] = $path;
}
if (isset($_GET['msg'])) $msg = $_GET['msg'];
}
$content['nm']['msg'] = $msg;
@ -145,6 +147,7 @@ class filemanager_ui
$content['paste_tooltip'] = '<p><b>'.lang('%1 the following files into current directory',
$clipboard_type=='copy'?lang('Copy'):lang('Move')).':</b><br />'.implode('<br />',$clipboard_files).'</p>';
//_debug_array($content);
$readonlys['button[paste]'] = !$clipboard_files;
$readonlys['button[createdir]'] = !$dir_is_writable;
$readonlys['button[upload]'] = $readonlys['upload'] = !$dir_is_writable;
@ -359,8 +362,7 @@ class filemanager_ui
}
else
{
$row['link'] = '/index.php?menuaction=filemanager.uifilemanager.view&path='.base64_encode(dirname($path)).'&file='.base64_encode(egw_vfs::basename($path));
// $row['link'] = '/filemanager/webdav.php'.$path;
$row['link'] = self::download_url($path);
}
}
$row['user'] = $row['uid'] ? $GLOBALS['egw']->accounts->id2name($row['uid']) : 'root';
@ -384,4 +386,178 @@ class filemanager_ui
//_debug_array($readonlys);
return egw_vfs::$find_total;
}
/**
* URL to download the file
*
* @param string $path
* @return string
*/
private static function download_url($path)
{
return '/index.php?menuaction=filemanager.uifilemanager.view&path='.base64_encode(dirname($path)).'&file='.base64_encode(egw_vfs::basename($path));
// better use webdav url, if we recognice the session cookie of the browser
// return '/filemanager/webdav.php'.$path;
}
/**
* Preferences of a file/directory
*
* @param array $content=null
*/
function file(array $content=null)
{
$tpl = new etemplate('filemanager.file');
if (!is_array($content))
{
if (!($stat = egw_vfs::stat($path = $_GET['path'])))
{
$content['msg'] = lang('File or directory not found!');
}
else
{
$content = $stat;
$content['name'] = egw_vfs::basename($path);
$content['dir'] = dirname($path);
$content['path'] = $path;
$content['hsize'] = egw_vfs::hsize($stat['size']);
$content['mime'] = egw_vfs::mime_content_type($path);
$content['icon'] = self::mime_icon($content['mime']);
$content['gid'] *= -1; // our widgets use negative gid's
}
if (!($content['is_dir'] = egw_vfs::is_dir($path)))
{
$content['perms']['executable'] = (int)!!($content['mode'] & 0111);
$mask = 6;
$content['link'] = $GLOBALS['egw']->link(self::download_url($path));
if (preg_match('/^text/',$content['mime']) && $content['size'] < 100000)
{
$content['text_content'] = file_get_contents(egw_vfs::PREFIX.$path);
}
}
else
{
$content['perms']['sticky'] = (int)!!($content['mode'] & 0x201);
$mask = 7;
}
foreach(array('owner' => 6,'group' => 3,'other' => 0) as $name => $shift)
{
$content['perms'][$name] = ($content['mode'] >> $shift) & $mask;
}
}
else
{
$path = $content['path'];
foreach($content['old'] as $name => $old_value)
{
if (isset($content[$name]) && $old_value != $content[$name])
{
switch($name)
{
case 'name':
if (egw_vfs::rename($path,$to = $content['dir'].'/'.$content['name']))
{
$msg = lang('Renamed %1 to %2.',$path,$to).' ';
}
$path = $to;
break;
default:
static $name2cmd = array('uid' => 'chown','gid' => 'chgrp','perms' => 'chmod');
$cmd = array('egw_vfs',$name2cmd[$name]);
$value = $name == 'perms' ? self::perms2mode($content['perms']) : $content[$name];
if ($content['modify_subs'] && $name == 'perms')
{
egw_vfs::find($path,array('type'=>'d'),$cmd,array($value));
egw_vfs::find($path,array('type'=>'f'),$cmd,array($value & 0666)); // no execute for files
}
elseif ($content['modify_subs'])
{
egw_vfs::find($path,null,$cmd,array($value));
}
else
{
call_user_func_array($cmd,array($path,$value));
}
$msg .= lang('Permissions changed for %1.',$path.($content['modify_subs']?' '.lang('and all it\'s childeren'):''));
break;
}
}
}
// refresh opender and close our window
$link = $GLOBALS['egw']->link('/index.php',array('menuaction'=>'filemanager.filemanager_ui.index','msg'=>$msg));
$js = "opener.location.href='$link'; window.close();";
echo "<html>\n<body>\n<script>\n$js\n</script>\n</body>\n</html>\n";
$GLOBALS['egw']->common->egw_exit();
}
if (($readonlys['uid'] = !egw_vfs::$is_root) && !$content['uid']) $content['ro_uid_root'] = 'root';
// only owner can change group & perms
if (($readonlys['gid'] = !egw_vfs::$is_root && $content['uid'] != egw_vfs::$user ||
parse_url(egw_vfs::resolve_url($content['path']),PHP_URL_SCHEME) == 'oldvfs')) // no uid, gid or perms in oldvfs
{
if (!$content['gid']) $content['ro_gid_root'] = 'root';
foreach($content['perms'] as $name => $value)
{
$readonlys['perms['.$name.']'] = true;
}
}
$readonlys['name'] = !egw_vfs::is_writable($content['dir']);
if (parse_url(egw_vfs::resolve_url($content['path']),PHP_URL_SCHEME) == 'oldvfs')
{
}
if ($content['is_dir'])
{
$sel_options['owner']=$sel_options['group']=$sel_options['other'] = array(
7 => lang('Display and modification of content'),
5 => lang('Display of content'),
0 => lang('No access'),
);
}
else
{
$sel_options['owner']=$sel_options['group']=$sel_options['other'] = array(
6 => lang('Read & write access'),
4 => lang('Read access only'),
0 => lang('No access'),
);
}
$preserve = $content;
if (!isset($preserve['old']))
{
$preserve['old'] = array(
'perms' => $content['perms'],
'name' => $content['name'],
'uid' => $content['uid'],
'gid' => $content['gid'],
);
}
$GLOBALS['egw_info']['flags']['java_script'] = "<script>window.focus();</script>\n";
$GLOBALS['egw_info']['flags']['app_header'] = lang('Preferences').' '.$path;
$tpl->exec('filemanager.filemanager_ui.file',$content,$sel_options,$readonlys,$preserve,2);
}
/**
* Convert perms array back to integer mode
*
* @param array $perms with keys owner, group, other, executable, sticky
* @return int
*/
private function perms2mode(array $perms)
{
$mode = $perms['owner'] << 6 | $perms['group'] << 3 | $prems['other'];
if ($mode['executable'])
{
$mode |= 0111;
}
if ($mode['sticky'])
{
$mode |= 0x201;
}
return $mode;
}
}

View File

@ -1,29 +1,11 @@
<?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. *
\**************************************************************************/
/**
* Filemanager - user interface
*
* @link http://www.egroupware.org
* @package filemanager
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/
/* $Id$ */
/*
$GLOBALS['egw_info'] = array(
'flags' => array(
'currentapp' => 'filemanager',
'noheader' => True,
'nonavbar' => True,
'noappheader' => True,
'noappfooter' => True,
'nofooter' => True,
),
);
include('../header.inc.php');
ExecMethod('filemanager.uifilemanager.index');
*/
header('Location: ../index.php?menuaction=filemanager.uifilemanager.index');
?>
header('Location: ../index.php?menuaction=filemanager.filemanager_ui.index');

View File

@ -1,17 +1,34 @@
%1 already exists as a file filemanager de Es gibt bereits eine Datei %1
%1 directories and %2 files copied. filemanager de %1 Verzeichnisse und %2 Dateien kopiert.
%1 directories and %2 files deleted. filemanager de %1 Verzeichnisse und %2 Dateien gelöscht.
%1 errors copying (%2 diretories and %3 files copied)! filemanager de %1 Fehler beim Kopieren (%2 Verzeichnisse und %3 Dateien kopiert)!
%1 errors deleteting (%2 directories and %3 files deleted)! filemanager de %1 Fehler beim Löschen (%2 Verzeichnisse und %3 Dateien gelöscht)!
%1 errors moving (%2 files moved)! filemanager de %1 Fehler beim Verschieben (%2 Dateien verschoben)!
%1 files copied. filemanager de %1 Dateien kopiert.
%1 files deleted. filemanager de %1 Dateien gelöscht.
%1 files moved. filemanager de %1 Dateien verschoben.
%1 starts with '%2' filemanager de %1 beginnt mit '%2'
%1 the following files into current directory filemanager de Die foldenden Dateien in das aktuelle Verzeichnis %1
%1 urls %2 to clipboard. filemanager de %1 Adressen in die Zwischenablage %2.
accessrights filemanager de Zugangsberechtigungen
actions filemanager de Befehle
and all it's childeren filemanager de und alle seine Kinder
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
check all filemanager de Alle auswählen
choosing dates where to-date is smaller than the from-date, will result in a search returning all entries but thoose between the two entered dates filemanager de Wenn Sie das bis Datum kleiner als das von Datum wählen, finden Sie alle Einträge, ausser denen, deren Datum im Zeitraum der beiden Daten liegt.
choosing only one date (from/to) will result in a search returning all entries older/younger than the entered date filemanager de Wenn Sie nur ein Datum (von/bis) wählen, finden Sie alle Einträge deren Bezugsdatum älter, bzw. jünger als das jeweilige angegebene Datum ist
clear search filemanager de Suchfelder zurücksetzen
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 filemanager de kopiert
copied %1 to %2 filemanager de %1 nach %2 kopiert
copy to filemanager de Kopieren nach
copy to clipboard filemanager de Kopieren in die Zwischenablage
copy to: filemanager de Kopieren nach:
could not copy %1 to %2 filemanager de Konnte %1 nicht nach %2 kopieren
could not copy file because no destination directory is given filemanager de Konnte Datei nicht kopieren, da kein Zielverzeichnis angegeben wurde
@ -22,6 +39,7 @@ could not move %1 to %2 filemanager de Konnte %1 nicht nach %2 verschieben
could not move file because no destination directory is given filemanager de Konnte Datei nicht verschieben, da kein Zielverzeichnis angegeben wurde
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 directory filemanager de Verzeichnis anlegen
create file filemanager de Neue Datei
create folder filemanager de Neues Verzeichnis
created filemanager de Erstellt
@ -30,35 +48,50 @@ created %1,%2 filemanager de %1,%2 erstellt
created between filemanager de erstellt zwischen
created by filemanager de Erstellt von
created directory %1 filemanager de Verzeichnis %1 erstellt
cut filemanager de Ausschneiden
cut to clipboard filemanager de Ausschneiden in die Zwischenablage
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
delete this file or directory filemanager de Datei oder Verzeichnis 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
directory not found or no permission to access it! filemanager de Verzeichnis nicht gefunden oder keine Rechte darauf zuzugreifen!
display and modification of content filemanager de Anzeigen und Verändern des Inhaltes
display attributes filemanager de Anzeigeattribute
display of content filemanager de Anzeigen des Inhaltes
download filemanager de Herunterladen
edit filemanager de Bearbeiten
edit comments filemanager de Kommentare bearbeiten
edit settings filemanager de Einstellungen bearbeiten
error running command filemanager de Fehler beim Ausführen des Kommandos
error uploading file! filemanager de Fehler beim Hochladen der Datei!
executable filemanager de Ausführbar
execute filemanager de Ausführen
failed to create directory filemanager de Verzeichnis konnte nicht erstellt werden
failed to create directory! filemanager de Konnte Verzeichnis nicht anlegen!
fake base dir did not exist, egroupware created a new one. filemanager de Dateimanager Wurzelverzeichnis existierte nicht, eGroupWare hat es jetzt angelegt.
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 %1 may be too big. contact your systemadministrator for further info filemanager de Datei %1 ist möglicherweise zu gross. Kontaktieren Sie Ihren Systemadministrator um weitergehende Informationen zu erhalten
file deleted. filemanager de Datei gelöscht.
file name filemanager de Dateiname
file names cannot contain or / filemanager de Dateinamen dürfen kein \ oder / enthalten
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
file or directory not found! filemanager de Datei oder Verzeichnis nicht gefunden!
file successful uploaded. filemanager de Datei erfolgreich hochgeladen.
filemanager common de Dateiverwaltung
filemanager preferences filemanager de Dateiverwaltungs-Einstellungen
files filemanager de Dateien
files in this directory filemanager de Dateien in diesem Verzeichnis
folder filemanager de Verzeichnisse
folder up filemanager de Ein Verzeichnis nach oben
general filemanager de Allgemein
go home filemanager de Zum Heimverzeichnis wechseln
go to filemanager de Gehe zu
go to %1 filemanager de Gehe zu %1
@ -73,28 +106,45 @@ mime type filemanager de MIME-Typ
modified filemanager de Verändert
modified between filemanager de verändert zwischen
modified by filemanager de Verändert von
modify all subdirectories and their content filemanager de Änderungen auf alle Unterverzeichnisse und ihre Inhalte anwenden
move filemanager de Verschieben
move to filemanager de Verschieben nach
move to: filemanager de Verschieben nach:
moved %1 to %2 filemanager de %1 nach %2 verschoben
no access filemanager de Kein Zugriff
no files in this directory. filemanager de Keine Dateien in diesem Verzeichnis vorhanden
no preview available filemanager de Keine Vorschau verfügbar
no version history for this file/directory filemanager de Keine Versionshistorie für dies Datei / Verzeichnis
only owner can rename or delete the content filemanager de Nur der Besitzer kann den Inhalt umbenennen oder löschen
operation filemanager de Operation
other settings filemanager de Weitere Einstellungen
owner filemanager de Eigentümer
permission denied! filemanager de Zugriff verweigert!
permissions filemanager de Zugriffsrechte
permissions changed for %1. filemanager de Zugriffsrechte für %1 geändert.
please select a file to delete. filemanager de Bitte wählen Sie die Datei aus welche Sie löschen möchten
preview filemanager de Vorschau
preview %1 filemanager de Vorschau %1
preview of %1 filemanager de Vorschau von %1
quick jump to filemanager de Sprung zu
read & write access filemanager de Lese- und Schreibzugriff
read access only filemanager de Nur Lesezugriff
reload filemanager de aktualisieren
rename filemanager de Umbenennen
rename, change permissions or ownership filemanager de Umbennen, Zugriffsrechte oder Besitzer ändern
renamed %1 to %2 filemanager de %1 nach %2 umbenannt
renamed %1 to %2. filemanager de %1 nach %2 umbenannt.
replaced %1 filemanager de %1 ersetzt
root filemanager de root
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
search for '%1' filemanager de Suche nach '%1'
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 Anzeigen
show .. filemanager de Anzeigen ...
show .files filemanager de .Dateien anzeigen
@ -121,4 +171,5 @@ 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
you need to select some files first! filemanager de Sie müssen zuerst die Dateien auswählen!
your home dir did not exist, egroupware created a new one. filemanager de Ihre Benutzerverzeichnis existierte nicht, eGroupWare hat es jetzt angelegt.

View File

@ -1,17 +1,34 @@
%1 already exists as a file filemanager en %1 already exists as a file
%1 directories and %2 files copied. filemanager en %1 directories and %2 files copied.
%1 directories and %2 files deleted. filemanager en %1 directories and %2 files deleted.
%1 errors copying (%2 diretories and %3 files copied)! filemanager en %1 errors copying (%2 diretories and %3 files copied)!
%1 errors deleteting (%2 directories and %3 files deleted)! filemanager en %1 errors deleteting (%2 directories and %3 files deleted)!
%1 errors moving (%2 files moved)! filemanager en %1 errors moving (%2 files moved)!
%1 files copied. filemanager en %1 files copied.
%1 files deleted. filemanager en %1 files deleted.
%1 files moved. filemanager en %1 files moved.
%1 starts with '%2' filemanager en %1 starts with '%2'
%1 the following files into current directory filemanager en %1 the following files into current directory
%1 urls %2 to clipboard. filemanager en %1 URLs %2 to clipboard.
accessrights filemanager en Accessrights
actions filemanager en Actions
and all it's childeren filemanager en and all it's childeren
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
check all filemanager en Check all
choosing dates where to-date is smaller than the from-date, will result in a search returning all entries but thoose between the two entered dates filemanager en Choosing dates where to-date is smaller than the from-date, will result in a search returning all entries but thoose between the two entered dates
choosing only one date (from/to) will result in a search returning all entries older/younger than the entered date filemanager en Choosing only one date (from/to) will result in a search returning all entries older/younger than the entered date
clear search filemanager en clear search
command sucessfully run filemanager en Command sucessfully run
comment filemanager en Comment
comments cannot contain "%1" filemanager en Comments cannot contain "%1"
copied filemanager en copied
copied %1 to %2 filemanager en Copied %1 to %2
copy to filemanager en Copy To
copy to clipboard filemanager en Copy to clipboard
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
@ -22,6 +39,7 @@ 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 directory filemanager en Create directory
create file filemanager en Create File
create folder filemanager en Create Folder
created filemanager en Created
@ -30,35 +48,51 @@ created %1,%2 filemanager en Created %1,%2
created between filemanager en created between
created by filemanager en Created by
created directory %1 filemanager en Created directory %1
cut filemanager en cut
cut to clipboard filemanager en Cut to clipboard
date filemanager en Date
debug filemanager en Debug
debuginfos filemanager en Debuginfos
default number of upload fields to show filemanager en Default number of upload fields to show
delete filemanager en Delete
delete this file or directory filemanager en Delete this file or directory
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"
directory not found or no permission to access it! filemanager en Directory not found or no permission to access it!
display and modification of content filemanager en Display and modification of content
display attributes filemanager en Display attributes
display of content filemanager en Display of content
download filemanager en Download
edit filemanager en Edit
edit comments filemanager en Edit comments
edit settings filemanager en Edit settings
error running command filemanager en Error running command
error uploading file! filemanager en Error uploading file!
executable filemanager en Executable
execute filemanager en Execute
failed to create directory filemanager en failed to create directory
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 %1 may be too big. contact your systemadministrator for further info filemanager en File %1 may be too big. Contact your Systemadministrator for further info
file deleted. filemanager en File deleted.
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 /
file or directory not found! filemanager en File or directory not found!
file successful uploaded. filemanager en File successful uploaded.
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
general filemanager en General
go home filemanager en go home
go to filemanager en Go To
go to %1 filemanager en Go to %1
@ -73,28 +107,45 @@ mime type filemanager en MIME Type
modified filemanager en Modified
modified between filemanager en modified between
modified by filemanager en Modified by
modify all subdirectories and their content filemanager en Modify all Subdirectories and their content
move filemanager en Move
move to filemanager en Move To
move to: filemanager en Move to:
moved %1 to %2 filemanager en Moved %1 to %2
no access filemanager en No access
no files in this directory. filemanager en No files in this directory.
no preview available filemanager en No preview available
no version history for this file/directory filemanager en No version history for this file/directory
only owner can rename or delete the content filemanager en Only owner can rename or delete the content
operation filemanager en Operation
other settings filemanager en Other settings
owner filemanager en Owner
permission denied! filemanager en Permission denied!
permissions filemanager en Permissions
permissions changed for %1. filemanager en Permissions changed for %1.
please select a file to delete. filemanager en Please select a file to delete.
preview filemanager en Preview
preview %1 filemanager en Preview %1
preview of %1 filemanager en Preview of %1
quick jump to filemanager en Quick jump to
read & write access filemanager en Read & write access
read access only filemanager en Read access only
reload filemanager en reload
rename filemanager en Rename
rename, change permissions or ownership filemanager en Rename, change permissions or ownership
renamed %1 to %2 filemanager en Renamed %1 to %2
renamed %1 to %2. filemanager en Renamed %1 to %2.
replaced %1 filemanager en Replaced %1
root filemanager en root
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
search for '%1' filemanager en Search for '%1'
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 .. filemanager en Show ..
show .files filemanager en Show .files
@ -121,4 +172,5 @@ 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
you need to select some files first! filemanager en You need to select some files first!
your home dir did not exist, egroupware created a new one. filemanager en Your Home Dir did not exist, eGroupWare created a new one.

View File

@ -2,7 +2,7 @@
/**
* eGroupWare - eTemplates for Application filemanager
* http://www.egroupware.org
* generated by soetemplate::dump4setup() 2008-03-03 13:36
* generated by soetemplate::dump4setup() 2008-03-03 23:31
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package filemanager
@ -12,9 +12,17 @@
$templ_version=1;
$templ_data[] = array('name' => 'filemanager.index','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:1:{s:1:"A";s:3:"250";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:4:"name";s:7:"nm[msg]";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:10:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"7";i:1;a:4:{s:4:"type";s:6:"button";s:4:"size";s:4:"goup";s:5:"label";s:2:"Up";s:4:"name";s:10:"button[up]";}i:2;a:4:{s:4:"type";s:6:"button";s:4:"name";s:12:"button[home]";s:4:"size";s:6:"gohome";s:5:"label";s:20:"Go to home directory";}s:4:"span";s:3:"all";i:3;a:6:{s:4:"type";s:4:"text";s:4:"name";s:8:"nm[path]";s:4:"size";s:2:"80";s:5:"label";s:4:"Path";s:8:"onchange";i:1;s:4:"span";s:8:",address";}i:4;a:4:{s:4:"type";s:6:"button";s:4:"name";s:10:"button[go]";s:4:"size";s:9:"key_enter";s:5:"label";s:5:"Go to";}i:5;a:2:{s:4:"type";s:5:"image";s:4:"name";s:15:"buttonseparator";}i:6;a:5:{s:4:"type";s:6:"button";s:4:"name";s:17:"button[createdir]";s:4:"size";s:16:"button_createdir";s:5:"label";s:16:"Create directory";s:7:"onclick";s:128:"var dir = prompt(egw::lang(\'New directory\')); if (!dir) return false; document.getElementById(form::name(\'nm[path]\')).value=dir;";}i:7;a:4:{s:4:"type";s:6:"button";s:4:"name";s:13:"button[paste]";s:4:"size";s:9:"editpaste";s:4:"help";s:20:"$cont[paste_tooltip]";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:4:{s:4:"type";s:9:"nextmatch";s:4:"size";s:22:"filemanager.index.rows";s:4:"span";s:3:"all";s:4:"name";s:2:"nm";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:4;a:2:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:3:{s:4:"type";s:4:"file";s:4:"name";s:6:"upload";s:4:"help";s:42:"Select file to upload in current directory";}i:2;a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"Upload";s:4:"name";s:14:"button[upload]";}}s:1:"B";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:5:"align";s:5:"right";i:1;a:4:{s:4:"type";s:6:"select";s:4:"name";s:6:"action";s:4:"size";s:16:"Select action...";s:8:"onchange";i:1;}i:2;a:8:{s:4:"type";s:6:"button";s:4:"size";s:9:"arrow_ltr";s:5:"label";s:9:"Check all";s:4:"name";s:9:"check_all";s:4:"help";s:9:"Check all";s:7:"onclick";s:70:"toggle_all(this.form,form::name(\'nm[rows][checked][]\')); return false;";s:6:"needed";s:1:"1";s:4:"span";s:14:",checkAllArrow";}}}}s:4:"rows";i:4;s:4:"cols";i:2;}}','size' => '','style' => '','modified' => '1204374710',);
$templ_data[] = array('name' => 'filemanager.file','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:1:{s:2:"h1";s:6:",!@msg";}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:4:"name";s:3:"msg";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:3:"tab";s:5:"label";s:27:"General|Permissions|Preview";s:4:"name";s:21:"general|perms|preview";s:4:"span";s:3:"all";}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:3:{s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:4:"name";s:4:"save";}i:2;a:4:{s:4:"type";s:10:"buttononly";s:5:"label";s:6:"Cancel";s:4:"name";s:14:"button[cancel]";s:7:"onclick";s:15:"window.close();";}}}}s:4:"rows";i:3;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1204554434',);
$templ_data[] = array('name' => 'filemanager.index.rows','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:6:{s:2:"c1";s:2:"th";s:2:"c2";s:3:"row";s:1:"B";s:3:"30%";s:1:"D";s:3:"120";s:1:"E";s:3:"120";s:1:"J";s:2:"70";}i:1;a:10:{s:1:"A";a:4:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Type";s:4:"name";s:4:"mime";s:5:"align";s:6:"center";}s:1:"B";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Name";s:4:"name";s:4:"name";}s:1:"C";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Size";s:4:"name";s:4:"size";}s:1:"D";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:8:"Modified";s:4:"name";s:5:"mtime";}s:1:"E";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:7:"Created";s:4:"name";s:5:"ctime";}s:1:"F";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:11:"Permissions";s:4:"name";s:4:"mode";}s:1:"G";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:4:"name";s:3:"uid";s:5:"label";s:5:"Owner";}s:1:"H";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:4:"name";s:3:"gid";s:5:"label";s:5:"Group";}s:1:"I";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Comment";s:4:"name";s:7:"comment";}s:1:"J";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Actions";}i:2;a:8:{s:4:"type";s:6:"button";s:4:"size";s:5:"check";s:5:"label";s:9:"Check all";s:4:"name";s:9:"check_all";s:4:"help";s:9:"Check all";s:7:"onclick";s:60:"toggle_all(this.form,form::name(\'checked[]\')); return false;";s:6:"needed";s:1:"1";s:5:"align";s:5:"right";}}}i:2;a:10:{s:1:"A";a:4:{s:4:"type";s:5:"image";s:5:"label";s:15:"$row_cont[mime]";s:4:"name";s:12:"${row}[icon]";s:5:"align";s:6:"center";}s:1:"B";a:4:{s:4:"type";s:5:"label";s:4:"size";s:16:",$row_cont[link]";s:4:"name";s:12:"${row}[name]";s:7:"no_lang";s:1:"1";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[hsize]";s:5:"align";s:5:"right";}s:1:"D";a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:13:"${row}[mtime]";s:8:"readonly";s:1:"1";}s:1:"E";a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:13:"${row}[ctime]";s:8:"readonly";s:1:"1";}s:1:"F";a:3:{s:4:"type";s:5:"label";s:5:"label";s:16:"$row_cont[perms]";s:4:"span";s:6:",perms";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"name";s:12:"${row}[user]";s:7:"no_lang";s:1:"1";}s:1:"H";a:3:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[group]";s:7:"no_lang";s:1:"1";}s:1:"I";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[comment]";}s:1:"J";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:5:{s:4:"type";s:6:"button";s:4:"size";s:4:"edit";s:5:"label";s:13:"Edit settings";s:4:"name";s:21:"edit[$row_cont[path]]";s:4:"help";s:39:"Rename, change permissions or ownership";}i:2;a:7:{s:4:"type";s:6:"button";s:4:"name";s:23:"delete[$row_cont[path]]";s:4:"size";s:6:"delete";s:5:"label";s:6:"Delete";s:4:"help";s:29:"Delete this file or directory";s:7:"onclick";s:48:"return confirm(\'Delete this file or directory\');";s:5:"align";s:6:"center";}i:3;a:4:{s:4:"type";s:8:"checkbox";s:4:"name";s:9:"checked[]";s:5:"align";s:5:"right";s:4:"size";s:15:"$row_cont[path]";}s:5:"align";s:5:"right";}}}s:4:"rows";i:2;s:4:"cols";i:10;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}','size' => '100%','style' => '','modified' => '1204370567',);
$templ_data[] = array('name' => 'filemanager.file.general','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:2:{s:1:"A";s:2:"80";s:2:"h1";s:2:"60";}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:5:"image";s:4:"name";s:4:"icon";s:4:"span";s:9:",mimeHuge";s:5:"align";s:6:"center";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:4:"name";s:6:"needed";s:1:"1";s:4:"span";s:9:",fileName";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Type";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:4:"name";s:4:"mime";}}i:4;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Directory";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:4:"name";s:3:"dir";}}i:5;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Size";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:4:"name";s:5:"hsize";s:5:"label";s:17:"%s ($cont[size]b)";}}i:6;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Created";}s:1:"B";a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:5:"ctime";s:8:"readonly";s:1:"1";}}i:7;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Modified";}s:1:"B";a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:5:"mtime";s:8:"readonly";s:1:"1";}}i:8;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:8;s:4:"cols";i:2;s:4:"size";s:12:"450,300,,,10";s:7:"options";a:3:{i:0;s:3:"450";i:1;s:3:"300";i:4;s:2:"10";}}}','size' => '450,300,,,10','style' => '','modified' => '1204554817',);
$templ_data[] = array('name' => 'filemanager.file.perms','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:1:{s:2:"h3";s:9:",!@is_dir";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:5:"label";s:12:"Accessrights";i:1;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:3:{s:1:"A";s:2:"80";s:2:"h5";s:9:",!@is_dir";s:2:"h4";s:8:",@is_dir";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Owner";}s:1:"B";a:2:{s:4:"type";s:6:"select";s:4:"name";s:12:"perms[owner]";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Group";}s:1:"B";a:2:{s:4:"type";s:6:"select";s:4:"name";s:12:"perms[group]";}}i:3;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Other";}s:1:"B";a:2:{s:4:"type";s:6:"select";s:4:"name";s:12:"perms[other]";}}i:4;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:8:"checkbox";s:5:"label";s:10:"Executable";s:4:"name";s:17:"perms[executable]";}}i:5;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:8:"checkbox";s:5:"label";s:43:"Only owner can rename or delete the content";s:4:"name";s:13:"perms[sticky]";}}}s:4:"rows";i:5;s:4:"cols";i:2;s:7:"options";a:0:{}}}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:5:"label";s:5:"Owner";i:1;a:5:{s:4:"type";s:4:"grid";s:7:"options";a:0:{}s:4:"data";a:3:{i:0;a:1:{s:1:"A";s:2:"80";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"User";}s:1:"B";a:4:{s:4:"type";s:14:"select-account";s:4:"size";s:13:"root,accounts";s:4:"name";s:3:"uid";s:5:"label";s:12:"@ro_uid_root";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Group";}s:1:"B";a:4:{s:4:"type";s:14:"select-account";s:4:"size";s:11:"root,groups";s:4:"name";s:3:"gid";s:5:"label";s:12:"@ro_gid_root";}}}s:4:"rows";i:2;s:4:"cols";i:2;}}}i:3;a:1:{s:1:"A";a:3:{s:4:"type";s:8:"checkbox";s:5:"label";s:43:"Modify all Subdirectories and their content";s:4:"name";s:11:"modify_subs";}}}s:4:"rows";i:3;s:4:"cols";i:1;s:4:"size";s:12:"450,300,,,10";s:7:"options";a:3:{i:0;s:3:"450";i:1;s:3:"300";i:4;s:2:"10";}}}','size' => '450,300,,,10','style' => '','modified' => '1204567746',);
$templ_data[] = array('name' => 'filemanager.file.preview','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:5:{s:2:"c1";s:4:",top";s:2:"h1";s:16:",!@mime=/^image/";s:2:"h3";s:22:",@mime=/^(image|text)/";s:2:"h2";s:18:"280,!@text_content";s:2:"c2";s:4:",top";}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"image";s:4:"name";s:4:"link";s:4:"span";s:13:",previewImage";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:8:"textarea";s:4:"name";s:12:"text_content";s:4:"span";s:12:",previewText";s:8:"readonly";s:1:"1";}}i:3;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:20:"No preview available";}}}s:4:"rows";i:3;s:4:"cols";i:1;s:4:"size";s:18:"450,300,,,10,,auto";s:7:"options";a:4:{i:0;s:3:"450";i:1;s:3:"300";i:6;s:4:"auto";i:4;s:2:"10";}}}','size' => '450,300,,,10,,auto','style' => '','modified' => '1204567479',);
$templ_data[] = array('name' => 'filemanager.index','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:2:{s:1:"A";s:3:"250";s:2:"h1";s:10:",!@nm[msg]";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:4:"name";s:7:"nm[msg]";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:10:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"7";i:1;a:4:{s:4:"type";s:6:"button";s:4:"size";s:4:"goup";s:5:"label";s:2:"Up";s:4:"name";s:10:"button[up]";}i:2;a:4:{s:4:"type";s:6:"button";s:4:"name";s:12:"button[home]";s:4:"size";s:6:"gohome";s:5:"label";s:25:"Go to your home directory";}s:4:"span";s:3:"all";i:3;a:6:{s:4:"type";s:4:"text";s:4:"name";s:8:"nm[path]";s:4:"size";s:2:"80";s:5:"label";s:4:"Path";s:8:"onchange";i:1;s:4:"span";s:8:",address";}i:4;a:4:{s:4:"type";s:6:"button";s:4:"name";s:10:"button[go]";s:4:"size";s:9:"key_enter";s:5:"label";s:5:"Go to";}i:5;a:2:{s:4:"type";s:5:"image";s:4:"name";s:15:"buttonseparator";}i:6;a:5:{s:4:"type";s:6:"button";s:4:"name";s:17:"button[createdir]";s:4:"size";s:16:"button_createdir";s:5:"label";s:16:"Create directory";s:7:"onclick";s:128:"var dir = prompt(egw::lang(\'New directory\')); if (!dir) return false; document.getElementById(form::name(\'nm[path]\')).value=dir;";}i:7;a:4:{s:4:"type";s:6:"button";s:4:"name";s:13:"button[paste]";s:4:"size";s:9:"editpaste";s:4:"help";s:20:"$cont[paste_tooltip]";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:4:{s:4:"type";s:9:"nextmatch";s:4:"size";s:22:"filemanager.index.rows";s:4:"span";s:3:"all";s:4:"name";s:2:"nm";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:4;a:2:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:3:{s:4:"type";s:4:"file";s:4:"name";s:6:"upload";s:4:"help";s:42:"Select file to upload in current directory";}i:2;a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"Upload";s:4:"name";s:14:"button[upload]";}}s:1:"B";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:5:"align";s:5:"right";i:1;a:4:{s:4:"type";s:6:"select";s:4:"name";s:6:"action";s:4:"size";s:16:"Select action...";s:8:"onchange";i:1;}i:2;a:8:{s:4:"type";s:6:"button";s:4:"size";s:9:"arrow_ltr";s:5:"label";s:9:"Check all";s:4:"name";s:9:"check_all";s:4:"help";s:9:"Check all";s:7:"onclick";s:70:"toggle_all(this.form,form::name(\'nm[rows][checked][]\')); return false;";s:6:"needed";s:1:"1";s:4:"span";s:14:",checkAllArrow";}}}}s:4:"rows";i:4;s:4:"cols";i:2;}}','size' => '','style' => '','modified' => '1204374710',);
$templ_data[] = array('name' => 'filemanager.index.rows','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:6:{s:2:"c1";s:2:"th";s:2:"c2";s:3:"row";s:1:"B";s:3:"30%";s:1:"D";s:3:"120";s:1:"E";s:3:"120";s:1:"J";s:2:"70";}i:1;a:10:{s:1:"A";a:4:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Type";s:4:"name";s:4:"mime";s:5:"align";s:6:"center";}s:1:"B";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Name";s:4:"name";s:4:"name";}s:1:"C";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Size";s:4:"name";s:4:"size";}s:1:"D";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:8:"Modified";s:4:"name";s:5:"mtime";}s:1:"E";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:7:"Created";s:4:"name";s:5:"ctime";}s:1:"F";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:11:"Permissions";s:4:"name";s:4:"mode";}s:1:"G";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:4:"name";s:3:"uid";s:5:"label";s:5:"Owner";}s:1:"H";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:4:"name";s:3:"gid";s:5:"label";s:5:"Group";}s:1:"I";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Comment";s:4:"name";s:7:"comment";}s:1:"J";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Actions";}i:2;a:8:{s:4:"type";s:6:"button";s:4:"size";s:5:"check";s:5:"label";s:9:"Check all";s:4:"name";s:9:"check_all";s:4:"help";s:9:"Check all";s:7:"onclick";s:60:"toggle_all(this.form,form::name(\'checked[]\')); return false;";s:6:"needed";s:1:"1";s:5:"align";s:5:"right";}}}i:2;a:10:{s:1:"A";a:4:{s:4:"type";s:5:"image";s:5:"label";s:15:"$row_cont[mime]";s:4:"name";s:12:"${row}[icon]";s:5:"align";s:6:"center";}s:1:"B";a:4:{s:4:"type";s:5:"label";s:4:"size";s:16:",$row_cont[link]";s:4:"name";s:12:"${row}[name]";s:7:"no_lang";s:1:"1";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[hsize]";s:5:"align";s:5:"right";}s:1:"D";a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:13:"${row}[mtime]";s:8:"readonly";s:1:"1";}s:1:"E";a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:13:"${row}[ctime]";s:8:"readonly";s:1:"1";}s:1:"F";a:3:{s:4:"type";s:5:"label";s:5:"label";s:16:"$row_cont[perms]";s:4:"span";s:6:",perms";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"name";s:12:"${row}[user]";s:7:"no_lang";s:1:"1";}s:1:"H";a:3:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[group]";s:7:"no_lang";s:1:"1";}s:1:"I";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[comment]";}s:1:"J";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:6:{s:4:"type";s:6:"button";s:4:"size";s:4:"edit";s:5:"label";s:13:"Edit settings";s:4:"name";s:21:"edit[$row_cont[path]]";s:4:"help";s:39:"Rename, change permissions or ownership";s:7:"onclick";s:192:"window.open(egw::link(\'/index.php\',\'menuaction=filemanager.filemanager_ui.file&path=$row_cont[path]\'),\'fileprefs\',\'dependent=yes,width=495,height=400,scrollbars=yes,status=yes\'); return false;";}i:2;a:7:{s:4:"type";s:6:"button";s:4:"name";s:23:"delete[$row_cont[path]]";s:4:"size";s:6:"delete";s:5:"label";s:6:"Delete";s:4:"help";s:29:"Delete this file or directory";s:7:"onclick";s:48:"return confirm(\'Delete this file or directory\');";s:5:"align";s:6:"center";}i:3;a:4:{s:4:"type";s:8:"checkbox";s:4:"name";s:9:"checked[]";s:5:"align";s:5:"right";s:4:"size";s:15:"$row_cont[path]";}s:5:"align";s:5:"right";}}}s:4:"rows";i:2;s:4:"cols";i:10;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}','size' => '100%','style' => '','modified' => '1204370567',);
$templ_data[] = array('name' => 'filemanager.search','template' => '','lang' => '','group' => '0','version' => '1.3.001','data' => 'a:4:{i:0;a:9:{s:4:"type";s:8:"groupbox";s:4:"name";s:10:"debuginfos";s:4:"size";s:1:"4";s:5:"label";s:10:"Debuginfos";s:8:"disabled";s:1:"1";i:1;a:3:{s:4:"type";s:8:"textarea";s:4:"name";s:7:"message";s:8:"readonly";s:1:"1";}i:2;a:1:{s:4:"type";s:5:"label";}i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}}i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:2:{s:1:"C";s:3:"120";s:1:"D";s:3:"120";}i:1;a:5:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"searchstring";s:4:"name";s:17:"searchstringlabel";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"span";s:1:"2";s:4:"name";s:12:"searchstring";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:3:{s:4:"type";s:6:"button";s:5:"label";s:12:"start search";s:4:"name";s:12:"start_search";}s:1:"E";a:1:{s:4:"type";s:5:"label";}}i:2;a:5:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"mime type";}s:1:"B";a:2:{s:4:"type";s:8:"checkbox";s:4:"name";s:8:"checkall";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:5:"label";s:3:"All";s:4:"name";s:8:"alllabel";}s:1:"D";a:4:{s:4:"type";s:5:"label";s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:8:"checkbox";s:5:"label";s:5:"files";s:4:"name";s:14:"checkonlyfiles";}}}s:4:"rows";i:1;s:4:"cols";i:1;}s:1:"E";a:1:{s:4:"type";s:5:"label";}}i:3;a:5:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:8:"checkbox";s:4:"name";s:14:"checkonlyfiles";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"files";s:4:"name";s:9:"filelabel";}s:1:"D";a:4:{s:4:"type";s:6:"button";s:5:"label";s:12:"clear search";s:4:"name";s:12:"clear_search";s:7:"onclick";s:71:"menuaction=filemanager.uifilemanager.index&action=search&actioncd=clear";}s:1:"E";a:1:{s:4:"type";s:5:"label";}}i:4;a:5:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:8:"checkbox";s:4:"name";s:13:"checkonlydirs";}s:1:"C";a:3:{s:4:"type";s:5:"label";s:5:"label";s:9:"directory";s:4:"name";s:8:"dirlabel";}s:1:"D";a:4:{s:4:"type";s:8:"checkbox";s:5:"label";s:5:"Debug";s:4:"name";s:5:"debug";s:8:"disabled";s:1:"1";}s:1:"E";a:1:{s:4:"type";s:5:"label";}}i:5;a:5:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:15:"created between";s:4:"name";s:12:"createdlabel";}s:1:"B";a:2:{s:4:"type";s:8:"checkbox";s:4:"name";s:13:"searchcreated";}s:1:"C";a:3:{s:4:"type";s:4:"date";s:4:"name";s:15:"datecreatedfrom";s:4:"size";s:2:",8";}s:1:"D";a:3:{s:4:"type";s:4:"date";s:4:"name";s:13:"datecreatedto";s:4:"size";s:2:",8";}s:1:"E";a:4:{s:4:"type";s:8:"textarea";s:4:"name";s:17:"searchcreatedtext";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";}}i:6;a:5:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:16:"modified between";s:4:"name";s:13:"modifiedlabel";}s:1:"B";a:2:{s:4:"type";s:8:"checkbox";s:4:"name";s:14:"searchmodified";}s:1:"C";a:3:{s:4:"type";s:4:"date";s:4:"name";s:16:"datemodifiedfrom";s:4:"size";s:2:",8";}s:1:"D";a:3:{s:4:"type";s:4:"date";s:4:"name";s:14:"datemodifiedto";s:4:"size";s:2:",8";}s:1:"E";a:4:{s:4:"type";s:8:"textarea";s:4:"name";s:18:"searchmodifiedtext";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";}}}s:4:"rows";i:6;s:4:"cols";i:5;}i:2;a:1:{s:4:"type";s:5:"hrule";}i:3;a:3:{s:4:"type";s:9:"nextmatch";s:4:"size";s:4:"rows";s:4:"name";s:2:"nm";}}','size' => '','style' => '','modified' => '1173101430',);

View File

@ -4,6 +4,10 @@
.perms { font-family: monospace; font-weight: bold; }
.address input { font-size: 140%; font-weight: bold; }
.mimeHuge img { width: 64px; height: 64px; }
.fileName input { font-weight: bold; width: 100%; }
.previewImage img { max-width: 430px; max-height: 275px; border: 1px solid black; }
.previewText div { }
/*
CSS for the filemanager

View File

@ -42,7 +42,7 @@
<description id="${row}[group]" no_lang="1"/>
<description id="${row}[comment]"/>
<hbox align="right">
<button image="edit" label="Edit settings" id="edit[$row_cont[path]]" statustext="Rename, change permissions or ownership"/>
<button image="edit" label="Edit settings" id="edit[$row_cont[path]]" statustext="Rename, change permissions or ownership" onclick="window.open(egw::link('/index.php','menuaction=filemanager.filemanager_ui.file&amp;path=$row_cont[path]'),'fileprefs','dependent=yes,width=495,height=400,scrollbars=yes,status=yes'); return false;"/>
<button id="delete[$row_cont[path]]" image="delete" label="Delete" statustext="Delete this file or directory" onclick="return confirm('Delete this file or directory');" align="center"/>
<checkbox id="checked[]" align="right" options="$row_cont[path]"/>
</hbox>
@ -57,7 +57,7 @@
<column/>
</columns>
<rows>
<row>
<row disabled="!@nm[msg]">
<description span="all" class="redItalic" id="nm[msg]"/>
<description/>
</row>