mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-13 13:01:27 +01:00
Fix: rename inc to includes
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
* \file htdocs/includes/modules/modMyModule.class.php
|
* \file htdocs/includes/modules/modMyModule.class.php
|
||||||
* \ingroup mymodule
|
* \ingroup mymodule
|
||||||
* \brief Description and activation file for module MyModule
|
* \brief Description and activation file for module MyModule
|
||||||
* \version $Id: modMyModule.class.php,v 1.66 2011/07/31 22:21:58 eldy Exp $
|
* \version $Id: modMyModule.class.php,v 1.67 2011/08/01 13:26:21 hregis Exp $
|
||||||
*/
|
*/
|
||||||
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ class modMyModule extends DolibarrModules
|
|||||||
// If file is in module/img directory under name object_pictovalue.png, use this->picto='pictovalue@module'
|
// If file is in module/img directory under name object_pictovalue.png, use this->picto='pictovalue@module'
|
||||||
$this->picto='generic';
|
$this->picto='generic';
|
||||||
|
|
||||||
// Defined if the directory /mymodule/inc/triggers/ contains triggers or not
|
// Defined if the directory /mymodule/includes/triggers/ contains triggers or not
|
||||||
$this->triggers = 0;
|
$this->triggers = 0;
|
||||||
|
|
||||||
// Data directories to create when module is enabled.
|
// Data directories to create when module is enabled.
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
* \file htdocs/admin/boxes.php
|
* \file htdocs/admin/boxes.php
|
||||||
* \brief Page to setup boxes
|
* \brief Page to setup boxes
|
||||||
* \version $Id: boxes.php,v 1.72 2011/07/31 22:23:22 eldy Exp $
|
* \version $Id: boxes.php,v 1.73 2011/08/01 13:26:22 hregis Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
@@ -278,7 +278,7 @@ if ($resql)
|
|||||||
{
|
{
|
||||||
$boxname = $regs[1];
|
$boxname = $regs[1];
|
||||||
$module = $regs[2];
|
$module = $regs[2];
|
||||||
$sourcefile = "/".$module."/inc/boxes/".$boxname.".php";
|
$sourcefile = "/".$module."/includes/boxes/".$boxname.".php";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -394,7 +394,7 @@ if ($resql)
|
|||||||
{
|
{
|
||||||
$boxname = $regs[1];
|
$boxname = $regs[1];
|
||||||
$module = $regs[2];
|
$module = $regs[2];
|
||||||
$sourcefile = "/".$module."/inc/boxes/".$boxname.".php";
|
$sourcefile = "/".$module."/includes/boxes/".$boxname.".php";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -470,5 +470,5 @@ print '</table>';
|
|||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter('$Date: 2011/07/31 22:23:22 $ - $Revision: 1.72 $');
|
llxFooter('$Date: 2011/08/01 13:26:22 $ - $Revision: 1.73 $');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
* \brief File of class to manage widget boxes
|
* \brief File of class to manage widget boxes
|
||||||
* \author Rodolphe Qiedeville
|
* \author Rodolphe Qiedeville
|
||||||
* \author Laurent Destailleur
|
* \author Laurent Destailleur
|
||||||
* \version $Id: boxes.php,v 1.54 2011/07/31 23:19:04 eldy Exp $
|
* \version $Id: boxes.php,v 1.55 2011/08/01 13:26:21 hregis Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -220,7 +220,7 @@ class InfoBox
|
|||||||
{
|
{
|
||||||
$boxname = $regs[1];
|
$boxname = $regs[1];
|
||||||
$module = $regs[2];
|
$module = $regs[2];
|
||||||
$sourcefile = dol_buildpath("/".$module."/inc/boxes/".$boxname.".php");
|
$sourcefile = dol_buildpath("/".$module."/includes/boxes/".$boxname.".php");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -281,7 +281,7 @@ class InfoBox
|
|||||||
{
|
{
|
||||||
$boxname = $regs[1];
|
$boxname = $regs[1];
|
||||||
$module = $regs[2];
|
$module = $regs[2];
|
||||||
$sourcefile = "/".$module."/inc/boxes/".$boxname.".php";
|
$sourcefile = "/".$module."/includes/boxes/".$boxname.".php";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
* \ingroup core
|
* \ingroup core
|
||||||
* \brief File of class to manage storage of current setup
|
* \brief File of class to manage storage of current setup
|
||||||
* Config is stored into file conf.php
|
* Config is stored into file conf.php
|
||||||
* \version $Id: conf.class.php,v 1.63 2011/07/31 23:45:13 eldy Exp $
|
* \version $Id: conf.class.php,v 1.64 2011/08/01 13:26:22 hregis Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -144,13 +144,13 @@ class Conf
|
|||||||
elseif (preg_match('/^MAIN_MODULE_([A-Z_]+)_TRIGGERS$/i',$key,$reg))
|
elseif (preg_match('/^MAIN_MODULE_([A-Z_]+)_TRIGGERS$/i',$key,$reg))
|
||||||
{
|
{
|
||||||
$modulename = strtolower($reg[1]);
|
$modulename = strtolower($reg[1]);
|
||||||
$this->triggers_modules[] = '/'.$modulename.'/inc/triggers/'; // TODO Replace inc by includes to have same path than standard
|
$this->triggers_modules[] = '/'.$modulename.'/includes/triggers/';
|
||||||
}
|
}
|
||||||
// If this is constant for login method activated by a module
|
// If this is constant for login method activated by a module
|
||||||
elseif (preg_match('/^MAIN_MODULE_([A-Z_]+)_LOGIN_METHOD$/i',$key,$reg))
|
elseif (preg_match('/^MAIN_MODULE_([A-Z_]+)_LOGIN_METHOD$/i',$key,$reg))
|
||||||
{
|
{
|
||||||
$modulename = strtolower($reg[1]);
|
$modulename = strtolower($reg[1]);
|
||||||
$this->login_method_modules[] = DOL_DOCUMENT_ROOT.'/'.$modulename.'/inc/login/'; // TODO Replace inc by includes to have same path than standard
|
$this->login_method_modules[] = DOL_DOCUMENT_ROOT.'/'.$modulename.'/includes/login/';
|
||||||
}
|
}
|
||||||
// If this is constant for hook activated by a module. Value is list of hooked tabs separated with :
|
// If this is constant for hook activated by a module. Value is list of hooked tabs separated with :
|
||||||
elseif (preg_match('/^MAIN_MODULE_([A-Z_]+)_HOOKS$/i',$key,$reg))
|
elseif (preg_match('/^MAIN_MODULE_([A-Z_]+)_HOOKS$/i',$key,$reg))
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
/**
|
/**
|
||||||
* \defgroup workflow Module workflow
|
* \defgroup workflow Module workflow
|
||||||
* \brief Workflow management
|
* \brief Workflow management
|
||||||
* \version $Id: modWorkflow.class.php,v 1.10 2011/07/31 23:28:10 eldy Exp $
|
* \version $Id: modWorkflow.class.php,v 1.11 2011/08/01 13:26:22 hregis Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -68,7 +68,7 @@ class modWorkflow extends DolibarrModules
|
|||||||
// If file is in module/img directory under name object_pictovalue.png, use this->picto='pictovalue@module'
|
// If file is in module/img directory under name object_pictovalue.png, use this->picto='pictovalue@module'
|
||||||
$this->picto='technic';
|
$this->picto='technic';
|
||||||
|
|
||||||
// Defined if the directory /mymodule/inc/triggers/ contains triggers or not
|
// Defined if the directory /mymodule/includes/triggers/ contains triggers or not
|
||||||
$this->triggers = 1;
|
$this->triggers = 1;
|
||||||
|
|
||||||
// Data directories to create when module is enabled
|
// Data directories to create when module is enabled
|
||||||
|
|||||||
@@ -109,8 +109,8 @@ PHPServerOffsetWithGreenwich=Offset amb Greenwich (segons)
|
|||||||
ClientOffsetWithGreenwich=Offset client/navegador amb Greenwich (segons)
|
ClientOffsetWithGreenwich=Offset client/navegador amb Greenwich (segons)
|
||||||
DaylingSavingTime=Horari d'estiu (usuari)
|
DaylingSavingTime=Horari d'estiu (usuari)
|
||||||
CurrentHour=Hora PHP (servidor)
|
CurrentHour=Hora PHP (servidor)
|
||||||
CompanyTZ=Zona Horària empresa (casa mare)
|
CompanyTZ=Zona Horària empresa (seu central)
|
||||||
CompanyHour=Hora empresa (casa mare)
|
CompanyHour=Hora empresa (seu central)
|
||||||
CurrentSessionTimeOut=Time out sessió actual
|
CurrentSessionTimeOut=Time out sessió actual
|
||||||
OSEnv=Entorn SO
|
OSEnv=Entorn SO
|
||||||
Box=Panell
|
Box=Panell
|
||||||
@@ -1246,9 +1246,9 @@ ClickToDialDesc=Aquest mòdul permet afegir una icona després del número de te
|
|||||||
CashDesk=TPV
|
CashDesk=TPV
|
||||||
CashDeskSetup=Mòdul de configuració Terminal Punt de Venda
|
CashDeskSetup=Mòdul de configuració Terminal Punt de Venda
|
||||||
CashDeskThirdPartyForSell=Tercer genéric a utilitzar per a les vendes
|
CashDeskThirdPartyForSell=Tercer genéric a utilitzar per a les vendes
|
||||||
CashDeskBankAccountForSell=Compte a utilitzar per als cobraments en efectiu (caixa)
|
CashDeskBankAccountForSell=Compte per defecte a utilitzar per als cobraments en efectiu (caixa)
|
||||||
CashDeskBankAccountForCheque=Compte a utilitzar per als cobraments amb xecs
|
CashDeskBankAccountForCheque=Compte per defecte a utilitzar per als cobraments amb xecs
|
||||||
CashDeskBankAccountForCB=Compte a utilitzar per als cobraments amb targeta de crèdit
|
CashDeskBankAccountForCB=Compte per defecte a utilitzar per als cobraments amb targeta de crèdit
|
||||||
CashDeskIdWareHouse=Magatzem a ultilitzar per a les vendes
|
CashDeskIdWareHouse=Magatzem a ultilitzar per a les vendes
|
||||||
##### Bookmark #####
|
##### Bookmark #####
|
||||||
BookmarkSetup=Configuració del mòdul Bookmark
|
BookmarkSetup=Configuració del mòdul Bookmark
|
||||||
|
|||||||
@@ -109,8 +109,8 @@ PHPServerOffsetWithGreenwich=Offset servidor con Greenwich (segundos)
|
|||||||
ClientOffsetWithGreenwich=Offset cliente/navegador con Greenwich (segundos)
|
ClientOffsetWithGreenwich=Offset cliente/navegador con Greenwich (segundos)
|
||||||
DaylingSavingTime=Horario de verano (usuario)
|
DaylingSavingTime=Horario de verano (usuario)
|
||||||
CurrentHour=Hora PHP (servidor)
|
CurrentHour=Hora PHP (servidor)
|
||||||
CompanyTZ=Zona Horaria empresa (casa madre)
|
CompanyTZ=Zona Horaria empresa (sede central)
|
||||||
CompanyHour=Hora empresa (casa madre)
|
CompanyHour=Hora empresa (sede central)
|
||||||
CurrentSessionTimeOut=Time out sesión actual
|
CurrentSessionTimeOut=Time out sesión actual
|
||||||
OSEnv=Entorno SO
|
OSEnv=Entorno SO
|
||||||
Box=Panel
|
Box=Panel
|
||||||
@@ -1246,9 +1246,9 @@ ClickToDialDesc=Este módulo permite agregar un icono después del número de te
|
|||||||
CashDesk=TPV
|
CashDesk=TPV
|
||||||
CashDeskSetup=Configuración del módulo Terminal Punto de Venta
|
CashDeskSetup=Configuración del módulo Terminal Punto de Venta
|
||||||
CashDeskThirdPartyForSell=Tercero genérico a usar para la venta
|
CashDeskThirdPartyForSell=Tercero genérico a usar para la venta
|
||||||
CashDeskBankAccountForSell=Cuenta a utilizar para los cobros en efectivo (caja)
|
CashDeskBankAccountForSell=Cuenta por defecto a utilizar para los cobros en efectivo (caja)
|
||||||
CashDeskBankAccountForCheque=Cuenta a utilizar para los cobros con cheques
|
CashDeskBankAccountForCheque=Cuenta por defecto a utilizar para los cobros con cheques
|
||||||
CashDeskBankAccountForCB=Cuenta a utilizar para los cobros con tarjeta de crédito
|
CashDeskBankAccountForCB=Cuenta por defecto a utilizar para los cobros con tarjeta de crédito
|
||||||
CashDeskIdWareHouse=Almacén a utilizar para las ventas
|
CashDeskIdWareHouse=Almacén a utilizar para las ventas
|
||||||
##### Bookmark #####
|
##### Bookmark #####
|
||||||
BookmarkSetup=Configuración del módulo Marcadores
|
BookmarkSetup=Configuración del módulo Marcadores
|
||||||
|
|||||||
Reference in New Issue
Block a user