From 22c3406498c5b04d5181befbaa16562076b50638 Mon Sep 17 00:00:00 2001 From: jfefe Date: Sat, 18 Apr 2015 22:59:30 +0200 Subject: [PATCH] Change title images for accountancy section --- htdocs/compta/charges/index.php | 3 ++- htdocs/compta/facture/fiche-rec.php | 9 +++++---- htdocs/compta/facture/list.php | 3 ++- htdocs/compta/facture/stats/index.php | 3 ++- htdocs/compta/index.php | 2 +- htdocs/compta/paiement/list.php | 3 ++- htdocs/compta/paiement/rapport.php | 3 ++- htdocs/compta/salaries/card.php | 3 ++- htdocs/compta/salaries/index.php | 3 ++- htdocs/theme/eldy/img/title_accountancy.png | Bin 0 -> 1000 bytes 10 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 htdocs/theme/eldy/img/title_accountancy.png diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php index eb10fce7768..519c24792f9 100644 --- a/htdocs/compta/charges/index.php +++ b/htdocs/compta/charges/index.php @@ -4,6 +4,7 @@ * Copyright (C) 2005-2010 Regis Houssin * Copyright (C) 2011-2014 Alexandre Spangaro * Copyright (C) 2011-2014 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 @@ -74,7 +75,7 @@ if (GETPOST("mode") == 'sconly') $param='&mode=sconly'; if ($sortfield) $param.='&sortfield='.$sortfield; if ($sortorder) $param.='&sortorder='.$sortorder; -print_fiche_titre($title, ($year?"".img_previous()." ".$langs->trans("Year")." $year ".img_next()."":"")); +print_fiche_titre($title, ($year?"".img_previous()." ".$langs->trans("Year")." $year ".img_next()."":""), 'title_accountancy.png'); if ($year) $param.='&year='.$year; diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php index 836b65a2454..381148865b6 100644 --- a/htdocs/compta/facture/fiche-rec.php +++ b/htdocs/compta/facture/fiche-rec.php @@ -2,8 +2,9 @@ /* Copyright (C) 2002-2003 Rodolphe Quiedeville * Copyright (C) 2004-2014 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2013 Florian Henry - * Copyright (C) 2013 Juanjo Menent + * Copyright (C) 2013 Florian Henry + * Copyright (C) 2013 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 @@ -115,7 +116,7 @@ $companystatic = new Societe($db); */ if ($action == 'create') { - print_fiche_titre($langs->trans("CreateRepeatableInvoice")); + print_fiche_titre($langs->trans("CreateRepeatableInvoice"),'','title_accountancy.png'); $object = new Facture($db); // Source invoice $product_static = new Product($db); @@ -558,7 +559,7 @@ else if ($resql) { $num = $db->num_rows($resql); - print_barre_liste($langs->trans("RepeatableInvoices"),$page,$_SERVER['PHP_SELF'],"&socid=$socid",$sortfield,$sortorder,'',$num); + print_barre_liste($langs->trans("RepeatableInvoices"),$page,$_SERVER['PHP_SELF'],"&socid=$socid",$sortfield,$sortorder,'',$num,'','title_accountancy.png'); print $langs->trans("ToCreateAPredefinedInvoice").'

'; diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php index dc081424ace..e888941e95e 100644 --- a/htdocs/compta/facture/list.php +++ b/htdocs/compta/facture/list.php @@ -9,6 +9,7 @@ * Copyright (C) 2012 Christophe Battarel * Copyright (C) 2013 Florian Henry * Copyright (C) 2013 Cédric Salvador + * 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 @@ -265,7 +266,7 @@ if ($resql) if ($search_user > 0) $param.='&search_user=' .$search_user; if ($search_montant_ht != '') $param.='&search_montant_ht='.$search_montant_ht; if ($search_montant_ttc != '') $param.='&search_montant_ttc='.$search_montant_ttc; - print_barre_liste($langs->trans('BillsCustomers').' '.($socid?' '.$soc->name:''),$page,$_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',$num,$nbtotalofrecords); + print_barre_liste($langs->trans('BillsCustomers').' '.($socid?' '.$soc->name:''),$page,$_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',$num,$nbtotalofrecords,'title_accountancy.png'); $i = 0; print '
'."\n"; diff --git a/htdocs/compta/facture/stats/index.php b/htdocs/compta/facture/stats/index.php index 18aeaa722da..3dc2461de28 100644 --- a/htdocs/compta/facture/stats/index.php +++ b/htdocs/compta/facture/stats/index.php @@ -3,6 +3,7 @@ * Copyright (c) 2004-2012 Laurent Destailleur * Copyright (C) 2012 Marcos García * Copyright (C) 2013 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 @@ -74,7 +75,7 @@ if ($mode == 'supplier') $dir=$conf->fournisseur->dir_output.'/facture/temp'; } -print_fiche_titre($title, $mesg); +print_fiche_titre($title, $mesg, 'title_accountancy.png'); dol_mkdir($dir); diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index d0d2bbb2f8f..5ea03b23b4f 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -79,7 +79,7 @@ $thirdpartystatic = new Societe($db); llxHeader("",$langs->trans("AccountancyTreasuryArea")); -print_fiche_titre($langs->trans("AccountancyTreasuryArea")); +print_fiche_titre($langs->trans("AccountancyTreasuryArea"),'','title_accountancy.png'); print '
'; diff --git a/htdocs/compta/paiement/list.php b/htdocs/compta/paiement/list.php index 5cf941302c7..34cf3b94460 100644 --- a/htdocs/compta/paiement/list.php +++ b/htdocs/compta/paiement/list.php @@ -3,6 +3,7 @@ * Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin * Copyright (C) 2013 Cédric Salvador + * 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 @@ -144,7 +145,7 @@ if ($resql) $paramlist.=($search_company?"&search_company=".$search_company:""); $paramlist.=($search_amount?"&search_amount=".$search_amount:""); - print_barre_liste($langs->trans("ReceivedCustomersPayments"), $page, $_SERVER["PHP_SELF"],$paramlist,$sortfield,$sortorder,'',$num); + print_barre_liste($langs->trans("ReceivedCustomersPayments"), $page, $_SERVER["PHP_SELF"],$paramlist,$sortfield,$sortorder,'',$num,'','title_accountancy.png'); print ''; print ''; diff --git a/htdocs/compta/paiement/rapport.php b/htdocs/compta/paiement/rapport.php index 8cd9a31c783..142ea7b5a4a 100644 --- a/htdocs/compta/paiement/rapport.php +++ b/htdocs/compta/paiement/rapport.php @@ -1,6 +1,7 @@ * Copyright (C) 2004-2014 Laurent Destailleur + * 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 @@ -87,7 +88,7 @@ $formother=new FormOther($db); llxHeader(); $titre=($year?$langs->trans("PaymentsReportsForYear",$year):$langs->trans("PaymentsReports")); -print_fiche_titre($titre); +print_fiche_titre($titre,'','title_accountancy.png'); // Formulaire de generation print ''; diff --git a/htdocs/compta/salaries/card.php b/htdocs/compta/salaries/card.php index e4376af61de..5c943aacbca 100644 --- a/htdocs/compta/salaries/card.php +++ b/htdocs/compta/salaries/card.php @@ -1,6 +1,7 @@ * Copyright (C) 2014 Laurent Destailleur + * 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 @@ -215,7 +216,7 @@ if ($action == 'create') print ''; print ''; - print_fiche_titre($langs->trans("NewSalaryPayment")); + print_fiche_titre($langs->trans("NewSalaryPayment"),'', 'title_accountancy.png'); print '
'; diff --git a/htdocs/compta/salaries/index.php b/htdocs/compta/salaries/index.php index 81788f2d9de..37ab81dff34 100644 --- a/htdocs/compta/salaries/index.php +++ b/htdocs/compta/salaries/index.php @@ -1,6 +1,7 @@ * Copyright (C) 2015 Laurent Destailleur + * 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 @@ -118,7 +119,7 @@ if ($result) $param=''; if ($typeid) $param.='&typeid='.$typeid; - print_barre_liste($langs->trans("SalariesPayments"),$page,$_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',$num,$totalnboflines); + print_barre_liste($langs->trans("SalariesPayments"),$page,$_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',$num,$totalnboflines, 'title_accountancy.png'); print ''; diff --git a/htdocs/theme/eldy/img/title_accountancy.png b/htdocs/theme/eldy/img/title_accountancy.png new file mode 100644 index 0000000000000000000000000000000000000000..745a8907980e6ef299366b2f895ec6f28ba2d63e GIT binary patch literal 1000 zcmV>P)KiJbR`r-cSQ7Q z)G&t8eBXro{|(1i;WadHuHtm0X`RWLFR}bmI4&>;?_wp!FXB!E?U=-)*ghQqZMYFD zaAFGgCIbHPO99{ren%_nQ(*2awoW$%t(c2HaW%SQcru^OtDZZjuo>^;v0EG<6G>;-U_`9+=^Qw*kh@juhTQ&Zrl^6{Yh87!t`nE#7EeH;S#`n zyoi@m`zvB-K^SSrZ*jU0pW@em9>N=V25Z97*3_KqO1{2x$X*xw# zJuEE1BUl$vZookHiYcVMC3bZw$(Piao#cpNWC{*UJD*043V(jlkP02iaZ zEf?>?uJrnmq-Aj^EpQ-!hQr1UiGE{rvNDWZEQoe|j9P(CJP`5prXvm|Ph~FaSQy7w zrhUKKB+@5x=0a?g8rU8o?k#XRp2ka95+G$CXsZA?n~6AxZ2>(VruL*C+?lj2s@yFB z){^RN5&L73t{Ali;t2C#s2)2O_;&(@Dq8mu=H>U|5 z%caTWbUgHZhIdjC17WK#-EK?P(b%kKw$x+qFh0b4xGw4XrpVz{8Oz~`B9dtOL8&KQNf2_$k{vrLk7L?6zLPZ=b4=ZmcfQJKOXV`0m%~`p7 zD*w;HZCU$E21aBU2pNwgD{`t6C)iRAQ?oRj_4VWTC^hMO4Z3xFDa3fOvc|DGNC zx|5Esh_M!Dr=yMI=V>%0$oaY7nf=kE>qK6DYSo^6p?=-cG>jTk7&b-4e*Ju}dw&7w W2M2%cN-&uK0000 literal 0 HcmV?d00001