Third party module configuration: cosmetic change
Align the button on the right
This commit is contained in:
parent
0fd994a687
commit
fa1af990d2
@ -765,18 +765,20 @@ print '</tr>';
|
|||||||
$var=!$var;
|
$var=!$var;
|
||||||
print "<tr ".$bc[$var].">";
|
print "<tr ".$bc[$var].">";
|
||||||
print '<td width="80%">'.$langs->trans("AddRefInList").'</td>';
|
print '<td width="80%">'.$langs->trans("AddRefInList").'</td>';
|
||||||
|
print '<td> </td>';
|
||||||
|
print '<td align="center">';
|
||||||
if (!empty($conf->global->SOCIETE_ADD_REF_IN_LIST))
|
if (!empty($conf->global->SOCIETE_ADD_REF_IN_LIST))
|
||||||
{
|
{
|
||||||
print '<td align="center" colspan="2"><a href="'.$_SERVER['PHP_SELF'].'?action=setaddrefinlist&value=0">';
|
print '<a href="'.$_SERVER['PHP_SELF'].'?action=setaddrefinlist&value=0">';
|
||||||
print img_picto($langs->trans("Activated"),'switch_on');
|
print img_picto($langs->trans("Activated"),'switch_on');
|
||||||
print '</a></td>';
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<td align="center" colspan="2"><a href="'.$_SERVER['PHP_SELF'].'?action=setaddrefinlist&value=1">';
|
print '<a href="'.$_SERVER['PHP_SELF'].'?action=setaddrefinlist&value=1">';
|
||||||
print img_picto($langs->trans("Disabled"),'switch_off');
|
print img_picto($langs->trans("Disabled"),'switch_off');
|
||||||
print '</a></td>';
|
|
||||||
}
|
}
|
||||||
|
print '</a></td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user