Change companies and product title picto
This commit is contained in:
parent
c905f88498
commit
3825b89ead
@ -5,7 +5,7 @@
|
|||||||
* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
|
* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
|
||||||
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 3 of the License, or
|
* the Free Software Foundation; either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
@ -157,7 +157,7 @@ if ($result)
|
|||||||
if ($search_sale > 0) $param.='&search_sale='.$search_sale;
|
if ($search_sale > 0) $param.='&search_sale='.$search_sale;
|
||||||
if ($search_status != '') $param.='&search_status='.$search_status;
|
if ($search_status != '') $param.='&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;
|
$i = 0;
|
||||||
|
|
||||||
|
|||||||
@ -288,7 +288,7 @@ if ($resql)
|
|||||||
// $param and $urladd should have the same value
|
// $param and $urladd should have the same value
|
||||||
$urladd = $param;
|
$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
|
// Print the search-by-sale and search-by-categ filters
|
||||||
|
|||||||
@ -412,7 +412,8 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
$title = $addcontact = (! empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT) ? $langs->trans("AddContact") : $langs->trans("AddContactAddress"));
|
$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
|
// Affiche les erreurs
|
||||||
dol_htmloutput_errors(is_numeric($error)?'':$error,$errors);
|
dol_htmloutput_errors(is_numeric($error)?'':$error,$errors);
|
||||||
|
|||||||
@ -264,7 +264,7 @@ if ($result)
|
|||||||
$num = $db->num_rows($result);
|
$num = $db->num_rows($result);
|
||||||
$i = 0;
|
$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 '<form method="post" action="'.$_SERVER["PHP_SELF"].'">';
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
|
|||||||
@ -2780,12 +2780,12 @@ function load_fiche_titre($titre, $mesg='', $picto='title.png', $pictoisfullpath
|
|||||||
* @param string $morehtml More html to show
|
* @param string $morehtml More html to show
|
||||||
* @return void
|
* @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;
|
global $conf,$langs;
|
||||||
|
|
||||||
if ($picto == 'setup') $picto='title.png';
|
if ($picto == 'setup') $picto='title_setup.png';
|
||||||
if (($conf->browser->name == 'ie') && $picto=='title.png') $picto='title.gif';
|
if (($conf->browser->name == 'ie') && $picto=='title_generic.png') $picto='title.gif';
|
||||||
|
|
||||||
if (($num > $conf->liste_limit) || ($num == -1))
|
if (($num > $conf->liste_limit) || ($num == -1))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -866,7 +866,8 @@ else
|
|||||||
|
|
||||||
if ($type==1) $title=$langs->trans("NewService");
|
if ($type==1) $title=$langs->trans("NewService");
|
||||||
else $title=$langs->trans("NewProduct");
|
else $title=$langs->trans("NewProduct");
|
||||||
print_fiche_titre($title);
|
$linkback="";
|
||||||
|
print_fiche_titre($title,$linkback,'title_products.png');
|
||||||
|
|
||||||
dol_fiche_head('');
|
dol_fiche_head('');
|
||||||
|
|
||||||
|
|||||||
@ -67,7 +67,8 @@ if ((isset($_GET["type"]) && $_GET["type"] == 1) || empty($conf->product->enable
|
|||||||
|
|
||||||
llxHeader("",$langs->trans("ProductsAndServices"),$helpurl);
|
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">';
|
print '<div class="fichecenter"><div class="fichethirdleft">';
|
||||||
|
|||||||
@ -239,7 +239,7 @@ else
|
|||||||
$param.=($search_categ?"&search_categ=".$search_categ:"");
|
$param.=($search_categ?"&search_categ=".$search_categ:"");
|
||||||
$param.=isset($type)?"&type=".$type:"";
|
$param.=isset($type)?"&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))
|
if (! empty($catid))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -74,7 +74,7 @@ else if ($type == '1')
|
|||||||
|
|
||||||
llxHeader('','',$helpurl);
|
llxHeader('','',$helpurl);
|
||||||
|
|
||||||
print_fiche_titre($title, $mesg);
|
print_fiche_titre($title, $mesg,'title_products.png');
|
||||||
|
|
||||||
|
|
||||||
$param = '';
|
$param = '';
|
||||||
|
|||||||
@ -46,8 +46,8 @@ $transAreaType = $langs->trans("ThirdPartiesArea");
|
|||||||
$helpurl='EN:Module_Third_Parties|FR:Module_Tiers|ES:Módulo_Terceros';
|
$helpurl='EN:Module_Third_Parties|FR:Module_Tiers|ES:Módulo_Terceros';
|
||||||
|
|
||||||
llxHeader("",$langs->trans("ThirdParties"),$helpurl);
|
llxHeader("",$langs->trans("ThirdParties"),$helpurl);
|
||||||
|
$linkback='';
|
||||||
print_fiche_titre($transAreaType);
|
print_fiche_titre($transAreaType,$linkback,'title_companies.png');
|
||||||
|
|
||||||
|
|
||||||
//print '<table border="0" width="100%" class="notopnoleftnoright">';
|
//print '<table border="0" width="100%" class="notopnoleftnoright">';
|
||||||
|
|||||||
@ -853,7 +853,8 @@ else
|
|||||||
$object->forme_juridique_code=GETPOST('forme_juridique_code');
|
$object->forme_juridique_code=GETPOST('forme_juridique_code');
|
||||||
/* Show create form */
|
/* 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))
|
if (! empty($conf->use_javascript_ajax))
|
||||||
{
|
{
|
||||||
|
|||||||
BIN
htdocs/theme/eldy/img/title_companies.png
Normal file
BIN
htdocs/theme/eldy/img/title_companies.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 562 B |
BIN
htdocs/theme/eldy/img/title_products.png
Normal file
BIN
htdocs/theme/eldy/img/title_products.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 678 B |
Loading…
Reference in New Issue
Block a user