diff --git a/htdocs/admin/bank_extrafields.php b/htdocs/admin/bank_extrafields.php
index 5daafd17fb9..75fd269abc9 100644
--- a/htdocs/admin/bank_extrafields.php
+++ b/htdocs/admin/bank_extrafields.php
@@ -87,12 +87,9 @@ if ($action != 'create' && $action != 'edit')
}
-/* ************************************************************************** */
-/* */
-/* Creation of an optional field
- /* */
-/* ************************************************************************** */
-
+/*
+ * Creation of an optional field
+ */
if ($action == 'create')
{
print '
';
@@ -101,11 +98,9 @@ if ($action == 'create')
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
-/* ************************************************************************** */
-/* */
-/* Edition of an optional field */
-/* */
-/* ************************************************************************** */
+/*
+ * Edition of an optional field
+ */
if ($action == 'edit' && ! empty($attrname))
{
print "
";
diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php
index 3f064e22dfb..895c7d6618d 100644
--- a/htdocs/admin/commande.php
+++ b/htdocs/admin/commande.php
@@ -587,8 +587,8 @@ if (!empty($conf->global->SHIPPABLE_ORDER_ICON_IN_LIST)) {
print '';
print '';
-/* Seems to be not so used. So kept hidden for the moment to avoid dangerous options inflation.
/*
+// Seems to be not so used. So kept hidden for the moment to avoid dangerous options inflation.
// Ask for payment bank during order
if ($conf->banque->enabled)
{
diff --git a/htdocs/api/admin/explorer.php b/htdocs/api/admin/explorer.php
index 4e92873c384..ac267d29bc3 100644
--- a/htdocs/api/admin/explorer.php
+++ b/htdocs/api/admin/explorer.php
@@ -132,24 +132,21 @@ foreach ($modulesdir as $dir)
$classname = ucfirst($classname);
require_once $dir_part.$file_searched;
- if (class_exists($classname))
- {
- dol_syslog("Found API classname=".$classname);
- $api->r->addAPIClass($classname,'');
+ // if (class_exists($classname))
+ // {
+ // dol_syslog("Found API classname=".$classname);
+ // $api->r->addAPIClass($classname,'');
+ // require_once DOL_DOCUMENT_ROOT.'/includes/restler/framework/Luracast/Restler/Routes.php';
+ // $tmpclass = new ReflectionClass($classname);
+ // try {
+ // $classMetadata = CommentParser::parse($tmpclass->getDocComment());
+ // } catch (Exception $e) {
+ // throw new RestException(500, "Error while parsing comments of `$classname` class. " . $e->getMessage());
+ // }
- /*
- require_once DOL_DOCUMENT_ROOT.'/includes/restler/framework/Luracast/Restler/Routes.php';
- $tmpclass = new ReflectionClass($classname);
- try {
- $classMetadata = CommentParser::parse($tmpclass->getDocComment());
- } catch (Exception $e) {
- throw new RestException(500, "Error while parsing comments of `$classname` class. " . $e->getMessage());
- }*/
-
- //$listofapis[]=array('classname'=>$classname, 'fullpath'=>$file_searched);
- /* }
-
+ // //$listofapis[]=array('classname'=>$classname, 'fullpath'=>$file_searched);
+ // }
}*/
}
}
@@ -160,7 +157,7 @@ foreach ($modulesdir as $dir)
}
//var_dump($listofapis);
-$listofapis = Routes::toArray(); // TODO api for "status" is lost here
+$listofapis = Routes::toArray(); // @todo api for "status" is lost here
//var_dump($listofapis);
diff --git a/htdocs/compta/facture/admin/facture_cust_extrafields.php b/htdocs/compta/facture/admin/facture_cust_extrafields.php
index 127e38a0ddf..c9d4d906280 100644
--- a/htdocs/compta/facture/admin/facture_cust_extrafields.php
+++ b/htdocs/compta/facture/admin/facture_cust_extrafields.php
@@ -85,11 +85,11 @@ if ($action != 'create' && $action != 'edit')
}
-/* ************************************************************************** */
-/* */
-/* Creation of an optional field */
-/* */
-/* ************************************************************************** */
+/*
+ *
+ * Creation of an optional field
+ *
+ */
if ($action == 'create')
{
@@ -99,11 +99,11 @@ if ($action == 'create')
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
-/* ************************************************************************** */
-/* */
-/* Edition of an optional field */
-/* */
-/* ************************************************************************** */
+/*
+ *
+ * Edition of an optional field
+ *
+ */
if ($action == 'edit' && ! empty($attrname))
{
$langs->load("members");
diff --git a/htdocs/compta/facture/admin/facture_rec_cust_extrafields.php b/htdocs/compta/facture/admin/facture_rec_cust_extrafields.php
index b8fb7ade572..08a2280ff1c 100644
--- a/htdocs/compta/facture/admin/facture_rec_cust_extrafields.php
+++ b/htdocs/compta/facture/admin/facture_rec_cust_extrafields.php
@@ -86,11 +86,11 @@ if ($action != 'create' && $action != 'edit')
}
-/* ************************************************************************** */
-/* */
-/* Creation of an optional field */
-/* */
-/* ************************************************************************** */
+/*
+ *
+ * Creation of an optional field
+ *
+ */
if ($action == 'create')
{
@@ -100,11 +100,11 @@ if ($action == 'create')
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
-/* ************************************************************************** */
-/* */
-/* Edition of an optional field */
-/* */
-/* ************************************************************************** */
+/*
+ *
+ * Edition of an optional field
+ *
+ */
if ($action == 'edit' && ! empty($attrname))
{
$langs->load("members");
diff --git a/htdocs/compta/facture/admin/facturedet_cust_extrafields.php b/htdocs/compta/facture/admin/facturedet_cust_extrafields.php
index 07115733efb..fad5ec0e7a2 100644
--- a/htdocs/compta/facture/admin/facturedet_cust_extrafields.php
+++ b/htdocs/compta/facture/admin/facturedet_cust_extrafields.php
@@ -86,11 +86,11 @@ if ($action != 'create' && $action != 'edit')
}
-/* ************************************************************************** */
-/* */
-/* Creation d'un champ optionnel
-/* */
-/* ************************************************************************** */
+/*
+ *
+ * Creation d'un champ optionnel
+ *
+ */
if ($action == 'create')
{
@@ -100,11 +100,11 @@ if ($action == 'create')
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
-/* ************************************************************************** */
-/* */
-/* Edition d'un champ optionnel */
-/* */
-/* ************************************************************************** */
+/*
+ *
+ * Edition d'un champ optionnel
+ *
+ */
if ($action == 'edit' && ! empty($attrname))
{
print "
";
diff --git a/htdocs/compta/facture/admin/facturedet_rec_cust_extrafields.php b/htdocs/compta/facture/admin/facturedet_rec_cust_extrafields.php
index cd73063e1e6..133102fc282 100644
--- a/htdocs/compta/facture/admin/facturedet_rec_cust_extrafields.php
+++ b/htdocs/compta/facture/admin/facturedet_rec_cust_extrafields.php
@@ -86,11 +86,11 @@ if ($action != 'create' && $action != 'edit')
}
-/* ************************************************************************** */
-/* */
-/* Creation d'un champ optionnel
-/* */
-/* ************************************************************************** */
+/*
+ *
+ * Creation d'un champ optionnel
+ *
+ */
if ($action == 'create')
{
@@ -100,11 +100,11 @@ if ($action == 'create')
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
-/* ************************************************************************** */
-/* */
-/* Edition d'un champ optionnel */
-/* */
-/* ************************************************************************** */
+/*
+ *
+ * Edition d'un champ optionnel
+ *
+ */
if ($action == 'edit' && ! empty($attrname))
{
print "
";