From f6f2c0a3e3b1e1ea86150d1c19318a70d6371b75 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 4 May 2008 15:26:01 +0000 Subject: [PATCH] Qual: Rename file for standardisation --- htdocs/lib/company.lib.php | 2 +- htdocs/societe/{docsoc.php => document.php} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename htdocs/societe/{docsoc.php => document.php} (98%) diff --git a/htdocs/lib/company.lib.php b/htdocs/lib/company.lib.php index 9f2c7b083a7..c98a5dbcf9d 100644 --- a/htdocs/lib/company.lib.php +++ b/htdocs/lib/company.lib.php @@ -84,7 +84,7 @@ function societe_prepare_head($objsoc) } if ($user->societe_id == 0) { - $head[$h][0] = DOL_URL_ROOT.'/societe/docsoc.php?socid='.$objsoc->id; + $head[$h][0] = DOL_URL_ROOT.'/societe/document.php?socid='.$objsoc->id; $head[$h][1] = $langs->trans("Documents"); $head[$h][2] = 'document'; $h++; diff --git a/htdocs/societe/docsoc.php b/htdocs/societe/document.php similarity index 98% rename from htdocs/societe/docsoc.php rename to htdocs/societe/document.php index 6fa8c026bf9..0d52813d403 100644 --- a/htdocs/societe/docsoc.php +++ b/htdocs/societe/document.php @@ -19,7 +19,7 @@ */ /** - * \file htdocs/societe/docsoc.php + * \file htdocs/societe/document.php * \brief Tab for documents linked to third party * \ingroup societe * \version $Id$ @@ -167,7 +167,7 @@ if ($socid > 0) // Affiche formulaire upload $formfile=new FormFile($db); - $formfile->form_attach_new_file(DOL_URL_ROOT.'/societe/docsoc.php?socid='.$socid); + $formfile->form_attach_new_file(DOL_URL_ROOT.'/societe/document.php?socid='.$socid); // List of document