Fix: uniformize code

This commit is contained in:
Regis Houssin 2010-03-22 16:58:14 +00:00
parent 23d159a31f
commit 39afca958e

View File

@ -100,9 +100,17 @@ else
if (isset($_GET["type"]) || isset($_POST["type"])) if (isset($_GET["type"]) || isset($_POST["type"]))
{ {
if ($type==1) { $texte = $langs->trans("Services"); } if ($type==1)
else { $texte = $langs->trans("Products"); } {
} else { $texte = $langs->trans("Services");
}
else
{
$texte = $langs->trans("Products");
}
}
else
{
$texte = $langs->trans("ProductsAndServices"); $texte = $langs->trans("ProductsAndServices");
} }
} }