| '.$langs->trans("Ref").' | ';
$s='';
-$tmpecmdir=new ECMDirectory($db); // Need to create a new one
+$tmpecmdir=new EcmDirectory($db); // Need to create a new one
$tmpecmdir->fetch($ecmdir->id);
$result = 1;
$i=0;
diff --git a/htdocs/ecm/docmine.php b/htdocs/ecm/docmine.php
index c0ffe1aa7dd..fd5b005d2fe 100644
--- a/htdocs/ecm/docmine.php
+++ b/htdocs/ecm/docmine.php
@@ -62,7 +62,7 @@ if (! $section)
// Load ecm object
-$ecmdir = new ECMDirectory($db);
+$ecmdir = new EcmDirectory($db);
$result=$ecmdir->fetch(GETPOST("section"));
if (! $result > 0)
{
@@ -232,7 +232,7 @@ if ($_GET["action"] == 'edit')
print '';
print '| '.$langs->trans("Ref").' | ';
$s='';
-$tmpecmdir=new ECMDirectory($db); // Need to create a new one
+$tmpecmdir=new EcmDirectory($db); // Need to create a new one
$tmpecmdir->fetch($ecmdir->id);
$result = 1;
$i=0;
diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php
index 3a0d4be38fd..7547616ca46 100644
--- a/htdocs/ecm/index.php
+++ b/htdocs/ecm/index.php
@@ -68,7 +68,7 @@ $pagenext = $page + 1;
if (! $sortorder) $sortorder="ASC";
if (! $sortfield) $sortfield="label";
-$ecmdir = new ECMDirectory($db);
+$ecmdir = new EcmDirectory($db);
if (GETPOST("section"))
{
$result=$ecmdir->fetch(GETPOST("section"));
@@ -80,7 +80,7 @@ if (GETPOST("section"))
}
$form=new Form($db);
-$ecmdirstatic = new ECMDirectory($db);
+$ecmdirstatic = new EcmDirectory($db);
$userstatic = new User($db);
@@ -253,7 +253,7 @@ if (GETPOST("action") == 'refreshmanual')
if ($fk_parent >= 0)
{
- $ecmdirtmp=new ECMDirectory($db);
+ $ecmdirtmp=new EcmDirectory($db);
$ecmdirtmp->ref = 'NOTUSEDYET';
$ecmdirtmp->label = basename($dirdesc['fullname']);
$ecmdirtmp->description = '';
@@ -445,7 +445,7 @@ else
if (empty($action) || $action == 'file_manager' || preg_match('/refresh/i',$action) || $action == 'delete')
{
$userstatic = new User($db);
- $ecmdirstatic = new ECMDirectory($db);
+ $ecmdirstatic = new EcmDirectory($db);
// Confirmation de la suppression d'une ligne categorie
if ($_GET['action'] == 'delete_section')
diff --git a/htdocs/ecm/search.php b/htdocs/ecm/search.php
index f3e0016ee9d..102fca7ebdd 100644
--- a/htdocs/ecm/search.php
+++ b/htdocs/ecm/search.php
@@ -65,7 +65,7 @@ $pagenext = $page + 1;
if (! $sortorder) $sortorder="ASC";
if (! $sortfield) $sortfield="label";
-$ecmdir = new ECMDirectory($db);
+$ecmdir = new EcmDirectory($db);
if (! empty($_REQUEST["section"]))
{
$result=$ecmdir->fetch($_REQUEST["section"]);
@@ -96,7 +96,7 @@ if (! empty($_REQUEST["section"]))
llxHeader();
$form=new Form($db);
-$ecmdirstatic = new ECMDirectory($db);
+$ecmdirstatic = new EcmDirectory($db);
$userstatic = new User($db);
| |