diff --git a/htdocs/core/dolgraph.class.php b/htdocs/core/dolgraph.class.php
index 2fa1fabf6e0..e2af253fdb8 100644
--- a/htdocs/core/dolgraph.class.php
+++ b/htdocs/core/dolgraph.class.php
@@ -18,7 +18,7 @@
*/
/**
- * \file htdocs/dolgraph.class.php
+ * \file htdocs/core/dolgraph.class.php
* \brief Fichier de la classe mere de gestion des graph
* \version $Id$
* \remarks Usage:
diff --git a/htdocs/core/events.class.php b/htdocs/core/events.class.php
index a23e2f59984..403d9582f6e 100644
--- a/htdocs/core/events.class.php
+++ b/htdocs/core/events.class.php
@@ -17,13 +17,13 @@
*/
/**
- \file core/events.class.php
- \ingroup core
- \brief Events class file.
- \version $Id$
- \author Laurent Destailleur
- \remarks An event is when status of an object change.
-*/
+ * \file htdocs/core/events.class.php
+ * \ingroup core
+ * \brief Events class file.
+ * \version $Id$
+ * \author Laurent Destailleur
+ * \remarks An event is when status of an object change.
+ */
// Put here all includes required by your class file
//require_once(DOL_DOCUMENT_ROOT."/commonobject.class.php");
diff --git a/htdocs/ecm/docdir.php b/htdocs/ecm/docdir.php
index 800e8af566e..e9206194cfe 100644
--- a/htdocs/ecm/docdir.php
+++ b/htdocs/ecm/docdir.php
@@ -18,7 +18,7 @@
*/
/**
- * \file htdoc/ecm/docdir.php
+ * \file htdocs/ecm/docdir.php
* \ingroup ecm
* \brief Main page for ECM section area
* \version $Id$
diff --git a/htdocs/ecm/docfile.php b/htdocs/ecm/docfile.php
index d0e7c8214bb..f8a15008e01 100644
--- a/htdocs/ecm/docfile.php
+++ b/htdocs/ecm/docfile.php
@@ -17,7 +17,7 @@
*/
/**
- * \file htdoc/ecm/docfile.php
+ * \file htdocs/ecm/docfile.php
* \ingroup ecm
* \brief Card of a file for ECM module
* \version $Id$
diff --git a/htdocs/ecm/docmine.php b/htdocs/ecm/docmine.php
index 7d367406da4..7c904be13b5 100644
--- a/htdocs/ecm/docmine.php
+++ b/htdocs/ecm/docmine.php
@@ -18,7 +18,7 @@
/**
- * \file htdoc/ecm/docmine.php
+ * \file htdocs/ecm/docmine.php
* \ingroup ecm
* \brief Card of a directory for ECM module
* \version $Id$
diff --git a/htdocs/ecm/docother.php b/htdocs/ecm/docother.php
index 8407f6c1f85..44f8d8c02aa 100644
--- a/htdocs/ecm/docother.php
+++ b/htdocs/ecm/docother.php
@@ -3,7 +3,7 @@
*/
/**
- \file htdoc/ecm/docother.php
+ \file htdocs/ecm/docother.php
\ingroup ecm
\brief Main ecm page
\version $Id$
@@ -51,12 +51,12 @@ if ( $_POST["sendit"] && $conf->upload != 0)
if (is_dir($upload_dir))
{
$result = dol_move_uploaded_file($_FILES['userfile']['tmp_name'], $upload_dir . "/" . $_FILES['userfile']['name'],0);
- if ($result == 1)
+ if ($result > 0)
{
$mesg = '
'.$langs->trans("FileTransferComplete").'
';
//print_r($_FILES);
}
- else if (!$result)
+ else if ($result < 0)
{
// Echec transfert (fichier d?passant la limite ?)
$mesg = ''.$langs->trans("ErrorFileNotUploaded").'
';
diff --git a/htdocs/ecm/ecmdirectory.class.php b/htdocs/ecm/ecmdirectory.class.php
index 29b4aa83c54..ffa249dc617 100644
--- a/htdocs/ecm/ecmdirectory.class.php
+++ b/htdocs/ecm/ecmdirectory.class.php
@@ -18,11 +18,11 @@
*/
/**
- \file dev/skeletons/ecm_directories.class.php
- \ingroup mymodule othermodule1 othermodule2
+ \file htdocs/ecm/ecm_directories.class.php
+ \ingroup ecm
\brief This file is an example for a class file
\version $Id$
- \author Put author name here
+ \author Laurent Destailleur
\remarks Initialy built by build_class_from_table on 2008-02-24 19:24
*/
@@ -465,8 +465,8 @@ class EcmDirectory // extends CommonObject
/**
- * \brief Reconstruit l'arborescence des catégories sous la forme d'un tableau
- * Renvoi un tableau de tableau('id','id_mere',...) trié selon
+ * \brief Reconstruit l'arborescence des cat�gories sous la forme d'un tableau
+ * Renvoi un tableau de tableau('id','id_mere',...) tri� selon
* arbre et avec:
* id = id de la categorie
* id_mere = id de la categorie mere
@@ -546,7 +546,7 @@ class EcmDirectory // extends CommonObject
return -1;
}
- // On ajoute la propriete fullpath a tous les éléments
+ // On ajoute la propriete fullpath a tous les �l�ments
foreach($this->cats as $key => $val)
{
if (isset($motherof[$key])) continue;
@@ -560,7 +560,7 @@ class EcmDirectory // extends CommonObject
}
/**
- * \brief Calcule les propriétés fullpath et fulllabel d'une categorie
+ * \brief Calcule les propri�t�s fullpath et fulllabel d'une categorie
* du tableau this->cats et de toutes ces enfants
* \param id_categ id_categ entry to update
* \param protection Deep counter to avoid infinite loop
diff --git a/htdocs/ecm/htmlecm.form.class.php b/htdocs/ecm/htmlecm.form.class.php
index d8e1ebb176a..3f76827a6cf 100644
--- a/htdocs/ecm/htmlecm.form.class.php
+++ b/htdocs/ecm/htmlecm.form.class.php
@@ -17,16 +17,16 @@
*/
/**
- * \file htdocs/ecm/htmlecm.form.class.php
- * \brief Fichier de la classe des fonctions prédéfinie de composants html
- * \version $Id$
+ * \file htdocs/ecm/htmlecm.form.class.php
+ * \brief Fichier de la classe des fonctions predefinie de composants html
+ * \version $Id$
*/
require_once(DOL_DOCUMENT_ROOT."/ecm/ecmdirectory.class.php");
/**
* \class FormEcm
- * \brief Classe permettant la génération de composants html
+ * \brief Classe permettant la g�n�ration de composants html
* \remarks Only common components must be here.
*/
class FormEcm
@@ -44,7 +44,7 @@ class FormEcm
/**
* \brief Constructeur
- * \param DB handler d'accès base de donnée
+ * \param DB handler d'acc�s base de donn�e
*/
function FormEcm($DB)
{
@@ -55,7 +55,7 @@ class FormEcm
/**
- * \brief Retourne la liste des catégories du type choisi
+ * \brief Retourne la liste des cat�gories du type choisi
* \param selected Id categorie preselectionnee
* \param select_name Nom formulaire HTML
*/
diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php
index ce7bcd526e4..1a9be1ffa44 100644
--- a/htdocs/ecm/index.php
+++ b/htdocs/ecm/index.php
@@ -17,7 +17,7 @@
*/
/**
- * \file htdoc/ecm/index.php
+ * \file htdocs/ecm/index.php
* \ingroup ecm
* \brief Main page for ECM section area
* \version $Id$
@@ -295,7 +295,7 @@ if (empty($action) || $action == 'file_manager' || eregi('refresh',$action) || $
print '
';
}
- // Construit liste des répertoires
+ // Construit liste des r�pertoires
print '';
print '';
diff --git a/htdocs/ecm/search.php b/htdocs/ecm/search.php
index f86170ec85b..c40d5370af7 100644
--- a/htdocs/ecm/search.php
+++ b/htdocs/ecm/search.php
@@ -3,12 +3,12 @@
*/
/**
- \file htdoc/ecm/earch.php
- \ingroup ecm
- \brief Page for search results
- \version $Id$
- \author Laurent Destailleur
-*/
+ * \file htdocs/ecm/search.php
+ * \ingroup ecm
+ * \brief Page for search results
+ * \version $Id$
+ * \author Laurent Destailleur
+ */
require("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");