New: Add picto on tab titles

This commit is contained in:
Laurent Destailleur 2009-08-06 13:27:54 +00:00
parent 8761c985b7
commit dddffb657a
5 changed files with 18 additions and 18 deletions

View File

@ -19,11 +19,11 @@
*/ */
/** /**
\file htdocs/fourn/facture/contact.php * \file htdocs/fourn/facture/contact.php
\ingroup facture, fournisseur * \ingroup facture, fournisseur
\brief Onglet de gestion des contacts des factures * \brief Onglet de gestion des contacts des factures
\version $Id$ * \version $Id$
*/ */
require ("./pre.inc.php"); require ("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/fourn/fournisseur.facture.class.php"); require_once(DOL_DOCUMENT_ROOT."/fourn/fournisseur.facture.class.php");
@ -170,7 +170,7 @@ if ($id > 0)
$head = facturefourn_prepare_head($facture); $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 * Facture synthese pour rappel

View File

@ -123,7 +123,7 @@ if ($facid > 0)
$upload_dir = $conf->fournisseur->dir_output.'/facture/'.get_exdir($facture->id,2).$facture->id; $upload_dir = $conf->fournisseur->dir_output.'/facture/'.get_exdir($facture->id,2).$facture->id;
$head = facturefourn_prepare_head($facture); $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 // Construit liste des fichiers

View File

@ -599,7 +599,7 @@ else
*/ */
$head = facturefourn_prepare_head($fac); $head = facturefourn_prepare_head($fac);
$titre=$langs->trans('SupplierInvoice'); $titre=$langs->trans('SupplierInvoice');
dol_fiche_head($head, 'card', $titre); dol_fiche_head($head, 'card', $titre, 0, 'bill');
if ($mesg) { print $mesg.'<br>'; } if ($mesg) { print $mesg.'<br>'; }

View File

@ -19,11 +19,11 @@
*/ */
/** /**
\file htdocs/fourn/facture/info.php * \file htdocs/fourn/facture/info.php
\ingroup facture, fournisseur * \ingroup facture, fournisseur
\brief Page des informations d'une facture fournisseur * \brief Page des informations d'une facture fournisseur
\version $Id$ * \version $Id$
*/ */
require('./pre.inc.php'); require('./pre.inc.php');
require_once(DOL_DOCUMENT_ROOT."/lib/functions2.lib.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; if ($user->societe_id) $socid=$user->societe_id;
$result = restrictedArea($user, 'fournisseur', $facid, 'facture_fourn', 'facture'); $result = restrictedArea($user, 'fournisseur', $facid, 'facture_fourn', 'facture');
llxHeader();
/* /*
* Visualisation de la fiche * View
*
*/ */
llxHeader();
$fac = new FactureFournisseur($db); $fac = new FactureFournisseur($db);
$fac->fetch($_GET["facid"]); $fac->fetch($_GET["facid"]);
$fac->info($_GET["facid"]); $fac->info($_GET["facid"]);
@ -53,7 +53,7 @@ $soc->fetch($fac->socid);
$head = facturefourn_prepare_head($fac); $head = facturefourn_prepare_head($fac);
$titre=$langs->trans('SupplierInvoice'); $titre=$langs->trans('SupplierInvoice');
dol_fiche_head($head, 'info', $langs->trans('SupplierInvoice')); dol_fiche_head($head, 'info', $langs->trans('SupplierInvoice'), 0, 'bill');
print '<table width="100%"><tr><td>'; print '<table width="100%"><tr><td>';
dol_print_object_info($fac); dol_print_object_info($fac);

View File

@ -94,7 +94,7 @@ if ($_GET["facid"])
$head = facturefourn_prepare_head($fac); $head = facturefourn_prepare_head($fac);
$titre=$langs->trans('SupplierInvoice'); $titre=$langs->trans('SupplierInvoice');
dol_fiche_head($head, 'note', $titre); dol_fiche_head($head, 'note', $titre, 0, 'bill');
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';