From 23e5bc4f53f06d4adcf501c196855c717ebfc8d6 Mon Sep 17 00:00:00 2001 From: jfefe Date: Sat, 18 Apr 2015 23:11:17 +0200 Subject: [PATCH] Add title image for bank section --- htdocs/compta/bank/budget.php | 3 ++- htdocs/compta/bank/card.php | 13 +++++++------ htdocs/compta/bank/categ.php | 5 +++-- htdocs/compta/bank/index.php | 3 ++- htdocs/compta/bank/ligne.php | 3 ++- htdocs/compta/bank/rappro.php | 3 ++- htdocs/compta/bank/releve.php | 3 ++- htdocs/compta/bank/search.php | 5 +++-- htdocs/compta/bank/virement.php | 3 ++- htdocs/compta/index.php | 1 + htdocs/theme/eldy/img/title_bank.png | Bin 0 -> 796 bytes 11 files changed, 26 insertions(+), 16 deletions(-) create mode 100644 htdocs/theme/eldy/img/title_bank.png diff --git a/htdocs/compta/bank/budget.php b/htdocs/compta/bank/budget.php index 5c9d5bdd934..f22ce342bf0 100644 --- a/htdocs/compta/bank/budget.php +++ b/htdocs/compta/bank/budget.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2003 Rodolphe Quiedeville * Copyright (C) 2004-2010 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -43,7 +44,7 @@ $companystatic=new Societe($db); llxHeader(); // List movements bu category for bank transactions -print_fiche_titre($langs->trans("BankTransactionByCategories")); +print_fiche_titre($langs->trans("BankTransactionByCategories"), '', 'title_bank.png'); print ''; print ""; diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index c84e7f47482..64d282782e8 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -1,9 +1,10 @@ - * Copyright (C) 2003 Jean-Louis Bergamo - * Copyright (C) 2004-2012 Laurent Destailleur - * Copyright (C) 2005-2009 Regis Houssin - * Copyright (C) 2014-2015 Alexandre Spangaro + * Copyright (C) 2003 Jean-Louis Bergamo + * Copyright (C) 2004-2012 Laurent Destailleur + * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2014-2015 Alexandre Spangaro + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -242,7 +243,7 @@ if ($action == 'create') { $account=new Account($db); - print_fiche_titre($langs->trans("NewFinancialAccount")); + print_fiche_titre($langs->trans("NewFinancialAccount"), '', 'title_bank.png'); if ($conf->use_javascript_ajax) { @@ -772,7 +773,7 @@ else $account = new Account($db); $account->fetch(GETPOST('id','int')); - print_fiche_titre($langs->trans("EditFinancialAccount")); + print_fiche_titre($langs->trans("EditFinancialAccount"), '', 'title_bank.png'); if ($conf->use_javascript_ajax) { diff --git a/htdocs/compta/bank/categ.php b/htdocs/compta/bank/categ.php index 1b734df5028..b854503f084 100644 --- a/htdocs/compta/bank/categ.php +++ b/htdocs/compta/bank/categ.php @@ -2,7 +2,8 @@ /* Copyright (C) 2001-2005 Rodolphe Quiedeville * Copyright (C) 2004-2013 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin - * Copyright (C) 2013 Charles-Fr BENKE + * Copyright (C) 2013 Charles-Fr BENKE + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -107,7 +108,7 @@ if ($action == 'delete') llxHeader(); -print_fiche_titre($langs->trans("Rubriques")); +print_fiche_titre($langs->trans("Rubriques"), '', 'title_bank.png'); print '
'; print ''; diff --git a/htdocs/compta/bank/index.php b/htdocs/compta/bank/index.php index 9f156e5f568..ac175b5b7d7 100644 --- a/htdocs/compta/bank/index.php +++ b/htdocs/compta/bank/index.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2005 Rodolphe Quiedeville * Copyright (C) 2004-2014 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,7 +51,7 @@ llxHeader('',$langs->trans('AccountsArea'),$help_url); $link=''; if ($statut == '') $link=''.$langs->trans("IncludeClosedAccount").''; if ($statut == 'all') $link=''.$langs->trans("OnlyOpenedAccount").''; -print_fiche_titre($langs->trans("AccountsArea"),$link); +print_fiche_titre($langs->trans("AccountsArea"),$link, 'title_bank.png'); // On charge tableau des comptes financiers (ouverts par defaut) diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php index bb1ef29cfa7..8bba13039a9 100644 --- a/htdocs/compta/bank/ligne.php +++ b/htdocs/compta/bank/ligne.php @@ -5,6 +5,7 @@ * Copyright (C) 2004 Christophe Combelles * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2015 Alexandre Spangaro + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -551,7 +552,7 @@ if ($result) if ($acct->canBeConciliated() > 0) // Si compte rapprochable { print '
'."\n"; - print_fiche_titre($langs->trans("Reconciliation"),'',''); + print_fiche_titre($langs->trans("Reconciliation"), '', 'title_bank.png'); print ''; print ''; print ''; diff --git a/htdocs/compta/bank/rappro.php b/htdocs/compta/bank/rappro.php index 9339ff202ec..bfbdf1a8f94 100644 --- a/htdocs/compta/bank/rappro.php +++ b/htdocs/compta/bank/rappro.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2005 Rodolphe Quiedeville * Copyright (C) 2004-2013 Laurent Destailleur * Copyright (C) 2010 Juanjo Menent + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -180,7 +181,7 @@ if ($resql) $var=True; $num = $db->num_rows($resql); - print_fiche_titre($langs->trans("Reconciliation").': '.$acct->label.''); + print_fiche_titre($langs->trans("Reconciliation").': '.$acct->label.'','title_bank.png'); print '
'; // Show last bank receipts diff --git a/htdocs/compta/bank/releve.php b/htdocs/compta/bank/releve.php index c89f45d0d2c..1b5549b2c4e 100644 --- a/htdocs/compta/bank/releve.php +++ b/htdocs/compta/bank/releve.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2003 Rodolphe Quiedeville * Copyright (C) 2004-2013 Laurent Destailleur * Copyright (C) 2005-2013 Regis Houssin + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -268,7 +269,7 @@ else $mesprevnext ="id\">".img_previous()."  "; $mesprevnext.= $langs->trans("AccountStatement")." $num"; $mesprevnext.="   id\">".img_next().""; - print_fiche_titre($langs->trans("AccountStatement").' '.$num.', '.$langs->trans("BankAccount").' : '.$acct->getNomUrl(0),$mesprevnext); + print_fiche_titre($langs->trans("AccountStatement").' '.$num.', '.$langs->trans("BankAccount").' : '.$acct->getNomUrl(0),$mesprevnext, 'title_bank.png'); print '
'; print ""; diff --git a/htdocs/compta/bank/search.php b/htdocs/compta/bank/search.php index f367149a19c..63afe63c03c 100644 --- a/htdocs/compta/bank/search.php +++ b/htdocs/compta/bank/search.php @@ -4,6 +4,7 @@ * Copyright (C) 2005-2010 Regis Houssin * Copyright (C) 2012 Vinícius Nogueira * Copyright (C) 2014 Florian Henry + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -168,11 +169,11 @@ if ($resql) if (GETPOST("bid")) { $result=$bankcateg->fetch(GETPOST("bid")); - print_barre_liste($langs->trans("BankTransactionForCategory",$bankcateg->label).' '.($socid?' '.$soc->name:''), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num); + print_barre_liste($langs->trans("BankTransactionForCategory",$bankcateg->label).' '.($socid?' '.$soc->name:''), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num,'', 'title_bank.png'); } else { - print_barre_liste($langs->trans("BankTransactions"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num); + print_barre_liste($langs->trans("BankTransactions"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, '', 'title_bank.png'); } print ''."\n"; diff --git a/htdocs/compta/bank/virement.php b/htdocs/compta/bank/virement.php index 0c2c62c052f..ea229880c7c 100644 --- a/htdocs/compta/bank/virement.php +++ b/htdocs/compta/bank/virement.php @@ -3,6 +3,7 @@ * Copyright (C) 2004-2008 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin * Copyright (C) 2012 Juanjo Menent + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -150,7 +151,7 @@ if($error) $amount = GETPOST('amount','int'); } -print_fiche_titre($langs->trans("BankTransfer")); +print_fiche_titre($langs->trans("BankTransfer"), '', 'title_bank.png'); print $langs->trans("TransferDesc"); print "

"; diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index 5ea03b23b4f..3d3a8ab2197 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -3,6 +3,7 @@ * Copyright (C) 2004-2013 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2015 Juanjo Menent + * Copyright (C) 2015 Jean-François Ferry * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/htdocs/theme/eldy/img/title_bank.png b/htdocs/theme/eldy/img/title_bank.png new file mode 100644 index 0000000000000000000000000000000000000000..034a8d0c5e4a4264c8d3dc0b9185eff071087d54 GIT binary patch literal 796 zcmV+%1LOROP))LO~>` zSTRnH_s`rrZk{WjhjXvZpF3{+;Bd}&&UfDT{hs%EpZDYbxW{9xczzHE@bHLzw(vc! zR6k7OBDy2KF5|_%(}^O0C3Mivd_MC>DoCw%wBxHbfOa6dh?AJZYdBH_wiW^O>H_HJ zr-gTMChva4G@b~AYr%ouFa+B8z4Fr~Y{%j#Q_%m|#5;k#i)XP1|E&=h+QSg&1fu=; z8h>II*K5kRk$V^8G1^;g0DTU?c>=KBXQ{BQh< zj}pM^*isRwp*qm1>3Y4u`AhNcIXqeHvaf{S;a~ieb#K;eXlOgGLtqU13ZpalBXz$! zRd5OC@B$vf`8>C3^q{p|4#3vzdLgCvaoD~&2bL>AV+yav>2%gFEw>vEQo@-K?{u1! z)c-3umH*BKkvEFYx}x*Ipgz!VOq;^)PIlSJ_sJNaUuicS6m{7NXLGQ;j16(TC#UHh zNlSB7-B1Djwis&Q>D-qhwN`_`S{*)Dd?ahFLjbi1bW_h8M;yRnxyiAb&bJ<;cb8+^ a`i)y$|1F5x*>~^&0000