From 195ac7f8c44142c9d9e4f58220f1596af5599525 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 26 Jan 2008 16:05:58 +0000 Subject: [PATCH] New: Ajout lien "Retour liste des modules" dans page config modules --- htdocs/html.formadmin.class.php | 65 ++++++++++++++++++--------------- htdocs/langs/en_US/admin.lang | 2 + htdocs/langs/en_US/agenda.lang | 5 +++ htdocs/langs/fr_FR/admin.lang | 2 + htdocs/langs/fr_FR/agenda.lang | 5 +++ htdocs/pre.inc.php | 8 ++-- 6 files changed, 53 insertions(+), 34 deletions(-) create mode 100644 htdocs/langs/en_US/agenda.lang create mode 100644 htdocs/langs/fr_FR/agenda.lang diff --git a/htdocs/html.formadmin.class.php b/htdocs/html.formadmin.class.php index 47e1cc68288..3eedd0dcfea 100644 --- a/htdocs/html.formadmin.class.php +++ b/htdocs/html.formadmin.class.php @@ -14,14 +14,13 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /** \file htdocs/html.formadmin.class.php \brief Fichier de la classe des fonctions prédéfinie de composants html pour les pages admin + \version $Id$ */ @@ -29,7 +28,6 @@ \class FormAdmin \brief Classe permettant la génération de composants html pour les pages admin */ - class FormAdmin { var $db; @@ -168,31 +166,40 @@ class FormAdmin print ''; } } diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 9f92c71a475..63e87f53dfa 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -386,6 +386,8 @@ DictionnaryPaymentModes=Payments modes DictionnaryTypeContact=Contacts types DictionnaryEcotaxe=Ecotaxe (WEEE) DictionnaryPaperFormat=Paper formats +SetupSaved=Setup saved +BackToModuleList=Back to modules list VATReceivedOnly=Special rate not billed VATManagement=VAT Management VATIsUsedDesc=The VAT rate by default when creating prospects, invoices, orders etc follow the active standard rule:
If the seller is subjected to VAT, then VAT by default=0. End of rule.
If the (selling country = buying country), then the VAT by default=VAT of the product in the selling country. End of rule.
If seller and buyer in the European Community and goods are sold having new means of transport (car, ship, plane), the default VAT=0 ( The VAT should be paid by the buyer at the customoffice of his country and not at the seller). End of rule.
If seller and buyer in the European Community and goods sold by other means rather than new means of transport, then the VAT by default=VAT of product sold. End of rule.
Else the proposed default VAT =1. End of rule. diff --git a/htdocs/langs/en_US/agenda.lang b/htdocs/langs/en_US/agenda.lang new file mode 100644 index 00000000000..56ed647ecca --- /dev/null +++ b/htdocs/langs/en_US/agenda.lang @@ -0,0 +1,5 @@ +# Dolibarr language file - en_US - agenda +Agenda=Agenda +Agendas=Agendas +Calendar=Calendar +Calendars=Calendars \ No newline at end of file diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang index a444a9b8f64..cd5a37c607d 100644 --- a/htdocs/langs/fr_FR/admin.lang +++ b/htdocs/langs/fr_FR/admin.lang @@ -385,6 +385,8 @@ DictionnaryPaymentModes=Modes de paiements DictionnaryTypeContact=Types de contacts DictionnaryEcotaxe=Barèmes Eco-participation (DEEE) DictionnaryPaperFormat=Format papiers +SetupSaved=Configuration sauvegardée +BackToModuleList=Retour liste des modules VATReceivedOnly=Taux special non facturé VATManagement=Gestion TVA VATIsUsedDesc=Le taux de TVA proposé par défaut lors de la création de propale, facture, commande, etc répond à la règle standard suivante:
Si vendeur non assujeti à TVA, TVA par défaut=0. Fin de règle.
Si le (pays vendeur = pays acheteur) alors TVA par défaut=TVA du produit vendu. Fin de règle.
Si vendeur et acheteur dans Communauté européenne et bien vendu = moyen de transports neuf (auto, bateau, avion), TVA par défaut=0 (La TVA doit être payé par acheteur au centre d'impots de son pays et non au vendeur). Fin de règle.
Si vendeur et acheteur dans Communauté européenne et acheteur = particulier ou entreprise sans num TVA intra alors TVA par défaut=TVA du produit vendu. Fin de règle.
Si vendeur et acheteur dans Communauté européenne et acheteur = entreprise avec num TVA intra alors TVA par défaut=0. Fin de règle.
Sinon TVA proposée par défaut=0. Fin de règle.
diff --git a/htdocs/langs/fr_FR/agenda.lang b/htdocs/langs/fr_FR/agenda.lang new file mode 100644 index 00000000000..e174275bb00 --- /dev/null +++ b/htdocs/langs/fr_FR/agenda.lang @@ -0,0 +1,5 @@ +# Dolibarr language file - fr_FR - agenda +Agenda=Agenda +Agendas=Agendas +Calendar=Calendrier +Calendars=Calendriers \ No newline at end of file diff --git a/htdocs/pre.inc.php b/htdocs/pre.inc.php index ae2147243a1..fb36fc51d3d 100644 --- a/htdocs/pre.inc.php +++ b/htdocs/pre.inc.php @@ -1,7 +1,7 @@ * Copyright (C) 2003 Éric Seigne - * Copyright (C) 2004-2007 Laurent Destailleur + * Copyright (C) 2004-2008 Laurent Destailleur * Copyright (C) 2004 Benoit Mortier * Copyright (C) 2004 Guillaume Delecourt * @@ -18,14 +18,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ */ /** \file htdocs/pre.inc.php - \brief Fichier gestionnaire du menu de gauche de l'accueil - \version $Revision$ + \brief File to manage left menu for home page + \version $Id$ */ require ("./main.inc.php");