From dddffb657a14a79c4e065db69e7cd657ad19bfb9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 6 Aug 2009 13:27:54 +0000 Subject: [PATCH] New: Add picto on tab titles --- htdocs/fourn/facture/contact.php | 12 ++++++------ htdocs/fourn/facture/document.php | 2 +- htdocs/fourn/facture/fiche.php | 2 +- htdocs/fourn/facture/info.php | 18 +++++++++--------- htdocs/fourn/facture/note.php | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/htdocs/fourn/facture/contact.php b/htdocs/fourn/facture/contact.php index 7f3132f0f96..293544674d8 100644 --- a/htdocs/fourn/facture/contact.php +++ b/htdocs/fourn/facture/contact.php @@ -19,11 +19,11 @@ */ /** - \file htdocs/fourn/facture/contact.php - \ingroup facture, fournisseur - \brief Onglet de gestion des contacts des factures - \version $Id$ -*/ + * \file htdocs/fourn/facture/contact.php + * \ingroup facture, fournisseur + * \brief Onglet de gestion des contacts des factures + * \version $Id$ + */ require ("./pre.inc.php"); require_once(DOL_DOCUMENT_ROOT."/fourn/fournisseur.facture.class.php"); @@ -170,7 +170,7 @@ if ($id > 0) $head = facturefourn_prepare_head($facture); - dol_fiche_head($head, 'contact', $langs->trans('SupplierInvoice')); + dol_fiche_head($head, 'contact', $langs->trans('SupplierInvoice'), 0, 'bill'); /* * Facture synthese pour rappel diff --git a/htdocs/fourn/facture/document.php b/htdocs/fourn/facture/document.php index 96cf068cf75..5da9a038faf 100644 --- a/htdocs/fourn/facture/document.php +++ b/htdocs/fourn/facture/document.php @@ -123,7 +123,7 @@ if ($facid > 0) $upload_dir = $conf->fournisseur->dir_output.'/facture/'.get_exdir($facture->id,2).$facture->id; $head = facturefourn_prepare_head($facture); - dol_fiche_head($head, 'documents', $langs->trans('SupplierInvoice')); + dol_fiche_head($head, 'documents', $langs->trans('SupplierInvoice'), 0, 'bill'); // Construit liste des fichiers diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 8ed19d42c45..80742f0d82a 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -599,7 +599,7 @@ else */ $head = facturefourn_prepare_head($fac); $titre=$langs->trans('SupplierInvoice'); - dol_fiche_head($head, 'card', $titre); + dol_fiche_head($head, 'card', $titre, 0, 'bill'); if ($mesg) { print $mesg.'
'; } diff --git a/htdocs/fourn/facture/info.php b/htdocs/fourn/facture/info.php index 3b0f970c830..f2347274536 100644 --- a/htdocs/fourn/facture/info.php +++ b/htdocs/fourn/facture/info.php @@ -19,11 +19,11 @@ */ /** - \file htdocs/fourn/facture/info.php - \ingroup facture, fournisseur - \brief Page des informations d'une facture fournisseur - \version $Id$ -*/ + * \file htdocs/fourn/facture/info.php + * \ingroup facture, fournisseur + * \brief Page des informations d'une facture fournisseur + * \version $Id$ + */ require('./pre.inc.php'); require_once(DOL_DOCUMENT_ROOT."/lib/functions2.lib.php"); @@ -37,14 +37,14 @@ $facid = isset($_GET["facid"])?$_GET["facid"]:''; if ($user->societe_id) $socid=$user->societe_id; $result = restrictedArea($user, 'fournisseur', $facid, 'facture_fourn', 'facture'); -llxHeader(); /* - * Visualisation de la fiche - * + * View */ +llxHeader(); + $fac = new FactureFournisseur($db); $fac->fetch($_GET["facid"]); $fac->info($_GET["facid"]); @@ -53,7 +53,7 @@ $soc->fetch($fac->socid); $head = facturefourn_prepare_head($fac); $titre=$langs->trans('SupplierInvoice'); -dol_fiche_head($head, 'info', $langs->trans('SupplierInvoice')); +dol_fiche_head($head, 'info', $langs->trans('SupplierInvoice'), 0, 'bill'); print '
'; dol_print_object_info($fac); diff --git a/htdocs/fourn/facture/note.php b/htdocs/fourn/facture/note.php index 529bea0afc1..2ff6a173723 100644 --- a/htdocs/fourn/facture/note.php +++ b/htdocs/fourn/facture/note.php @@ -94,7 +94,7 @@ if ($_GET["facid"]) $head = facturefourn_prepare_head($fac); $titre=$langs->trans('SupplierInvoice'); - dol_fiche_head($head, 'note', $titre); + dol_fiche_head($head, 'note', $titre, 0, 'bill'); print '';