mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-13 18:17:07 +02:00
- new vfs-widget to encapsulate common vfs/file related stuff
+ path with clickable components + human readable size, mode, ... + mime icon with integrated thumbnail creation - link widget uses now vfs-mime for it's icons - thumbnail creation is now switched on with size 32px by default, it can be switched of by the admin or user, in doing so explicitly - mime-icons are moved from filemanager to etemplate, as not everyone installs filemanager - filemanager has now 3 display modi: + Current directory (with subdirs always on top) + Subdirs sorted in + Files from subdirs (shows recursive all files and you can click on the path components thanks to new vfs widget)
This commit is contained in:
@ -873,7 +873,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
||||
return false;
|
||||
}
|
||||
$this->opened_dir = array();
|
||||
$query = 'SELECT fs_id,fs_name,fs_mode,fs_uid,fs_gid,fs_size,fs_mime,fs_created,fs_modified FROM '.self::TABLE.' WHERE fs_dir=?';
|
||||
$query = 'SELECT fs_id,fs_name,fs_mode,fs_uid,fs_gid,fs_size,fs_mime,fs_created,fs_modified FROM '.self::TABLE." WHERE fs_dir=? ORDER BY fs_mime='httpd/unix-directory' DESC, fs_name ASC";
|
||||
|
||||
$stmt = self::$pdo->prepare($query);
|
||||
$stmt->setFetchMode(PDO::FETCH_ASSOC);
|
||||
@ -1508,7 +1508,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
||||
*/
|
||||
static function proppatch($path,array &$props)
|
||||
{
|
||||
//error_log(__METHOD__."(".array2string($path).','.array2string($props));
|
||||
error_log(__METHOD__."(".array2string($path).','.array2string($props));
|
||||
if (!is_numeric($path))
|
||||
{
|
||||
if (!($stat = self::url_stat($path,0)))
|
||||
@ -1613,7 +1613,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
||||
unset($props[$id]);
|
||||
}
|
||||
}
|
||||
foreach((array)$props as $k => $v) error_log(__METHOD__."($path_ids,$ns) $k => ".array2string($v));
|
||||
//foreach((array)$props as $k => $v) error_log(__METHOD__."($path_ids,$ns) $k => ".array2string($v));
|
||||
return $props;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user