Fix: uniformize code
This commit is contained in:
parent
23d159a31f
commit
39afca958e
@ -100,9 +100,17 @@ else
|
||||
|
||||
if (isset($_GET["type"]) || isset($_POST["type"]))
|
||||
{
|
||||
if ($type==1) { $texte = $langs->trans("Services"); }
|
||||
else { $texte = $langs->trans("Products"); }
|
||||
} else {
|
||||
if ($type==1)
|
||||
{
|
||||
$texte = $langs->trans("Services");
|
||||
}
|
||||
else
|
||||
{
|
||||
$texte = $langs->trans("Products");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$texte = $langs->trans("ProductsAndServices");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user