diff --git a/htdocs/adherents/admin/adherent_extrafields.php b/htdocs/adherents/admin/adherent_extrafields.php index beccea384e8..dad1911b12f 100755 --- a/htdocs/adherents/admin/adherent_extrafields.php +++ b/htdocs/adherents/admin/adherent_extrafields.php @@ -138,7 +138,7 @@ if ($action == 'update') } } -# Suppression attribut +// Suppression attribut if ($action == 'delete') { if(isset($_GET["attrname"]) && preg_match("/^\w[a-zA-Z0-9-_]*$/",$_GET["attrname"])) diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index ebc33d1b1b4..5c7e658fed5 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -54,7 +54,7 @@ $AdherentsResilies=array(); $AdherentType=array(); -# Liste les adherents +// Liste les adherents $sql = "SELECT t.rowid, t.libelle, t.cotisation,"; $sql.= " d.statut, count(d.rowid) as somme"; $sql.= " FROM ".MAIN_DB_PREFIX."adherent_type as t"; diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index b77efc01822..93f40c13a77 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -125,7 +125,7 @@ class ActionComm extends CommonObject if (! $this->type_id && $this->type_code) { - # Get id from code + // Get id from code $cactioncomm=new CActionComm($this->db); $result=$cactioncomm->fetch($this->type_code); if ($result) diff --git a/htdocs/compta/bank/annuel.php b/htdocs/compta/bank/annuel.php index 0ba206b8d22..154760a139c 100644 --- a/htdocs/compta/bank/annuel.php +++ b/htdocs/compta/bank/annuel.php @@ -66,8 +66,8 @@ if ($_GET["ref"]) } -# Ce rapport de tresorerie est base sur llx_bank (car doit inclure les transactions sans facture) -# plutot que sur llx_paiement + llx_paiementfourn +// Ce rapport de tresorerie est base sur llx_bank (car doit inclure les transactions sans facture) +// plutot que sur llx_paiement + llx_paiementfourn $sql = "SELECT SUM(b.amount)"; $sql.= ", date_format(b.dateo,'%Y-%m') as dm"; diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index ceeb37ad94c..648666917b5 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -349,8 +349,8 @@ class Conf if (! isset($this->global->FCKEDITOR_EDITORNAME)) $this->global->FCKEDITOR_EDITORNAME='ckeditor'; // fckeditor to switch // Format for date (used by default when not found or searched in lang) - $this->format_date_short="%d/%m/%Y"; # Format of day with PHP/C tags (strftime functions) - $this->format_date_short_java="dd/MM/yyyy"; # Format of day with Java tags + $this->format_date_short="%d/%m/%Y"; // Format of day with PHP/C tags (strftime functions) + $this->format_date_short_java="dd/MM/yyyy"; // Format of day with Java tags $this->format_hour_short="%H:%M"; $this->format_hour_short_duration="%H:%M"; $this->format_date_text_short="%d %b %Y"; diff --git a/htdocs/core/class/rssparser.class.php b/htdocs/core/class/rssparser.class.php index da5da5a5dcc..98482e7768c 100755 --- a/htdocs/core/class/rssparser.class.php +++ b/htdocs/core/class/rssparser.class.php @@ -396,7 +396,7 @@ class RssParser $this->inimage = true; } - # handle atom content constructs + // handle atom content constructs elseif ( $this->_format == 'atom' and in_array($el, $this->_CONTENT_CONSTRUCTS) ) { // avoid clashing w/ RSS mod_content diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php index 5758ca1eb09..380854ddbf3 100644 --- a/htdocs/exports/export.php +++ b/htdocs/exports/export.php @@ -395,13 +395,13 @@ if ($step == 2 && $datatoexport) // Select request if all fields are selected $sqlmaxforexport=$objexport->build_sql(0,array()); -# $this->array_export_module[0]=$module; -# $this->array_export_code[0]=$module->export_code[$r]; -# $this->array_export_label[0]=$module->export_label[$r]; -# $this->array_export_sql[0]=$module->export_sql[$r]; -# $this->array_export_fields[0]=$module->export_fields_array[$r]; -# $this->array_export_entities[0]=$module->export_fields_entities[$r]; -# $this->array_export_alias[0]=$module->export_fields_alias[$r]; +// $this->array_export_module[0]=$module; +// $this->array_export_code[0]=$module->export_code[$r]; +// $this->array_export_label[0]=$module->export_label[$r]; +// $this->array_export_sql[0]=$module->export_sql[$r]; +// $this->array_export_fields[0]=$module->export_fields_array[$r]; +// $this->array_export_entities[0]=$module->export_fields_entities[$r]; +// $this->array_export_alias[0]=$module->export_fields_alias[$r]; $var=true; $i = 0; diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php index 0aefa65904f..2f08f95a4b7 100755 --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -59,14 +59,14 @@ error_reporting(E_ALL ^ E_NOTICE); //error_reporting(E_ALL); -# Define vars +// Define vars $conffiletoshowshort = "conf.php"; -# Define localization of conf file +// Define localization of conf file $conffile = "conf/conf.php"; $conffiletoshow = "htdocs/conf/conf.php"; -# For debian/redhat like systems -#$conffile = "/etc/dolibarr/conf.php"; -#$conffiletoshow = "/etc/dolibarr/conf.php"; +// For debian/redhat like systems +//$conffile = "/etc/dolibarr/conf.php"; +//$conffiletoshow = "/etc/dolibarr/conf.php"; // Include configuration diff --git a/htdocs/includes/modules/mailings/contacts1.modules.php b/htdocs/includes/modules/mailings/contacts1.modules.php index a3711210963..e5210efbe40 100755 --- a/htdocs/includes/modules/mailings/contacts1.modules.php +++ b/htdocs/includes/modules/mailings/contacts1.modules.php @@ -107,7 +107,7 @@ class mailing_contacts1 extends MailingTargets $s=''; $s.=''; - # Show categories + // Show categories $sql = "SELECT rowid, label, type, visible"; $sql.= " FROM ".MAIN_DB_PREFIX."categorie"; $sql.= " WHERE type = 3"; // We keep only categories for members diff --git a/htdocs/includes/modules/mailings/thirdparties.modules.php b/htdocs/includes/modules/mailings/thirdparties.modules.php index 7be52ec7119..9c5ffbe167b 100755 --- a/htdocs/includes/modules/mailings/thirdparties.modules.php +++ b/htdocs/includes/modules/mailings/thirdparties.modules.php @@ -163,7 +163,7 @@ class mailing_thirdparties extends MailingTargets $s=''; $s.='