Change companies and product title picto

This commit is contained in:
jfefe 2015-04-18 20:33:18 +02:00
parent c905f88498
commit 3825b89ead
13 changed files with 19 additions and 15 deletions

View File

@ -5,7 +5,7 @@
* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
*
* This program is free software; you can redistribute it and/or modify
* This program is freei software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
@ -157,7 +157,7 @@ if ($result)
if ($search_sale > 0) $param.='&amp;search_sale='.$search_sale;
if ($search_status != '') $param.='&amp;search_status='.$search_status;
print_barre_liste($langs->trans("ListOfCustomers"), $page, $_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',$num,$nbtotalofrecords);
print_barre_liste($langs->trans("ListOfCustomers"), $page, $_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',$num,$nbtotalofrecords,'title_companies.png');
$i = 0;

View File

@ -288,7 +288,7 @@ if ($resql)
// $param and $urladd should have the same value
$urladd = $param;
print_barre_liste($langs->trans("ListOfProspects"), $page, $_SERVER["PHP_SELF"], $param, $sortfield,$sortorder,'',$num,$nbtotalofrecords);
print_barre_liste($langs->trans("ListOfProspects"), $page, $_SERVER["PHP_SELF"], $param, $sortfield,$sortorder,'',$num,$nbtotalofrecords,'title_companies.png');
// Print the search-by-sale and search-by-categ filters

View File

@ -412,7 +412,8 @@ else
}
$title = $addcontact = (! empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT) ? $langs->trans("AddContact") : $langs->trans("AddContactAddress"));
print_fiche_titre($title);
$linkback='';
print_fiche_titre($title,$linkback,'title_companies.png');
// Affiche les erreurs
dol_htmloutput_errors(is_numeric($error)?'':$error,$errors);

View File

@ -264,7 +264,7 @@ if ($result)
$num = $db->num_rows($result);
$i = 0;
print_barre_liste($titre, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords);
print_barre_liste($titre, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords,'title_companies.png');
print '<form method="post" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';

View File

@ -2780,12 +2780,12 @@ function load_fiche_titre($titre, $mesg='', $picto='title.png', $pictoisfullpath
* @param string $morehtml More html to show
* @return void
*/
function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $sortorder='', $center='', $num=-1, $totalnboflines=0, $picto='title.png', $pictoisfullpath=0, $morehtml='')
function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $sortorder='', $center='', $num=-1, $totalnboflines=0, $picto='title_generic.png', $pictoisfullpath=0, $morehtml='')
{
global $conf,$langs;
if ($picto == 'setup') $picto='title.png';
if (($conf->browser->name == 'ie') && $picto=='title.png') $picto='title.gif';
if ($picto == 'setup') $picto='title_setup.png';
if (($conf->browser->name == 'ie') && $picto=='title_generic.png') $picto='title.gif';
if (($num > $conf->liste_limit) || ($num == -1))
{

View File

@ -866,7 +866,8 @@ else
if ($type==1) $title=$langs->trans("NewService");
else $title=$langs->trans("NewProduct");
print_fiche_titre($title);
$linkback="";
print_fiche_titre($title,$linkback,'title_products.png');
dol_fiche_head('');

View File

@ -67,7 +67,8 @@ if ((isset($_GET["type"]) && $_GET["type"] == 1) || empty($conf->product->enable
llxHeader("",$langs->trans("ProductsAndServices"),$helpurl);
print_fiche_titre($transAreaType);
$linkback="";
print_fiche_titre($transAreaType,$linkback,'title_products.png');
print '<div class="fichecenter"><div class="fichethirdleft">';

View File

@ -239,7 +239,7 @@ else
$param.=($search_categ?"&amp;search_categ=".$search_categ:"");
$param.=isset($type)?"&amp;type=".$type:"";
print_barre_liste($texte, $page, "list.php", $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords);
print_barre_liste($texte, $page, "list.php", $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords,'title_products.png');
if (! empty($catid))
{

View File

@ -74,7 +74,7 @@ else if ($type == '1')
llxHeader('','',$helpurl);
print_fiche_titre($title, $mesg);
print_fiche_titre($title, $mesg,'title_products.png');
$param = '';

View File

@ -46,8 +46,8 @@ $transAreaType = $langs->trans("ThirdPartiesArea");
$helpurl='EN:Module_Third_Parties|FR:Module_Tiers|ES:M&oacute;dulo_Terceros';
llxHeader("",$langs->trans("ThirdParties"),$helpurl);
print_fiche_titre($transAreaType);
$linkback='';
print_fiche_titre($transAreaType,$linkback,'title_companies.png');
//print '<table border="0" width="100%" class="notopnoleftnoright">';

View File

@ -853,7 +853,8 @@ else
$object->forme_juridique_code=GETPOST('forme_juridique_code');
/* Show create form */
print_fiche_titre($langs->trans("NewThirdParty"));
$linkback="";
print_fiche_titre($langs->trans("NewThirdParty"),$linkback,'title_companies.png');
if (! empty($conf->use_javascript_ajax))
{

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 678 B