Updates needed for phpwebhosting -> filemanager name change, some quotes fixes and some other misc. cleanup

This commit is contained in:
Zone 2002-09-21 05:26:43 +00:00
parent 71ec2f0197
commit 241d87cdd1
20 changed files with 373 additions and 422 deletions

View File

@ -1,4 +1,4 @@
phpgroupware-phpwebhosting (0.9.14-0.RC3.3) unstable; urgency=low phpgroupware-filemanager (0.9.14-0.RC3.3) unstable; urgency=low
* New release. * New release.
- Source is now splitted into modules. - Source is now splitted into modules.

View File

@ -1,16 +1,16 @@
Source: phpgroupware-phpwebhosting Source: phpgroupware-filemanager
Section: web Section: web
Priority: optional Priority: optional
Maintainer: Luca - De Whiskey's - De Vitis <luca@debian.org> Maintainer: Luca - De Whiskey's - De Vitis <luca@debian.org>
Build-Depends: debhelper (>> 3.0.0) Build-Depends: debhelper (>> 3.0.0)
Standards-Version: 3.5.2 Standards-Version: 3.5.2
Package: phpgroupware-phpwebhosting Package: phpgroupware-filemanager
Section: web Section: web
Architecture: all Architecture: all
Depends: phpgroupware (>= ${Source-Version}), php3-pgsql | php3-cgi-pgsql | php4-pgsql | php3-mysql | php3-cgi-mysql | php4-mysql Depends: phpgroupware (>= ${Source-Version}), php3-pgsql | php3-cgi-pgsql | php4-pgsql | php3-mysql | php3-cgi-mysql | php4-mysql
Description: The phpGroupWare next generation file manager module. Description: The phpGroupWare file manager module.
The next generation file manager for phpGroupWare. Abilities include all The file manager for phpGroupWare. Abilities include all
common file actions (upload, mkdir, rename, delete, copy, move), creating and common file actions (upload, mkdir, rename, delete, copy, move), creating and
editing text files, and syncing with the file system. Per file/directory editing text files, and syncing with the file system. Per file/directory
comments are stored, and version history is tracked. Group sharing and ACL comments are stored, and version history is tracked. Group sharing and ACL

View File

@ -13,7 +13,7 @@
# This is the debhelper compatability version to use. # This is the debhelper compatability version to use.
export DH_COMPAT=3 export DH_COMPAT=3
APP = phpwebhosting APP = filemanager
PACKAGE = debian/phpgroupware-$(APP)/usr/share/phpgroupware/$(APP) PACKAGE = debian/phpgroupware-$(APP)/usr/share/phpgroupware/$(APP)
PACKAGEDOC = debian/phpgroupware-$(APP)/usr/share/doc/phpgroupware-$(APP) PACKAGEDOC = debian/phpgroupware-$(APP)/usr/share/doc/phpgroupware-$(APP)

View File

@ -33,7 +33,7 @@ FULL EXPLANATION
SECURITY CONCERNS 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. 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 filemanager 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> <Directory /path/to/files>
Options None Options None

View File

@ -1,20 +1,24 @@
Module: phpwebhosting Module: filemanager (formerly phpwebhosting)
Author: Jason Wies <zone@phpgroupware.org> Author: Jason Wies <zone@phpgroupware.org>
Comments to: phpgroupware-developers@gnu.org, zone@phpgroupware.org Comments to: phpgroupware-developers@gnu.org, zone@phpgroupware.org
Description: The file manager for phpGroupWare. Abilities include all common file actions (upload, mkdir, rename, delete, copy, move), creating and editing text files, and syncing with the file system. Per file/directory comments are stored, and version history is tracked. Group sharing and ACL are fully supported. Description: The file manager for phpGroupWare. Abilities include all common file actions (upload, mkdir, rename, delete, copy, move), creating and editing text files, and syncing with the file system. Per file/directory comments are stored, and version history is tracked. Group sharing and ACL are fully supported.
NOTES NOTES
----- -----
phpwebhosting replaces filemanger. phpwebhosting should be used instead of filemanager in all new installs. filemanager started as an independent (non-phpGroupWare) project named phpwebhosting, and there continues to be a separate stand-alone distribution available at http://phpwebhosting.sourceforge.net/.
phpwebhosting will be renamed after 0.9.14, at least in time for 0.9.16, but perhaps much sooner. Most likely it will be renamed to 'filemanager', and the current 'filemanager' removed completely.
phpwebhosting started as an independent (non-phpGroupWare) project, and there continues to be a separate stand-alone distribution available at http://phpwebhosting.sourceforge.net. This is also the origin of the name, as the code was originally (and still can be) used for public webhosting.
For installation help, see the INSTALL file in this directory. For installation help, see the INSTALL file in this directory.
DEV NOTES DEV NOTES
--------- ---------
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. index.php is depreciated by the inc/class.xxfilemanager.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.xxfilemanager.inc.php files (3-tiered). This includes using templates.
See the docs in phpgwapi/doc/vfs for more information on interacting with the VFS (Virtual File System). See the docs in phpgwapi/doc/vfs for more information on interacting with the VFS (Virtual File System).
OLD NOTES
---------
phpwebhosting replaces filemanger. phpwebhosting should be used instead of filemanager in all new installs.
phpwebhosting will be renamed after 0.9.14, at least in time for 0.9.16, but perhaps much sooner. Most likely it will be renamed to 'filemanager', and the current 'filemanager' removed completely.
UPDATE: The above renaming has occurred, the module formerly known as 'phpwebhosting' is now 'filemanager', the default file manager for phpGroupWare. Any references to phpwebhosting should be replaced in favor of filemanger.

View File

