New: Ajout lien "Retour liste des modules" dans page config modules

This commit is contained in:
Laurent Destailleur 2008-01-26 16:05:58 +00:00
parent b5fa865774
commit 195ac7f8c4
6 changed files with 53 additions and 34 deletions

View File

@ -14,14 +14,13 @@
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/ */
/** /**
\file htdocs/html.formadmin.class.php \file htdocs/html.formadmin.class.php
\brief Fichier de la classe des fonctions prédéfinie de composants html pour les pages admin \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 \class FormAdmin
\brief Classe permettant la génération de composants html pour les pages admin \brief Classe permettant la génération de composants html pour les pages admin
*/ */
class FormAdmin class FormAdmin
{ {
var $db; var $db;
@ -168,31 +166,40 @@ class FormAdmin
print '<select class="flat" name="'.$htmlname.'">'; print '<select class="flat" name="'.$htmlname.'">';
print '<option value="-1">&nbsp;</option>'; print '<option value="-1">&nbsp;</option>';
print '<option value="Pacific/Midway">GMT-11:00</option>';
print '<option value="Pacific/Fakaofo">GMT-10:00</option>'; $arraytz=array(
print '<option value="America/Anchorage">GMT-09:00</option>'; "Pacific/Midway"=>"GMT-11:00",
print '<option value="America/Los_Angeles">GMT-08:00</option>'; "Pacific/Fakaofo"=>"GMT-10:00",
print '<option value="America/Dawson_Creek">GMT-07:00</option>'; "America/Anchorage"=>"GMT-09:00",
print '<option value="America/Chicago">GMT-06:00</option>'; "America/Los_Angeles"=>"GMT-08:00",
print '<option value="America/Bogota">GMT-05:00</option>'; "America/Dawson_Creek"=>"GMT-07:00",
print '<option value="America/Anguilla">GMT-04:00</option>'; "America/Chicago"=>"GMT-06:00",
print '<option value="America/Araguaina">GMT-03:00</option>'; "America/Bogota"=>"GMT-05:00",
print '<option value="America/Noronha">GMT-02:00</option>'; "America/Anguilla"=>"GMT-04:00",
print '<option value="Atlantic/Azores">GMT-01:00</option>'; "America/Araguaina"=>"GMT-03:00",
print '<option value="Africa/Abidjan">GMT+00:00</option>'; "America/Noronha"=>"GMT-02:00",
print '<option value="Europe/Paris">GMT+01:00</option>'; "Atlantic/Azores"=>"GMT-01:00",
print '<option value="Europe/Helsinki">GMT+02:00</option>'; "Africa/Abidjan"=>"GMT+00:00",
print '<option value="Europe/Moscow">GMT+03:00</option>'; "Europe/Paris"=>"GMT+01:00",
print '<option value="Asia/Dubai">GMT+04:00</option>'; "Europe/Helsinki"=>"GMT+02:00",
print '<option value="Asia/Karachi">GMT+05:00</option>'; "Europe/Moscow"=>"GMT+03:00",
print '<option value="Indian/Chagos">GMT+06:00</option>'; "Asia/Dubai"=>"GMT+04:00",
print '<option value="Asia/Jakarta">GMT+07:00</option>'; "Asia/Karachi"=>"GMT+05:00",
print '<option value="Asia/Hong_Kong">GMT+08:00</option>'; "Indian/Chagos"=>"GMT+06:00",
print '<option value="Asia/Tokyo">GMT+09:00</option>'; "Asia/Jakarta"=>"GMT+07:00",
print '<option value="Australia/Sydney">GMT+10:00</option>'; "Asia/Hong_Kong"=>"GMT+08:00",
print '<option value="Pacific/Noumea">GMT+11:00</option>'; "Asia/Tokyo"=>"GMT+09:00",
print '<option value="Pacific/Auckland">GMT+12:00</option>'; "Australia/Sydney"=>"GMT+10:00",
print '<option value="Pacific/Enderbury">GMT+13:00</option>'; "Pacific/Noumea"=>"GMT+11:00",
"Pacific/Auckland"=>"GMT+12:00",
"Pacific/Enderbury"=>"GMT+13:00"
);
foreach ($arraytz as $lib => $gmt)
{
print '<option value="'.$lib.'"';
if ($selected == $lib || $selected == $gmt) print ' selected="true"';
print '>'.$gmt.'</option>'."\n";
}
print '</select>'; print '</select>';
} }
} }

