Some display enhancement, and code uniformisation
This commit is contained in:
parent
ecad387444
commit
537d0b62e4
@ -78,7 +78,7 @@ else if ($_POST["action"] == 'useecotaxe')
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Affiche page
|
* View
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$formbarcode=new FormBarCode($db);
|
$formbarcode=new FormBarCode($db);
|
||||||
@ -88,6 +88,15 @@ llxHeader('',$langs->trans("ProductSetup"));
|
|||||||
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
|
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
|
||||||
print_fiche_titre($langs->trans("ProductSetup"),$linkback,'setup');
|
print_fiche_titre($langs->trans("ProductSetup"),$linkback,'setup');
|
||||||
|
|
||||||
|
$h = 0;
|
||||||
|
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/admin/produit.php";
|
||||||
|
$head[$h][1] = $langs->trans("Products");
|
||||||
|
$hselected=$h;
|
||||||
|
$h++;
|
||||||
|
|
||||||
|
dol_fiche_head($head, $hselected, $langs->trans("ModuleSetup"));
|
||||||
|
|
||||||
$html=new Form($db);
|
$html=new Form($db);
|
||||||
$var=true;
|
$var=true;
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
@ -249,7 +258,7 @@ if ($conf->global->PRODUCT_CANVAS_ABILITY)
|
|||||||
if ($conf->$module->enabled)
|
if ($conf->$module->enabled)
|
||||||
{
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print "<tr $bc[$var]><td>";
|
print "<tr ".$bc[$var]."><td>";
|
||||||
|
|
||||||
print $object->description;
|
print $object->description;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user