@ -4,7 +4,7 @@
class bophpwebhosting class bofilemanager
{ {
var $public_functions = array( var $public_functions = array(
'delete' => True 'delete' => True
@ -55,7 +55,7 @@
// var $debug = True; // var $debug = True;
var $debug = False; var $debug = False;
function bophpwebhosting() function bofilemanager()
{ {
$this->vfs = CreateObject('phpgwapi.vfs'); $this->vfs = CreateObject('phpgwapi.vfs');
@ -122,7 +122,7 @@
define('NULL',''); define('NULL','');
} }
$this->so = CreateObject('phpwebhosting.sophpwebhosting'); $this->so = CreateObject('filemanager.sofilemanager');
$this->file_attributes = Array( $this->file_attributes = Array(
'name' => 'Filename', 'name' => 'Filename',
@ -146,7 +146,7 @@
if($this->debug) if($this->debug)
{ {
echo 'DEBUG: bo.bophpwebhosting: PATH = '.$this->path.'<br>'."\n"; echo 'DEBUG: bo.bofilemanager: PATH = '.$this->path.'<br>'."\n";
} }
if(!$this->path) if(!$this->path)
@ -192,7 +192,7 @@
if($this->debug) if($this->debug)
{ {
echo '<b>PHPWebHosting debug:</b><br>' echo '<b>Filemanager debug:</b><br>'
. 'path: '.$this->path.'<br>' . 'path: '.$this->path.'<br>'
. 'disppath: '.$this->disppath.'<br>' . 'disppath: '.$this->disppath.'<br>'
. 'cwd: '.$this->cwd.'<br>' . 'cwd: '.$this->cwd.'<br>'

View File

@ -1,10 +1,10 @@
<?php <?php
class sophpwebhosting class sofilemanager
{ {
/* Any initializations that need to be done */ /* Any initializations that need to be done */
function sophpwebhosting() function sofilemanager()
{ {
$GLOBALS['phpgw']->db->Auto_Free = 0; $GLOBALS['phpgw']->db->Auto_Free = 0;
} }

View File

@ -2,7 +2,7 @@
/**************************************************************************\ /**************************************************************************\
* phpGroupWare * * phpGroupWare *
* This file written by Mark A Peters (Skeeter) <skeeter@phpgroupware.org> * * This file written by Mark A Peters (Skeeter) <skeeter@phpgroupware.org> *
* This class user interface for the phpwebhosting app * * This class user interface for the filemanager app *
* Copyright (C) 2002 Mark A Peters * * Copyright (C) 2002 Mark A Peters *
* -------------------------------------------------------------------------* * -------------------------------------------------------------------------*
* This library is free software; you can redistribute it and/or modify it * * This library is free software; you can redistribute it and/or modify it *
@ -20,7 +20,7 @@
/* $Id$ */ /* $Id$ */
class uiphpwebhosting class uifilemanager
{ {
var $public_functions = array( var $public_functions = array(
@ -39,9 +39,9 @@
var $template_dir; var $template_dir;
var $help_info; var $help_info;
function uiphpwebhosting() function uifilemanager()
{ {
$this->bo = CreateObject('phpwebhosting.bophpwebhosting'); $this->bo = CreateObject('filemanager.bofilemanager');
$this->nextmatchs = CreateObject('phpgwapi.nextmatchs'); $this->nextmatchs = CreateObject('phpgwapi.nextmatchs');
$this->browser = CreateObject('phpgwapi.browser'); $this->browser = CreateObject('phpgwapi.browser');
$this->template_dir = $GLOBALS['phpgw']->common->get_tpl_dir($GLOBALS['phpgw_info']['flags']['currentapp']); $this->template_dir = $GLOBALS['phpgw']->common->get_tpl_dir($GLOBALS['phpgw_info']['flags']['currentapp']);

View File

@ -2,22 +2,22 @@
global $pref; global $pref;
$pref->change ("phpwebhosting", "name", "True"); $pref->change ('filemanager', 'name', True);
$pref->change ("phpwebhosting", "mime_type", "True"); $pref->change ('filemanager', 'mime_type', True);
$pref->change ("phpwebhosting", "size", "True"); $pref->change ('filemanager', 'size', True);
$pref->change ("phpwebhosting", "created", "True"); $pref->change ('filemanager', 'created', True);
$pref->change ("phpwebhosting", "modified", "True"); $pref->change ('filemanager', 'modified', True);
//$pref->change ("phpwebhosting", "owner", "False"); //$pref->change ('filemanager', 'owner', False);
$pref->change ("phpwebhosting", "createdby_id", "True"); $pref->change ('filemanager', 'createdby_id', True);
$pref->change ("phpwebhosting", "modifiedby_id", "True"); $pref->change ('filemanager', 'modifiedby_id', True);
//$pref->change ("phpwebhosting", "app", "False"); //$pref->change ('filemanager', 'app', False);
$pref->change ("phpwebhosting", "comment", "True"); $pref->change ('filemanager', 'comment', True);
//$pref->change ("phpwebhosting", "viewinnewwin", "False"); //$pref->change ('filemanager', 'viewinnewwin', False);
//$pref->change ("phpwebhosting", "viewonserver", "False"); //$pref->change ('filemanager', 'viewonserver', False);
$pref->change ("phpwebhosting", "viewtextplain", True); $pref->change ('filemanager', 'viewtextplain', True);
//$pref->change ("phpwebhosting", "dotdot", "False"); //$pref->change ('filemanager', 'dotdot', False);
//$pref->change ("phpwebhosting", "dotfiles", "False"); //$pref->change ('filemanager', 'dotfiles', False);
//$pref->change ("phpwebhosting", "show_help", "False"); //$pref->change ('filemanager', 'show_help', False);
$pref->change ("phpwebhosting", "show_upload_boxes", "5"); $pref->change ('filemanager', 'show_upload_boxes', '5');
?> ?>

View File

@ -15,7 +15,7 @@
// Only Modify the $file and $title variables..... // Only Modify the $file and $title variables.....
$title = $appname; $title = $appname;
$file = Array( $file = Array(
lang('Preferences') => $GLOBALS['phpgw']->link('/phpwebhosting/preferences.php') lang('Preferences') => $GLOBALS['phpgw']->link('/filemanager/preferences.php')
); );
//Do not modify below this line //Do not modify below this line
display_section($appname,$title,$file); display_section($appname,$title,$file);

View File

@ -3,9 +3,9 @@
### ###
# DEV NOTE: # DEV NOTE:
# #
# index.php is depreciated by the inc/class.xxphpwebhosting.inc.php files. # index.php is depreciated by the inc/class.xxfilemanager.inc.php files.
# index.php is still used in the 0.9.14 release, but all future changes should be # 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. # made to the inc/class.xxfilemanager.inc.php files (3-tiered). This includes using templates.
### ###
### ###
@ -85,7 +85,7 @@ if ($noheader || $nofooter || ($download && (count ($fileman) > 0)) || ($op == '
$GLOBALS['phpgw_info']['flags'] = array $GLOBALS['phpgw_info']['flags'] = array
( (
'currentapp' => 'phpwebhosting', 'currentapp' => 'filemanager',
'noheader' => $noheader, 'noheader' => $noheader,
'nofooter' => $nofooter, 'nofooter' => $nofooter,
'noappheader' => False, 'noappheader' => False,
@ -165,7 +165,7 @@ $now = date ('Y-m-d');
if ($phpwh_debug) if ($phpwh_debug)
{ {
echo "<b>PHPWebHosting debug:</b><br> echo "<b>Filemanager debug:</b><br>
path: $path<br> path: $path<br>
disppath: $disppath<br> disppath: $disppath<br>
cwd: $cwd<br> cwd: $cwd<br>

View File

@ -1,6 +1,6 @@
<?php <?php
/**************************************************************************\ /**************************************************************************\
* phpGroupWare - PHPWebHosting * * phpGroupWare - Filemanager *
* http://www.phpgroupware.org * * http://www.phpgroupware.org *
* -------------------------------------------- * * -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it * * This program is free software; you can redistribute it and/or modify it *
@ -13,13 +13,13 @@
$phpgw_info["flags"] = array $phpgw_info["flags"] = array
( (
"currentapp" => "phpwebhosting", 'currentapp' => 'filemanger',
"enable_nextmatchs_class" => True, 'enable_nextmatchs_class' => True,
"noheader" => True, 'noheader' => True,
"nonavbar" => True 'nonavbar' => True
); );
include("../header.inc.php"); include('../header.inc.php');
/* /*
To add an on/off preference, just add it here. Key is internal name, value is displayed name To add an on/off preference, just add it here. Key is internal name, value is displayed name
@ -77,7 +77,7 @@
$phpgw->common->phpgw_header (); $phpgw->common->phpgw_header ();
echo parse_navbar (); echo parse_navbar ();
$p = CreateObject ('phpgwapi.Template', $phpgw->common->get_tpl_dir ('phpwebhosting')); $p = CreateObject ('phpgwapi.Template', $phpgw->common->get_tpl_dir ('filemanager'));
$templates = array ( $templates = array (
'pref' => 'pref.tpl', 'pref' => 'pref.tpl',
'pref_colspan' => 'pref_colspan.tpl', 'pref_colspan' => 'pref_colspan.tpl',
@ -86,7 +86,7 @@
$p->set_file ($templates); $p->set_file ($templates);
$var = array ( $var = array (
'title' => lang ('PHPWebHosting preferences'), 'title' => lang ('Filemanager preferences'),
'action_url' => $phpgw->link ('/' . $phpgw_info['flags']['currentapp'] . '/preferences.php'), 'action_url' => $phpgw->link ('/' . $phpgw_info['flags']['currentapp'] . '/preferences.php'),
'bg_color' => $phpgw_info['theme']['th_bg'], 'bg_color' => $phpgw_info['theme']['th_bg'],
'submit_lang' => lang ('submit') 'submit_lang' => lang ('submit')
@ -104,7 +104,7 @@
while (list ($internal, $displayed) = each ($file_attributes)) while (list ($internal, $displayed) = each ($file_attributes))
{ {
unset ($checked); unset ($checked);
if ($phpgw_info["user"]["preferences"]["phpwebhosting"][$internal]) if ($phpgw_info['user']['preferences']['filemanager'][$internal])
{ {
$checked = 1; $checked = 1;
} }
@ -118,7 +118,7 @@
while (list ($internal, $displayed) = each ($other_checkboxes)) while (list ($internal, $displayed) = each ($other_checkboxes))
{ {
unset ($checked); unset ($checked);
if ($phpgw_info["user"]["preferences"]["phpwebhosting"][$internal]) if ($phpgw_info['user']['preferences']['filemanager'][$internal])
{ {
$checked = 1; $checked = 1;
} }
@ -140,7 +140,7 @@
continue; continue;
} }
$options .= html_form_option ($value, $value, $phpgw_info["user"]["preferences"]["phpwebhosting"][$internal] == $value, True); $options .= html_form_option ($value, $value, $phpgw_info['user']['preferences']['filemanager'][$internal] == $value, True);
} }
$output = html_form_select_begin ($internal, True); $output = html_form_select_begin ($internal, True);

View File

@ -1,93 +1,93 @@
application phpwebhosting en Application application filemanager en Application
back to file manager phpwebhosting en Back to file manager back to file manager filemanager en Back to file manager
cannot create directory because it begins or ends in a space phpwebhosting 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
cannot replace x because it is a directory phpwebhosting en Cannot replace %1 because it is a directory cannot replace x because it is a directory filemanager en Cannot replace %1 because it is a directory
command sucessfully run phpwebhosting en Command sucessfully run command sucessfully run filemanager en Command sucessfully run
comment phpwebhosting en Comment comment filemanager en Comment
comments cannot contain "x" phpwebhosting en Comments cannot contain "%1" comments cannot contain "x" filemanager en Comments cannot contain "%1"
copied x to x phpwebhosting en Copied %1 to %2 copied x to x filemanager en Copied %1 to %2
copy to phpwebhosting en Copy To copy to filemanager en Copy To
copy to: phpwebhosting en Copy to: copy to: filemanager en Copy to:
could not copy x to x phpwebhosting en Could not copy %1 to %2 could not copy x to x filemanager en Could not copy %1 to %2
could not create directory x phpwebhosting en Could not create directory %1 could not create directory x filemanager en Could not create directory %1
could not create x phpwebhosting en Could not create %1 could not create x filemanager en Could not create %1
could not delete x phpwebhosting en Could not delete %1 could not delete x filemanager en Could not delete %1
could not move x to x phpwebhosting en Could not move %1 to %2 could not move x to x filemanager en Could not move %1 to %2
could not rename x to x phpwebhosting en Could not rename %1 to %2 could not rename x to x filemanager en Could not rename %1 to %2
could not save x phpwebhosting en Could not save %1 could not save x filemanager en Could not save %1
create file phpwebhosting en Create File create file filemanager en Create File
create folder phpwebhosting en Create Folder create folder filemanager en Create Folder
created phpwebhosting en Created created filemanager en Created
created by phpwebhosting en Created by created by filemanager en Created by
created directory x phpwebhosting en Created directory %1 created directory x filemanager en Created directory %1
created x phpwebhosting en Created %1 created x filemanager en Created %1
date phpwebhosting en Date date filemanager en Date
default number of upload fields to show phpwebhosting en Default number of upload fields to show default number of upload fields to show filemanager en Default number of upload fields to show
delete phpwebhosting en Delete delete filemanager en Delete
deleted x phpwebhosting en Deleted %1 deleted x filemanager en Deleted %1
directory phpwebhosting en Directory directory filemanager en Directory
directory names cannot contain "x" phpwebhosting en Directory names cannot contain "%1" directory names cannot contain "x" filemanager en Directory names cannot contain "%1"
directory x already exists phpwebhosting en Directory %1 already exists directory x already exists filemanager en Directory %1 already exists
directory x does not exist phpwebhosting en Directory %1 does not exist directory x does not exist filemanager en Directory %1 does not exist
display attributes phpwebhosting en Display attributes display attributes filemanager en Display attributes
download phpwebhosting en Download download filemanager en Download
edit phpwebhosting en Edit edit filemanager en Edit
edit comments phpwebhosting en Edit comments edit comments filemanager en Edit comments
error running command phpwebhosting en Error running command error running command filemanager en Error running command
execute phpwebhosting en Execute execute filemanager en Execute
failed to create directory phpwebhosting en failed to create directory failed to create directory filemanager en failed to create directory
file phpwebhosting en File file filemanager en File
file name phpwebhosting en File Name file name filemanager en File Name
file names cannot contain "x" phpwebhosting en File names cannot contain "%1" file names cannot contain "x" filemanager en File names cannot contain "%1"
file names cannot contain \\ or / phpwebhosting en File names cannot contain \\ or / file names cannot contain \\ or / filemanager en File names cannot contain \\ or /
file x already exists. please edit it or delete it first. phpwebhosting en File %1 already exists. Please edit it or delete it first. file x already exists. please edit it or delete it first. filemanager en File %1 already exists. Please edit it or delete it first.
file x could not be created. phpwebhosting en File %1 could not be created. file x could not be created. filemanager en File %1 could not be created.
files phpwebhosting en Files files filemanager en Files
folder phpwebhosting en Folder folder filemanager en Folder
go to phpwebhosting en Go To go to filemanager en Go To
go to x phpwebhosting en Go to %1 go to x filemanager en Go to %1
go to your home directory phpwebhosting en Go to your home directory go to your home directory filemanager en Go to your home directory
go to: phpwebhosting en Go to: go to: filemanager en Go to:
home phpwebhosting en Home home filemanager en Home
locked phpwebhosting en Locked locked filemanager en Locked
mime type phpwebhosting en MIME Type mime type filemanager en MIME Type
modified phpwebhosting en Modified modified filemanager en Modified
modified by phpwebhosting en Modified by modified by filemanager en Modified by
move to phpwebhosting en Move To move to filemanager en Move To
move to: phpwebhosting en Move to: move to: filemanager en Move to:
moved x to x phpwebhosting en Moved %1 to %2 moved x to x filemanager en Moved %1 to %2
no version history for this file/directory phpwebhosting en No version history for this file/directory no version history for this file/directory filemanager en No version history for this file/directory
operation phpwebhosting en Operation operation filemanager en Operation
owner phpwebhosting en Owner owner filemanager en Owner
phpwebhosting preferences phpwebhosting en PHPWebHosting preferences filemanager preferences filemanager en Filemanager preferences
preview of x phpwebhosting en Preview of %1 preview of x filemanager en Preview of %1
preview x phpwebhosting en Preview %1 preview x filemanager en Preview %1
rename phpwebhosting en Rename rename filemanager en Rename
renamed x to x phpwebhosting en Renamed %1 to %2 renamed x to x filemanager en Renamed %1 to %2
replaced x phpwebhosting en Replaced %1 replaced x filemanager en Replaced %1
save all phpwebhosting en Save all save all filemanager en Save all
save x phpwebhosting en Save %1 save x filemanager en Save %1
saved x phpwebhosting en Saved %1 saved x filemanager en Saved %1
show phpwebhosting en Show show filemanager en Show
show .. phpwebhosting en Show .. show .. filemanager en Show ..
show .files phpwebhosting en Show .files show .files filemanager en Show .files
show command line (experimental. dangerous.) phpwebhosting en Show command line (EXPERIMENTAL. DANGEROUS.) show command line (experimental. dangerous.) filemanager en Show command line (EXPERIMENTAL. DANGEROUS.)
show help phpwebhosting en Show help show help filemanager en Show help
size phpwebhosting en Size size filemanager en Size
sort by: phpwebhosting en Sort by: sort by: filemanager en Sort by:
total files phpwebhosting en Total Files total files filemanager en Total Files
unknown mime-type defaults to text/plain when viewing phpwebhosting en Unknown MIME-type defaults to text/plain when viewing unknown mime-type defaults to text/plain when viewing filemanager en Unknown MIME-type defaults to text/plain when viewing
unused space phpwebhosting en Unused space unused space filemanager en Unused space
up phpwebhosting en Up up filemanager en Up
update phpwebhosting en Update update filemanager en Update
updated comment for x phpwebhosting en Updated comment for %1 updated comment for x filemanager en Updated comment for %1
upload fields phpwebhosting en upload fields upload fields filemanager en upload fields
upload files phpwebhosting en Upload files upload files filemanager en Upload files
used space phpwebhosting en Used Space used space filemanager en Used Space
users phpwebhosting en Users users filemanager en Users
version phpwebhosting en Version version filemanager en Version
view documents in new window phpwebhosting en View documents in new window view documents in new window filemanager en View documents in new window
view documents on server (if available) phpwebhosting en View documents on server (if available) view documents on server (if available) filemanager en View documents on server (if available)
who phpwebhosting en Who who filemanager en Who
x already exists as a file phpwebhosting en %1 already exists as a file x already exists as a file filemanager en %1 already exists as a file
you do not have access to x phpwebhosting en You do not have access to %1 you do not have access to x filemanager en You do not have access to %1

View File

@ -1,94 +1,94 @@
application phpwebhosting pl Aplikacja application filemanager pl Aplikacja
back to file manager phpwebhosting pl Powrót do managera plików back to file manager filemanager pl Powrót do managera plików
cannot create directory because it begins or ends in a space phpwebhosting pl cannot create directory because it begins or ends in a space filemanager pl
cannot replace x because it is a directory phpwebhosting pl cannot replace x because it is a directory filemanager pl
command sucessfully run phpwebhosting pl Pomy¶lnie wykonano polecenie command sucessfully run filemanager pl Pomy¶lnie wykonano polecenie
comment phpwebhosting pl Komentarz comment filemanager pl Komentarz
comments cannot contain "x" phpwebhosting pl Komentarz nie zawiera "%1" comments cannot contain "x" filemanager pl Komentarz nie zawiera "%1"
copied x to x phpwebhosting pl Skopiowano %1 do %2 copied x to x filemanager pl Skopiowano %1 do %2
copy to phpwebhosting pl Kopiuj do copy to filemanager pl Kopiuj do
copy to: phpwebhosting pl Kopiuj do copy to: filemanager pl Kopiuj do
could not copy x to x phpwebhosting pl Nie mo¿na skopiowaæ %1 do %2 could not copy x to x filemanager pl Nie mo¿na skopiowaæ %1 do %2
could not create directory x phpwebhosting pl Nie mo¿na utworzyæ katalogu %1 could not create directory x filemanager pl Nie mo¿na utworzyæ katalogu %1
could not create x phpwebhosting pl Nie mo¿na utworzyæ %1 could not create x filemanager pl Nie mo¿na utworzyæ %1
could not delete x phpwebhosting pl Nie mo¿na usun±æ %1 could not delete x filemanager pl Nie mo¿na usun±æ %1
could not move x to x phpwebhosting pl Nie mo¿na przenie¶æ %1 could not move x to x filemanager pl Nie mo¿na przenie¶æ %1
could not rename x to x phpwebhosting pl Nie mo¿na zmieniæ nazwy %1 could not rename x to x filemanager pl Nie mo¿na zmieniæ nazwy %1
could not save x phpwebhosting pl Nie mo¿na zapisaæ %1 could not save x filemanager pl Nie mo¿na zapisaæ %1
create file phpwebhosting pl Utwórz plik create file filemanager pl Utwórz plik
create folder phpwebhosting pl Utwórz katalog create folder filemanager pl Utwórz katalog
created phpwebhosting pl Utworzony created filemanager pl Utworzony
created by phpwebhosting pl Utworzony przez created by filemanager pl Utworzony przez
created directory x phpwebhosting pl Utworzono katalog %1 created directory x filemanager pl Utworzono katalog %1
created x phpwebhosting pl Utworzono %1 created x filemanager pl Utworzono %1
date phpwebhosting pl Data date filemanager pl Data
default number of upload fields to show phpwebhosting pl default number of upload fields to show filemanager pl
delete phpwebhosting pl Usuñ delete filemanager pl Usuñ
deleted x phpwebhosting pl Usuniêto 51 deleted x filemanager pl Usuniêto 51
directory phpwebhosting pl Katalog directory filemanager pl Katalog
directory names cannot contain "x" phpwebhosting pl Nazwa katalogu zawiera "%1" directory names cannot contain "x" filemanager pl Nazwa katalogu zawiera "%1"
directory x already exists phpwebhosting pl Katalog %1 ju¿ istnieje directory x already exists filemanager pl Katalog %1 ju¿ istnieje
directory x does not exist phpwebhosting pl Katalog %1 nie istnieje directory x does not exist filemanager pl Katalog %1 nie istnieje
display attributes phpwebhosting pl Wy¶wietlane atrybuty display attributes filemanager pl Wy¶wietlane atrybuty
download phpwebhosting pl Pobierz download filemanager pl Pobierz
edit phpwebhosting pl Edycja edit filemanager pl Edycja
edit comments phpwebhosting pl Edycja komentarza edit comments filemanager pl Edycja komentarza
error running command phpwebhosting pl B³±d wykonania polecenia error running command filemanager pl B³±d wykonania polecenia
execute phpwebhosting pl Wykonaj execute filemanager pl Wykonaj
failed to create directory phpwebhosting pl failed to create directory filemanager pl
file phpwebhosting pl Plik file filemanager pl Plik
file name phpwebhosting pl Nazwa pliku file name filemanager pl Nazwa pliku
file names cannot contain "x" phpwebhosting pl Plik nie zawiera "%1" file names cannot contain "x" filemanager pl Plik nie zawiera "%1"
file names cannot contain \\ or / phpwebhosting pl Nazwa pliku nie mo¿e zawierac \\ lub / file names cannot contain \\ or / filemanager pl Nazwa pliku nie mo¿e zawierac \\ lub /
file x already exists. please edit it or delete it first. phpwebhosting pl Plik %1 ju¿ istnieje. proszê edytowaæ go lub usun±æ file x already exists. please edit it or delete it first. filemanager pl Plik %1 ju¿ istnieje. proszê edytowaæ go lub usun±æ
file x could not be created. phpwebhosting pl Plik %1 nie mo¿e byæ utworzony file x could not be created. filemanager pl Plik %1 nie mo¿e byæ utworzony
filename phpwebhosting pl Nazwa pliku filename filemanager pl Nazwa pliku
files phpwebhosting pl Plików files filemanager pl Plików
folder phpwebhosting pl Katalog folder filemanager pl Katalog
go to phpwebhosting pl Id¼ do go to filemanager pl Id¼ do
go to x phpwebhosting pl Id¼ do %1 go to x filemanager pl Id¼ do %1
go to your home directory phpwebhosting pl go to your home directory filemanager pl
go to: phpwebhosting pl Id¼ do go to: filemanager pl Id¼ do
home phpwebhosting pl home filemanager pl
locked phpwebhosting pl locked filemanager pl
mime type phpwebhosting pl Typ mime mime type filemanager pl Typ mime
modified phpwebhosting pl Zmodyfikowany modified filemanager pl Zmodyfikowany
modified by phpwebhosting pl Zmodyfikowany przez modified by filemanager pl Zmodyfikowany przez
move to phpwebhosting pl Przenie¶ do move to filemanager pl Przenie¶ do
move to: phpwebhosting pl Przenie¶ do move to: filemanager pl Przenie¶ do
moved x to x phpwebhosting pl Przeniesiono %1 do %2 moved x to x filemanager pl Przeniesiono %1 do %2
no version history for this file/directory phpwebhosting pl no version history for this file/directory filemanager pl
operation phpwebhosting pl operation filemanager pl
owner phpwebhosting pl W³a¶ciciel owner filemanager pl W³a¶ciciel
phpwebhosting preferences phpwebhosting pl Preferencje phpWebHosting filemanager preferences filemanager pl Preferencje filemanager
preview of x phpwebhosting pl preview of x filemanager pl
preview x phpwebhosting pl preview x filemanager pl
rename phpwebhosting pl Zmiana nazwy rename filemanager pl Zmiana nazwy
renamed x to x phpwebhosting pl Zmieniono nazwê %1 na %2 renamed x to x filemanager pl Zmieniono nazwê %1 na %2
replaced x phpwebhosting pl Zastapiono %1 replaced x filemanager pl Zastapiono %1
save all phpwebhosting pl Zapisz wszystko save all filemanager pl Zapisz wszystko
save x phpwebhosting pl Zapisz %1 save x filemanager pl Zapisz %1
saved x phpwebhosting pl Zapisano %1 saved x filemanager pl Zapisano %1
show phpwebhosting pl Wy¶wietl show filemanager pl Wy¶wietl
show .. phpwebhosting pl Wy¶wietlaj .. show .. filemanager pl Wy¶wietlaj ..
show .files phpwebhosting pl Wy¶wietlaj .pliki show .files filemanager pl Wy¶wietlaj .pliki
show command line (experimental. dangerous.) phpwebhosting pl show command line (experimental. dangerous.) filemanager pl
show help phpwebhosting pl Wy¶wietlaj pomoc show help filemanager pl Wy¶wietlaj pomoc
size phpwebhosting pl Wielko¶æ size filemanager pl Wielko¶æ
sort by: phpwebhosting pl Sortuj wg sort by: filemanager pl Sortuj wg
total files phpwebhosting pl Wszystkich plików total files filemanager pl Wszystkich plików
unknown mime-type defaults to text/plain when viewing phpwebhosting pl unknown mime-type defaults to text/plain when viewing filemanager pl
unused space phpwebhosting pl Wolne miejsce unused space filemanager pl Wolne miejsce
up phpwebhosting pl W górê up filemanager pl W górê
update phpwebhosting pl Aktualizuj update filemanager pl Aktualizuj
updated comment for x phpwebhosting pl Zaktualizowano komentarz do 51 updated comment for x filemanager pl Zaktualizowano komentarz do 51
upload fields phpwebhosting pl wczytywanych plików upload fields filemanager pl wczytywanych plików
upload files phpwebhosting pl Wczytaj pliki upload files filemanager pl Wczytaj pliki
used space phpwebhosting pl Wykorzystane miejsce used space filemanager pl Wykorzystane miejsce
users phpwebhosting pl U¿ytkownicy users filemanager pl U¿ytkownicy
version phpwebhosting pl Wersja version filemanager pl Wersja
view documents in new window phpwebhosting pl Wy¶wietlaj dokumenty w nowym oknie view documents in new window filemanager pl Wy¶wietlaj dokumenty w nowym oknie
view documents on server (if available) phpwebhosting pl Poka¿ dokumenty na serwerze (je¶li s± dostêpne) view documents on server (if available) filemanager pl Poka¿ dokumenty na serwerze (je¶li s± dostêpne)
who phpwebhosting pl Kto who filemanager pl Kto
x already exists as a file phpwebhosting pl %1 ju¿ istnieje jako plik x already exists as a file filemanager pl %1 ju¿ istnieje jako plik
you do not have access to x phpwebhosting pl Nie masz praw do %1 you do not have access to x filemanager pl Nie masz praw do %1

View File

@ -1,94 +1,94 @@
application phpwebhosting pt Aplicação application filemanager pt Aplicação
back to file manager phpwebhosting pt Voltar ao Gerenciador de Arquivos back to file manager filemanager pt Voltar ao Gerenciador de Arquivos
cannot create directory because it begins or ends in a space phpwebhosting pt Não é possível criar a pasta porque seu nome inicia ou termina em espaço em branco 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 x because it is a directory phpwebhosting pt Não é possível subtituir %1 porque é uma pasta cannot replace x because it is a directory filemanager pt Não é possível subtituir %1 porque é uma pasta
command sucessfully run phpwebhosting pt Comando executado com sucesso command sucessfully run filemanager pt Comando executado com sucesso
comment phpwebhosting pt Comentário comment filemanager pt Comentário
comments cannot contain "x" phpwebhosting pt Comentários não podem conter "%1" comments cannot contain "x" filemanager pt Comentários não podem conter "%1"
copied x to x phpwebhosting pt Copiado %1 para %2 copied x to x filemanager pt Copiado %1 para %2
copy to phpwebhosting pt Copiar Para copy to filemanager pt Copiar Para
copy to: phpwebhosting pt Copiar para: copy to: filemanager pt Copiar para:
could not copy x to x phpwebhosting pt Não foi possível copiar %1 para %2 could not copy x to x filemanager pt Não foi possível copiar %1 para %2
could not create directory x phpwebhosting pt Não foi possível criar a pasta %1 could not create directory x filemanager pt Não foi possível criar a pasta %1
could not create x phpwebhosting pt Não foi possível criar %1 could not create x filemanager pt Não foi possível criar %1
could not delete x phpwebhosting pt Não foi possível remover %1 could not delete x filemanager pt Não foi possível remover %1
could not move x to x phpwebhosting pt Não foi possível mover %1 para %2 could not move x to x filemanager pt Não foi possível mover %1 para %2
could not rename x to x phpwebhosting pt Não foi possível renomear %1 para %2 could not rename x to x filemanager pt Não foi possível renomear %1 para %2
could not save x phpwebhosting pt Não foi possível salvar %1 could not save x filemanager pt Não foi possível salvar %1
create file phpwebhosting pt Criar Arquivo create file filemanager pt Criar Arquivo
create folder phpwebhosting pt Criar Pasta create folder filemanager pt Criar Pasta
created phpwebhosting pt Criado created filemanager pt Criado
created by phpwebhosting pt Criado por created by filemanager pt Criado por
created directory x phpwebhosting pt Criada pasta %1 created directory x filemanager pt Criada pasta %1
created x phpwebhosting pt Criado %1 created x filemanager pt Criado %1
date phpwebhosting pt Data date filemanager pt Data
default number of upload fields to show phpwebhosting pt Padrão para o número de campos de envio de arquivos a exibir default number of upload fields to show filemanager pt Padrão para o número de campos de envio de arquivos a exibir
delete phpwebhosting pt Remover delete filemanager pt Remover
deleted x phpwebhosting pt Removido %1 deleted x filemanager pt Removido %1
directory phpwebhosting pt Pasta directory filemanager pt Pasta
directory names cannot contain "x" phpwebhosting pt Nomes de pastas não podem conter "%1" directory names cannot contain "x" filemanager pt Nomes de pastas não podem conter "%1"
directory x already exists phpwebhosting pt Pasta %1 já existe directory x already exists filemanager pt Pasta %1 já existe
directory x does not exist phpwebhosting pt Pasta %1 não existe directory x does not exist filemanager pt Pasta %1 não existe
display attributes phpwebhosting pt Exibir atributos display attributes filemanager pt Exibir atributos
download phpwebhosting pt Download download filemanager pt Download
edit phpwebhosting pt Editar edit filemanager pt Editar
edit comments phpwebhosting pt Editar Comentários edit comments filemanager pt Editar Comentários
error running command phpwebhosting pt Erro executando comando error running command filemanager pt Erro executando comando
execute phpwebhosting pt Executar execute filemanager pt Executar
failed to create directory phpwebhosting pt falhou ao criar pasta failed to create directory filemanager pt falhou ao criar pasta
file phpwebhosting pt Arquivo file filemanager pt Arquivo
file name phpwebhosting pt Nome do Arquivo file name filemanager pt Nome do Arquivo
file names cannot contain "x" phpwebhosting pt Nomes de arquivos não podem conter "%1" file names cannot contain "x" filemanager pt Nomes de arquivos não podem conter "%1"
file names cannot contain \\ or / phpwebhosting pt Nomes de arquivos não podem conter \\ ou / file names cannot contain \\ or / filemanager pt Nomes de arquivos não podem conter \\ ou /
file x already exists. please edit it or delete it first. phpwebhosting pt Arquivo %1 já existe. Por favor edite-o ou remova-o antes. file x already exists. please edit it or delete it first. filemanager pt Arquivo %1 já existe. Por favor edite-o ou remova-o antes.
file x could not be created. phpwebhosting pt Arquivo %1 não pôde ser criado. file x could not be created. filemanager pt Arquivo %1 não pôde ser criado.
files phpwebhosting pt Arquivos files filemanager pt Arquivos
folder phpwebhosting pt Pasta folder filemanager pt Pasta
go to phpwebhosting pt Ir Para go to filemanager pt Ir Para
go to x phpwebhosting pt Ir para %1 go to x filemanager pt Ir para %1
go to your home directory phpwebhosting pt Ir para sua pasta Home go to your home directory filemanager pt Ir para sua pasta Home
go to: phpwebhosting pt Ir para: go to: filemanager pt Ir para:
home phpwebhosting pt Home home filemanager pt Home
locked phpwebhosting pt Travado locked filemanager pt Travado
mime type phpwebhosting pt Tipo MIME mime type filemanager pt Tipo MIME
modified phpwebhosting pt Modificado modified filemanager pt Modificado
modified by phpwebhosting pt Modificado por modified by filemanager pt Modificado por
move to phpwebhosting pt Mover Para move to filemanager pt Mover Para
move to: phpwebhosting pt Mover para: move to: filemanager pt Mover para:
moved x to x phpwebhosting pt Movido %1 para %2 moved x to x filemanager pt Movido %1 para %2
no version history for this file/directory phpwebhosting pt Sem histórico de versão para este arquivo/pasta no version history for this file/directory filemanager pt Sem histórico de versão para este arquivo/pasta
operation phpwebhosting pt Operação operation filemanager pt Operação
owner phpwebhosting pt Dono owner filemanager pt Dono
phpwebhosting preferences phpwebhosting pt Preferências para Gerenciador de Arquivos filemanager preferences filemanager pt Preferências para Gerenciador de Arquivos
preview of x phpwebhosting pt Visualizar %1 preview of x filemanager pt Visualizar %1
preview x phpwebhosting pt Visualizar %1 preview x filemanager pt Visualizar %1
rename phpwebhosting pt Renomear rename filemanager pt Renomear
renamed x to x phpwebhosting pt Renomeado %1 para %2 renamed x to x filemanager pt Renomeado %1 para %2
replaced x phpwebhosting pt Substituído %1 replaced x filemanager pt Substituído %1
save all phpwebhosting pt Salvar tudo save all filemanager pt Salvar tudo
save x phpwebhosting pt Salvar %1 save x filemanager pt Salvar %1
saved x phpwebhosting pt Salvo %1 saved x filemanager pt Salvo %1
show phpwebhosting pt Exibir show filemanager pt Exibir
show .. phpwebhosting pt Exibir .. show .. filemanager pt Exibir ..
show .files phpwebhosting pt Exibir arquivos cujos nomes iniciam por um ponto show .files filemanager pt Exibir arquivos cujos nomes iniciam por um ponto
show command line (experimental. dangerous.) phpwebhosting pt Exibir linha de comando (EXPERIMENTAL. PERIGOSO.) show command line (experimental. dangerous.) filemanager pt Exibir linha de comando (EXPERIMENTAL. PERIGOSO.)
show help phpwebhosting pt Exibir ajuda show help filemanager pt Exibir ajuda
size phpwebhosting pt Tamanho size filemanager pt Tamanho
sort by: phpwebhosting pt Ordenar por: sort by: filemanager pt Ordenar por:
total files phpwebhosting pt Total de Arquivos total files filemanager pt Total de Arquivos
unknown mime-type defaults to text/plain when viewing phpwebhosting pt Tipos MIME desconhecidos são visualizados como text/plain por padrão 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 phpwebhosting pt Espaço Não Usado unused space filemanager pt Espaço Não Usado
unused space: phpwebhosting pt Espaço Não Usado: unused space: filemanager pt Espaço Não Usado:
up phpwebhosting pt Acima up filemanager pt Acima
update phpwebhosting pt Atualizar update filemanager pt Atualizar
updated comment for x phpwebhosting pt Comentário atualizado para %1 updated comment for x filemanager pt Comentário atualizado para %1
upload fields phpwebhosting pt campos de envio de arquivos upload fields filemanager pt campos de envio de arquivos
upload files phpwebhosting pt Enviar Arquivos upload files filemanager pt Enviar Arquivos
used space phpwebhosting pt Espaço Usado used space filemanager pt Espaço Usado
users phpwebhosting pt Usuários users filemanager pt Usuários
version phpwebhosting pt Versão version filemanager pt Versão
view documents in new window phpwebhosting pt Visualizar documentos em uma nova janela view documents in new window filemanager pt Visualizar documentos em uma nova janela
view documents on server (if available) phpwebhosting pt Visualizar documentos no servidor (se disponível) view documents on server (if available) filemanager pt Visualizar documentos no servidor (se disponível)
who phpwebhosting pt Quem who filemanager pt Quem
x already exists as a file phpwebhosting pt %1 já existe como um arquivo x already exists as a file filemanager pt %1 já existe como um arquivo
you do not have access to x phpwebhosting pt Você não tem acesso a %1 you do not have access to x filemanager pt Você não tem acesso a %1

View File

@ -1,6 +1,6 @@
<?php <?php
/**************************************************************************\ /**************************************************************************\
* phpGroupWare - PHP Webhosting * * phpGroupWare - Filemanager *
* http://www.phpgroupware.org * * http://www.phpgroupware.org *
* -------------------------------------------- * * -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it * * This program is free software; you can redistribute it and/or modify it *
@ -11,20 +11,20 @@
/* $Id$ */ /* $Id$ */
$setup_info['phpwebhosting']['name'] = 'phpwebhosting'; $setup_info['filemanager']['name'] = 'filemanager';
$setup_info['phpwebhosting']['title'] = 'PHPWebHosting'; $setup_info['filemanager']['title'] = 'Filemanager';
$setup_info['phpwebhosting']['version'] = '0.9.13.005'; $setup_info['filemanager']['version'] = '0.9.13.005';
$setup_info['phpwebhosting']['app_order'] = 10; $setup_info['filemanager']['app_order'] = 10;
$setup_info['phpwebhosting']['enable'] = 1; $setup_info['filemanager']['enable'] = 1;
/* The hooks this app includes, needed for hooks registration */ /* The hooks this app includes, needed for hooks registration */
$setup_info['phpwebhosting']['hooks'][] = 'add_def_pref'; $setup_info['filemanager']['hooks'][] = 'add_def_pref';
$setup_info['phpwebhosting']['hooks'][] = 'admin'; $setup_info['filemanager']['hooks'][] = 'admin';
$setup_info['phpwebhosting']['hooks'][] = 'deleteaccount'; $setup_info['filemanager']['hooks'][] = 'deleteaccount';
$setup_info['phpwebhosting']['hooks'][] = 'preferences'; $setup_info['filemanager']['hooks'][] = 'preferences';
/* Dependencies for this app to work */ /* Dependencies for this app to work */
$setup_info['phpwebhosting']['depends'][] = array( $setup_info['filemanager']['depends'][] = array(
'appname' => 'phpgwapi', 'appname' => 'phpgwapi',
'versions' => array('0.9.13', '0.9.14','0.9.15') 'versions' => array('0.9.13', '0.9.14','0.9.15')
); );

View File

@ -15,29 +15,4 @@
/* $Id$ */ /* $Id$ */
/* table array for phpwebhosting - MOVED TO API
$phpgw_baseline = array(
'phpgw_vfs' => array(
'fd' => array(
'file_id' => array('type' => 'auto','nullable' => False),
'owner_id' => array('type' => 'int', 'precision' => 4,'nullable' => False),
'createdby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
'modifiedby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
'created' => array('type' => 'date','nullable' => False,'default' => '1970-01-01'),
'modified' => array('type' => 'date','nullable' => True),
'size' => array('type' => 'int', 'precision' => 4,'nullable' => True),
'mime_type' => array('type' => 'varchar', 'precision' => 150,'nullable' => True),
'deleteable' => array('type' => 'char', 'precision' => 1,'nullable' => True,'default' => 'Y'),
'comment' => array('type' => 'text','nullable' => True),
'app' => array('type' => 'varchar', 'precision' => 25,'nullable' => True),
'directory' => array('type' => 'text','nullable' => True),
'name' => array('type' => 'text','nullable' => False)
),
'pk' => array('file_id'),
'fk' => array(),
'ix' => array(),
'uc' => array()
)
);
*/
?> ?>

View File

@ -15,32 +15,4 @@
/* $Id$ */ /* $Id$ */
/* table array for phpwebhosting - MOVED TO API
$phpgw_baseline = array(
'phpgw_vfs' => array(
'fd' => array(
'file_id' => array('type' => 'auto','nullable' => False),
'owner_id' => array('type' => 'int', 'precision' => 4,'nullable' => False),
'createdby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
'modifiedby_id' => array('type' => 'int', 'precision' => 4,'nullable' => True),
'created' => array('type' => 'date','nullable' => False,'default' => '1970-01-01'),
'modified' => array('type' => 'date','nullable' => True),
'size' => array('type' => 'int', 'precision' => 4,'nullable' => True),
'mime_type' => array('type' => 'varchar', 'precision' => 150,'nullable' => True),
'deleteable' => array('type' => 'char', 'precision' => 1,'nullable' => True,'default' => 'Y'),
'comment' => array('type' => 'text','nullable' => True),
'app' => array('type' => 'varchar', 'precision' => 25,'nullable' => True),
'directory' => array('type' => 'text','nullable' => True),
'name' => array('type' => 'text','nullable' => False),
'link_directory' => array('type' => 'text','nullable' => True),
'link_name' => array('type' => 'text','nullable' => True),
'version' => array('type' => 'varchar', 'precision' => 30,'nullable' => False,'default' => '0.0.0.0')
),
'pk' => array('file_id'),
'fk' => array(),
'ix' => array(),
'uc' => array()
)
);
*/
?> ?>

View File

@ -1,6 +1,6 @@
<?php <?php
/**************************************************************************\ /**************************************************************************\
* phpGroupWare - PHPWebHosting * * phpGroupWare - Filemanager *
* http://www.phpgroupware.org * * http://www.phpgroupware.org *
* -------------------------------------------- * * -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it * * This program is free software; you can redistribute it and/or modify it *
@ -13,48 +13,48 @@
/* MOVED TO API /* MOVED TO API
$test[] = '0.9.13.001'; $test[] = '0.9.13.001';
function phpwebhosting_upgrade0_9_13_001() function filemanager_upgrade0_9_13_001()
{ {
global $setup_info, $phpgw_setup; global $setup_info, $phpgw_setup;
$phpgw_setup->oProc->AddColumn('phpgw_vfs', 'link_directory', array ('type' => 'text')); $phpgw_setup->oProc->AddColumn('phpgw_vfs', 'link_directory', array ('type' => 'text'));
$phpgw_setup->oProc->AddColumn('phpgw_vfs', 'link_name', array ('type' => 'text')); $phpgw_setup->oProc->AddColumn('phpgw_vfs', 'link_name', array ('type' => 'text'));
$setup_info['phpwebhosting']['currentver'] = '0.9.13.002'; $setup_info['filemanager']['currentver'] = '0.9.13.002';
return $setup_info['phpwebhosting']['currentver']; return $setup_info['filemanager']['currentver'];
} }
$test[] = '0.9.13.002'; $test[] = '0.9.13.002';
function phpwebhosting_upgrade0_9_13_002() function filemanager_upgrade0_9_13_002()
{ {
global $setup_info; global $setup_info;
$setup_info['phpwebhosting']['currentver'] = '0.9.13.003'; $setup_info['filemanager']['currentver'] = '0.9.13.003';
return $setup_info['phpwebhosting']['currentver']; return $setup_info['filemanager']['currentver'];
} }
$test[] = '0.9.13.003'; $test[] = '0.9.13.003';
function phpwebhosting_upgrade0_9_13_003() function filemanager_upgrade0_9_13_003()
{ {
global $setup_info; global $setup_info;
$setup_info['phpwebhosting']['currentver'] = '0.9.13.004'; $setup_info['filemanager']['currentver'] = '0.9.13.004';
return $setup_info['phpwebhosting']['currentver']; return $setup_info['filemanager']['currentver'];
} }
$test[] = '0.9.13.004'; $test[] = '0.9.13.004';
function phpwebhosting_upgrade0_9_13_004() function filemanager_upgrade0_9_13_004()
{ {
global $setup_info, $phpgw_setup; global $setup_info, $phpgw_setup;
$phpgw_setup->oProc->AddColumn('phpgw_vfs', 'version', array ('type' => 'varchar', 'precision' => 30,'nullable' => False, 'default' => '0.0.0.0')); $phpgw_setup->oProc->AddColumn('phpgw_vfs', 'version', array ('type' => 'varchar', 'precision' => 30,'nullable' => False, 'default' => '0.0.0.0'));
$setup_info['phpwebhosting']['currentver'] = '0.9.13.005'; $setup_info['filemanager']['currentver'] = '0.9.13.005';
return $setup_info['phpwebhosting']['currentver']; return $setup_info['filemanager']['currentver'];
} }
*/ */
?> ?>

View File

@ -1,11 +1,11 @@
<?php <?php
$phpgw_info["flags"] = array("currentapp" => "phpwebhosting", $phpgw_info['flags'] = array('currentapp' => 'filemanager',
"noheader" => False, 'noheader' => False,
"noappheader" => False, 'noappheader' => False,
"enable_vfs_class" => True); 'enable_vfs_class' => True);
include("../header.inc.php"); include('../header.inc.php');
/* /*
General format for output is: General format for output is:
@ -272,7 +272,7 @@ while (list ($i, $o) = each ($io))
$phpgw->vfs->cd (); $phpgw->vfs->cd ();
html_break (2); 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_text_bold ("The less output, the better. Please file errors as a " . html_link ('https://savannah.gnu.org/bugs/?group=phpgroupware', '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 (); html_page_close ();