Skip to content
Snippets Groups Projects
Commit 4b3aba91 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

parents 2f19fd96 8d031900
No related branches found
No related tags found
No related merge requests found
...@@ -75,8 +75,13 @@ ...@@ -75,8 +75,13 @@
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma"> <rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
<rule <rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceBeforeEquals">
ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma"> <severity>0</severity>
</rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterEquals">
<severity>0</severity>
</rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
...@@ -84,7 +89,7 @@ ...@@ -84,7 +89,7 @@
<rule ref="Generic.Metrics.CyclomaticComplexity"> <rule ref="Generic.Metrics.CyclomaticComplexity">
<properties> <properties>
<property name="complexity" value="80" /> <property name="complexity" value="80" />
<property name="absoluteComplexity" value="100" /> <property name="absoluteComplexity" value="200" />
</properties> </properties>
</rule> </rule>
<rule ref="Generic.Metrics.NestingLevel"> <rule ref="Generic.Metrics.NestingLevel">
...@@ -103,6 +108,9 @@ ...@@ -103,6 +108,9 @@
<rule ref="Generic.NamingConventions.UpperCaseConstantName" /> <rule ref="Generic.NamingConventions.UpperCaseConstantName" />
<rule ref="Generic.PHP.DeprecatedFunctions" /> <rule ref="Generic.PHP.DeprecatedFunctions" />
<rule ref="Generic.PHP.DeprecatedFunctions.Deprecated">
<severity>0</severity>
</rule>
<rule ref="Generic.PHP.DisallowShortOpenTag" /> <rule ref="Generic.PHP.DisallowShortOpenTag" />
...@@ -116,6 +124,10 @@ ...@@ -116,6 +124,10 @@
<rule ref="Generic.Strings.UnnecessaryStringConcat" /> <rule ref="Generic.Strings.UnnecessaryStringConcat" />
<rule ref="Generic.Strings.UnnecessaryStringConcat.Found">
<severity>0</severity>
</rule>
<rule ref="Generic.VersionControl.SubversionProperties" /> <rule ref="Generic.VersionControl.SubversionProperties" />
<!-- Disallow usage of tab --> <!-- Disallow usage of tab -->
...@@ -194,11 +206,15 @@ ...@@ -194,11 +206,15 @@
<rule ref="PEAR.NamingConventions.ValidClassName.Invalid"> <rule ref="PEAR.NamingConventions.ValidClassName.Invalid">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
<rule ref="PEAR.NamingConventions.ValidClassName.StartWithCaptial"> <rule ref="PEAR.NamingConventions.ValidClassName.StartWithCaptial">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName" /> <rule ref="PEAR.NamingConventions.ValidFunctionName" />
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNameInvalid">
<severity>0</severity>
</rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCaptial"> <rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCaptial">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
...@@ -213,7 +229,7 @@ ...@@ -213,7 +229,7 @@
<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent" /> <rule ref="PEAR.WhiteSpace.ObjectOperatorIndent" />
<!-- <!-- Need to be commented to be disabled
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace"> <rule ref="PEAR.WhiteSpace.ScopeClosingBrace">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
...@@ -221,7 +237,6 @@ ...@@ -221,7 +237,6 @@
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace.Line"> <rule ref="PEAR.WhiteSpace.ScopeClosingBrace.Line">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
--> -->
<!-- Already found as a Generic rule --> <!-- Already found as a Generic rule -->
......
...@@ -263,7 +263,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie ...@@ -263,7 +263,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
{ {
var code = $("#selectpaiementcode option:selected").val(); var code = $("#selectpaiementcode option:selected").val();
if (code == \'CHQ\') if (code == \'CHQ\' || code == \'VIR\')
{ {
$(\'.fieldrequireddyn\').addClass(\'fieldrequired\'); $(\'.fieldrequireddyn\').addClass(\'fieldrequired\');
if ($(\'#fieldchqemetteur\').val() == \'\') if ($(\'#fieldchqemetteur\').val() == \'\')
......
...@@ -64,6 +64,12 @@ class modMailmanSpip extends DolibarrModules ...@@ -64,6 +64,12 @@ class modMailmanSpip extends DolibarrModules
// Config pages // Config pages
$this->config_page_url = array('mailman.php@adherents'); $this->config_page_url = array('mailman.php@adherents');
// Constants
$this->const = array();
$this->const[1] = array("ADHERENT_MAILMAN_UNSUB_URL","chaine","http://lists.domain.com/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%MAILMAN_ADMINPW%&user=%EMAIL%","Url de désinscription aux listes mailman");
$this->const[2] = array("ADHERENT_MAILMAN_URL","chaine","http://lists.domain.com/cgi-bin/mailman/admin/%LISTE%/members?adminpw=%MAILMAN_ADMINPW%&send_welcome_msg_to_this_batch=1&subscribees=%EMAIL%","Url pour les inscriptions mailman");
$this->const[3] = array("ADHERENT_MAILMAN_LISTS","chaine","","Mailing-list to subscribe new members to");
// Boxes // Boxes
$this->boxes = array(); $this->boxes = array();
......
...@@ -52,6 +52,7 @@ BoxTitleLastActionsToDo=Los %s últimos eventos a realizar ...@@ -52,6 +52,7 @@ BoxTitleLastActionsToDo=Los %s últimos eventos a realizar
BoxTitleLastContracts=Los %s últimos contratos BoxTitleLastContracts=Los %s últimos contratos
BoxTitleLastModifiedDonations=Las %s últimas donaciones modificadas BoxTitleLastModifiedDonations=Las %s últimas donaciones modificadas
BoxTitleLastModifiedExpenses=Los %s últimos honorarios modificados BoxTitleLastModifiedExpenses=Los %s últimos honorarios modificados
BoxTitleLatestSupplierOrders=Las %s últimas órdenes de pedido de proveedores
FailedToRefreshDataInfoNotUpToDate=Error en el refresco del flujo RSS. Fecha del último refresco: %s FailedToRefreshDataInfoNotUpToDate=Error en el refresco del flujo RSS. Fecha del último refresco: %s
LastRefreshDate=Fecha última actualización LastRefreshDate=Fecha última actualización
NoRecordedBookmarks=No hay marcadores personales. NoRecordedBookmarks=No hay marcadores personales.
...@@ -70,3 +71,4 @@ NoRecordedProducts=Sin productos/servicios registrados ...@@ -70,3 +71,4 @@ NoRecordedProducts=Sin productos/servicios registrados
NoRecordedProspects=Sin clientes potenciales registrados NoRecordedProspects=Sin clientes potenciales registrados
NoContractedProducts=Sin productos/servicios contratados NoContractedProducts=Sin productos/servicios contratados
NoRecordedContracts=Sin contratos registrados NoRecordedContracts=Sin contratos registrados
NoSupplierOrder=Sin órdenes de pedido de proveedores
\ No newline at end of file
...@@ -13,7 +13,7 @@ ECMNbOfDocs=Nº de documentos ...@@ -13,7 +13,7 @@ ECMNbOfDocs=Nº de documentos
ECMNbOfDocsSmall=Nº Docs. ECMNbOfDocsSmall=Nº Docs.
ECMSection=Directorio ECMSection=Directorio
ECMSectionManual=Directorio manual ECMSectionManual=Directorio manual
ECMSectionAuto=Directorio automática ECMSectionAuto=Directorio automático
ECMSectionsManual=Árbol manual ECMSectionsManual=Árbol manual
ECMSectionsAuto=Árbol automático ECMSectionsAuto=Árbol automático
ECMSections=Directorios ECMSections=Directorios
......
...@@ -120,7 +120,7 @@ ExportDataset_member_1=Miembros y afiliaciones ...@@ -120,7 +120,7 @@ ExportDataset_member_1=Miembros y afiliaciones
ImportDataset_member_1=Miembros ImportDataset_member_1=Miembros
LastMembers=Los %s últimos miembros LastMembers=Los %s últimos miembros
LastMembersModified=Los %s últimos miembros modificados LastMembersModified=Los %s últimos miembros modificados
LastSubscriptionsModified=Lass %s últimas afiliaciones modificadas LastSubscriptionsModified=Las %s últimas afiliaciones modificadas
AttributeName=Nombre del atributo AttributeName=Nombre del atributo
FieldEdition=Edición del campo %s FieldEdition=Edición del campo %s
String=Cadena String=Cadena
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment