New: Add picto on tab titles

This commit is contained in:
Laurent Destailleur 2009-08-07 18:39:01 +00:00
parent cf6a5c5feb
commit 45d4abfb8d
13 changed files with 54 additions and 53 deletions

View File

@ -260,7 +260,7 @@ if ($account || $_GET["ref"])
// Onglets // Onglets
$head=bank_prepare_head($acct); $head=bank_prepare_head($acct);
dol_fiche_head($head,'journal',$langs->trans("FinancialAccount"),0); dol_fiche_head($head,'journal',$langs->trans("FinancialAccount"),0,'account');
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';

View File

@ -128,7 +128,7 @@ else
// Onglets // Onglets
$head=bank_prepare_head($acct); $head=bank_prepare_head($acct);
dol_fiche_head($head,'annual',$langs->trans("FinancialAccount"),0); dol_fiche_head($head,'annual',$langs->trans("FinancialAccount"),0,'account');
$title=$langs->trans("FinancialAccount")." : ".$acct->label; $title=$langs->trans("FinancialAccount")." : ".$acct->label;
$lien=($year_start?"<a href='".$_SERVER["PHP_SELF"]."?account=".$acct->id."&year_start=".($year_start-1)."'>".img_previous()."</a> ".$langs->trans("Year")." <a href='".$_SERVER["PHP_SELF"]."?account=".$acct->id."&year_start=".($year_start+1)."'>".img_next()."</a>":""); $lien=($year_start?"<a href='".$_SERVER["PHP_SELF"]."?account=".$acct->id."&year_start=".($year_start-1)."'>".img_previous()."</a> ".$langs->trans("Year")." <a href='".$_SERVER["PHP_SELF"]."?account=".$acct->id."&year_start=".($year_start+1)."'>".img_next()."</a>":"");

View File

@ -120,7 +120,7 @@ if (($_GET["id"] || $_GET["ref"]) && $_GET["action"] != 'edit')
*/ */
// Onglets // Onglets
$head=bank_prepare_head($account); $head=bank_prepare_head($account);
dol_fiche_head($head, 'bankid', $langs->trans("FinancialAccount")); dol_fiche_head($head, 'bankid', $langs->trans("FinancialAccount"),0,'account');
/* /*
* Confirmation de la suppression * Confirmation de la suppression

View File

@ -44,6 +44,10 @@ function valeur($sql)
} }
/*
* View
*/
llxHeader(); llxHeader();
print_titre("Bilan"); print_titre("Bilan");
@ -51,7 +55,7 @@ print '<br>';
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="2">'; print '<table class="noborder" width="100%" cellspacing="0" cellpadding="2">';
print "<tr class=\"liste_titre\">"; print "<tr class=\"liste_titre\">";
echo '<td colspan="2">R<EFBFBD>sum<EFBFBD></td>'; echo '<td colspan="2">'.$langs->trans("Summary").'</td>';
print "</tr>\n"; print "</tr>\n";
$var=!$var; $var=!$var;

View File

@ -35,15 +35,13 @@ $result=restrictedArea($user,'banque');
/* /*
* Affichage page * View
*
*/ */
$companystatic=new Societe($db); $companystatic=new Societe($db);
llxHeader(); llxHeader();
// List movements bu category for bank transactions // List movements bu category for bank transactions
print_fiche_titre($langs->trans("BankTransactionByCategories")); print_fiche_titre($langs->trans("BankTransactionByCategories"));

View File

@ -21,7 +21,7 @@
/** /**
\file htdocs/compta/bank/categ.php \file htdocs/compta/bank/categ.php
\ingroup compta \ingroup compta
\brief Page ajout de catégories bancaires \brief Page ajout de cat<EFBFBD>gories bancaires
\version $Id$ \version $Id$
*/ */
@ -33,7 +33,7 @@ if (!$user->rights->banque->configurer)
/* /*
* Actions ajout catégorie * Actions ajout cat<EFBFBD>gorie
*/ */
if ($_POST["action"] == 'add') if ($_POST["action"] == 'add')
{ {
@ -57,7 +57,7 @@ if ($_POST["action"] == 'add')
} }
/* /*
* Action suppression catégorie * Action suppression cat<EFBFBD>gorie
*/ */
if ( $_REQUEST['action'] == 'delete' ) if ( $_REQUEST['action'] == 'delete' )
{ {
@ -79,7 +79,7 @@ if ( $_REQUEST['action'] == 'delete' )
/* /*
* Affichage liste des catégories * Affichage liste des cat<EFBFBD>gories
*/ */
llxHeader(); llxHeader();
@ -123,7 +123,7 @@ if ($result)
} }
/* /*
* Affichage ligne ajout de catégorie * Affichage ligne ajout de categorie
*/ */
$var=!$var; $var=!$var;
print "<tr $bc[$var]>"; print "<tr $bc[$var]>";

