upgrade to new directory tree

some spelling changes
This commit is contained in:
Philippe Grand 2010-04-22 10:33:34 +00:00
parent d7843e0e60
commit 5d38b90d04
6 changed files with 31 additions and 27 deletions

View File

@ -23,10 +23,11 @@
* \version $Id$
*/
require("../main.inc.php");
require("../../main.inc.php");
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
$langs->load("admin");
$langs->load("@ftp");
// Security check
if (!$user->admin) accessforbidden();

View File

@ -31,7 +31,7 @@ require_once(DOL_DOCUMENT_ROOT."/lib/files.lib.php");
require_once(DOL_DOCUMENT_ROOT."/lib/treeview.lib.php");
// Load traductions files
$langs->load("ftp");
$langs->load("@ftp");
$langs->load("companies");
$langs->load("other");

View File

@ -1,12 +1,12 @@
# Dolibarr language file - en_US - ftp
CHARSET=UTF-8
FTPClientSetup=FTP Client module setup
NewFTPClient=New FTP connection setup
FTPArea=FTP Area
FTPAreaDesc=This screen show you content of a FTP server view
SetupOfFTPClientModuleNotComplete=Setup of FTP client module seems to be not complete
FTPFeatureNotSupportedByYourPHP=Your PHP does not support FTP functions
FailedToConnectToFTPServer=Failed to connect to FTP server (server %s, port %s)
FailedToConnectToFTPServerWithCredentials=Failed to login to FTP server with defined login/password
FTPFailedToRemoveFile=Failed to remove file <b>%s</b>.
# Dolibarr language file - en_US - ftp
CHARSET=UTF-8
FTPClientSetup=FTP Client module setup
NewFTPClient=New FTP connection setup
FTPArea=FTP Area
FTPAreaDesc=This screen show you content of a FTP server view
SetupOfFTPClientModuleNotComplete=Setup of FTP client module seems to be not complete
FTPFeatureNotSupportedByYourPHP=Your PHP does not support FTP functions
FailedToConnectToFTPServer=Failed to connect to FTP server (server %s, port %s)
FailedToConnectToFTPServerWithCredentials=Failed to login to FTP server with defined login/password
FTPFailedToRemoveFile=Failed to remove file <b>%s</b>.
FTPFailedToRemoveDir=Failed to remove directory <b>%s</b> (Check permissions and that directory is empty).

View File

@ -1,12 +1,12 @@
# Dolibarr language file - fr_FR - ftp
CHARSET=UTF-8
FTPClientSetup=Configuration du module FTP Client
NewFTPClient=Nouvelle connexion FTP cliente
FTPArea=Espace FTP
FTPAreaDesc=Cet écran vous présente une vue de serveur FTP
SetupOfFTPClientModuleNotComplete=La configuration du module FTP Client semble incomplète
FTPFeatureNotSupportedByYourPHP=Votre PHP ne supporte pas les fonctions FTP
FailedToConnectToFTPServer=Echec de connexion au serveur FTP (serveur: %s, port %s)
FailedToConnectToFTPServerWithCredentials=Echec de login avec le login/mot de passe FTP configuré
FTPFailedToRemoveFile=Echec suppression fichier <b>%s</b>.
FTPFailedToRemoveDir=Echec suppression répertoire <b>%s</b> (Vérifiez les permissions et que le répertoire est vide).
# Dolibarr language file - fr_FR - ftp
CHARSET=UTF-8
FTPClientSetup=Configuration du module FTP Client
NewFTPClient=Nouvelle configuration de connexion FTP
FTPArea=Espace FTP
FTPAreaDesc=Cet écran vous présente une vue de serveur FTP
SetupOfFTPClientModuleNotComplete=La configuration du module FTP Client semble incomplète
FTPFeatureNotSupportedByYourPHP=Votre PHP ne supporte pas les fonctions FTP
FailedToConnectToFTPServer=Echec de connexion au serveur FTP (serveur: %s, port %s)
FailedToConnectToFTPServerWithCredentials=Echec de login avec le login/mot de passe FTP configuré
FTPFailedToRemoveFile=Echec suppression fichier <b>%s</b>.
FTPFailedToRemoveDir=Echec suppression répertoire <b>%s</b> (Vérifiez les permissions et que le répertoire soit vide).

View File

@ -30,7 +30,7 @@ $user->getrights('ecm');
function llxHeader($head = '', $title='', $help_url='', $morehtml='')
{
global $conf,$langs,$user;
$langs->load("ftp");
$langs->load("@ftp");
top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss); // Show html headers
top_menu($head, $title, $target, $disablejs, $disablehead, $arrayofjs, $arrayofcss); // Show html headers

View File

@ -67,9 +67,12 @@ class modFTP extends DolibarrModules
// Data directories to create when module is enabled
$this->dirs = array("/ftp/temp");
// Langs file within the module
$this->langfiles = array("@ftp");
// Config pages. Put here list of php page names stored in admmin directory used to setup module
$this->config_page_url = array('ftpclient.php');
$this->config_page_url = array('ftpclient.php@ftp');
// Dependencies
$this->depends = array(); // List of modules id that must be enabled if this module is enabled