View File

@ -386,6 +386,8 @@ DictionnaryPaymentModes=Payments modes
DictionnaryTypeContact=Contacts types DictionnaryTypeContact=Contacts types
DictionnaryEcotaxe=Ecotaxe (WEEE) DictionnaryEcotaxe=Ecotaxe (WEEE)
DictionnaryPaperFormat=Paper formats DictionnaryPaperFormat=Paper formats
SetupSaved=Setup saved
BackToModuleList=Back to modules list
VATReceivedOnly=Special rate not billed VATReceivedOnly=Special rate not billed
VATManagement=VAT Management VATManagement=VAT Management
VATIsUsedDesc=The VAT rate by default when creating prospects, invoices, orders etc follow the active standard rule:<br>If the seller is subjected to VAT, then VAT by default=0. End of rule.<br>If the (selling country = buying country), then the VAT by default=VAT of the product in the selling country. End of rule. <br>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.<br>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.<br>Else the proposed default VAT =1. End of rule. VATIsUsedDesc=The VAT rate by default when creating prospects, invoices, orders etc follow the active standard rule:<br>If the seller is subjected to VAT, then VAT by default=0. End of rule.<br>If the (selling country = buying country), then the VAT by default=VAT of the product in the selling country. End of rule. <br>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.<br>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.<br>Else the proposed default VAT =1. End of rule.

View File

@ -0,0 +1,5 @@
# Dolibarr language file - en_US - agenda
Agenda=Agenda
Agendas=Agendas
Calendar=Calendar
Calendars=Calendars

View File

@ -385,6 +385,8 @@ DictionnaryPaymentModes=Modes de paiements
DictionnaryTypeContact=Types de contacts DictionnaryTypeContact=Types de contacts
DictionnaryEcotaxe=Barèmes Eco-participation (DEEE) DictionnaryEcotaxe=Barèmes Eco-participation (DEEE)
DictionnaryPaperFormat=Format papiers DictionnaryPaperFormat=Format papiers
SetupSaved=Configuration sauvegardée
BackToModuleList=Retour liste des modules
VATReceivedOnly=Taux special non facturé VATReceivedOnly=Taux special non facturé
VATManagement=Gestion TVA 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:<br>Si vendeur non assujeti à TVA, TVA par défaut=0. Fin de règle.<br>Si le (pays vendeur = pays acheteur) alors TVA par défaut=TVA du produit vendu. Fin de règle.<br>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.<br>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.<br>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.<br>Sinon TVA proposée par défaut=0. Fin de règle.<br> 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:<br>Si vendeur non assujeti à TVA, TVA par défaut=0. Fin de règle.<br>Si le (pays vendeur = pays acheteur) alors TVA par défaut=TVA du produit vendu. Fin de règle.<br>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.<br>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.<br>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.<br>Sinon TVA proposée par défaut=0. Fin de règle.<br>

View File

@ -0,0 +1,5 @@
# Dolibarr language file - fr_FR - agenda
Agenda=Agenda
Agendas=Agendas
Calendar=Calendrier
Calendars=Calendriers

View File

@ -1,7 +1,7 @@
<?php <?php
/* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Éric Seigne <erics@rycks.com> * Copyright (C) 2003 Éric Seigne <erics@rycks.com>
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2004 Guillaume Delecourt <guillaume.delecourt@opensides.be> * Copyright (C) 2004 Guillaume Delecourt <guillaume.delecourt@opensides.be>
* *
@ -18,14 +18,12 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/ */
/** /**
\file htdocs/pre.inc.php \file htdocs/pre.inc.php
\brief Fichier gestionnaire du menu de gauche de l'accueil \brief File to manage left menu for home page
\version $Revision$ \version $Id$
*/ */
require ("./main.inc.php"); require ("./main.inc.php");