View File

@ -286,7 +286,7 @@ else
// Onglets // Onglets
$head=bank_prepare_head($account); $head=bank_prepare_head($account);
dol_fiche_head($head, 'bankname', $langs->trans("FinancialAccount")); dol_fiche_head($head, 'bankname', $langs->trans("FinancialAccount"),0,'account');
/* /*
* Confirmation to delete * Confirmation to delete

View File

@ -728,7 +728,7 @@ else
// Onglets // Onglets
$head=bank_prepare_head($acct); $head=bank_prepare_head($acct);
dol_fiche_head($head,'graph',$langs->trans("FinancialAccount"),0); dol_fiche_head($head,'graph',$langs->trans("FinancialAccount"),0,'account');
if ($mesg) print $mesg.'<br>'; if ($mesg) print $mesg.'<br>';

View File

@ -32,8 +32,7 @@ $langs->load("companies");
/* /*
* Visualisation de la fiche * View
*
*/ */
llxHeader(); llxHeader();
@ -55,7 +54,7 @@ $hselected = $h;
$h++; $h++;
dol_fiche_head($head, $hselected, $langs->trans("LineRecord")); dol_fiche_head($head, $hselected, $langs->trans("LineRecord"),0,'account');
print '<table width="100%"><tr><td>'; print '<table width="100%"><tr><td>';
dol_print_object_info($line); dol_print_object_info($line);

View File

@ -200,7 +200,7 @@ $head[$h][0] = DOL_URL_ROOT.'/compta/bank/info.php?rowid='.$_GET["rowid"];
$head[$h][1] = $langs->trans("Info"); $head[$h][1] = $langs->trans("Info");
$h++; $h++;
dol_fiche_head($head, $hselected, $langs->trans('LineRecord')); dol_fiche_head($head, $hselected, $langs->trans('LineRecord'),0,'account');
$sql = "SELECT b.rowid,".$db->pdate("b.dateo")." as do,".$db->pdate("b.datev")." as dv, b.amount, b.label, b.rappro,"; $sql = "SELECT b.rowid,".$db->pdate("b.dateo")." as do,".$db->pdate("b.datev")." as dv, b.amount, b.label, b.rappro,";

View File

@ -108,7 +108,7 @@ if (! isset($_GET["num"]))
// Onglets // Onglets
$head=bank_prepare_head($acct); $head=bank_prepare_head($acct);
dol_fiche_head($head,'statement',$langs->trans("FinancialAccount"),0); dol_fiche_head($head,'statement',$langs->trans("FinancialAccount"),0,'account');
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';

View File

@ -1,6 +1,6 @@
<?php <?php
/* Copytight (C) 2005-2009 Regis Houssin <regis@dolibarr.fr> /* Copytight (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
* Copyright (C) 2008 Laurent Destailleur (Eldy) <eldy@users.sourceforge.net> * Copyright (C) 2008-2009 Laurent Destailleur (Eldy) <eldy@users.sourceforge.net>
* Copyright (C) 2008 Raphael Bertrand (Resultic) <raphael.bertrand@resultic.fr> * Copyright (C) 2008 Raphael Bertrand (Resultic) <raphael.bertrand@resultic.fr>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
@ -19,10 +19,10 @@
*/ */
/** /**
\file htdocs/compta/bank/treso.php * \file htdocs/compta/bank/treso.php
\ingroup banque * \ingroup banque
\brief Page de détail du budget de trésorerie * \brief Page de d<EFBFBD>tail du budget de tr<EFBFBD>sorerie
\version $Id$ * \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
@ -94,7 +94,7 @@ if ($_REQUEST["account"] || $_REQUEST["ref"])
*/ */
// Onglets // Onglets
$head=bank_prepare_head($acct); $head=bank_prepare_head($acct);
dol_fiche_head($head,'cash',$langs->trans("FinancialAccount"),0); dol_fiche_head($head,'cash',$langs->trans("FinancialAccount"),0,'account');
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';
@ -119,7 +119,7 @@ if ($_REQUEST["account"] || $_REQUEST["ref"])
$solde = $acct->solde(0); $solde = $acct->solde(0);
/* /*
* Affiche tableau des echeances à venir * Affiche tableau des echeances <EFBFBD> venir
*/ */
print '<table class="notopnoleftnoright" width="100% border="1">'; print '<table class="notopnoleftnoright" width="100% border="1">';

View File

@ -19,11 +19,11 @@
*/ */
/** /**
\file htdocs/compta/bank/virement.php * \file htdocs/compta/bank/virement.php
\ingroup banque * \ingroup banque
\brief Page de saisie d'un virement * \brief Page de saisie d'un virement
\version $Id$ * \version $Id$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/lib/bank.lib.php"); require_once(DOL_DOCUMENT_ROOT."/lib/bank.lib.php");