Fix column balance
This commit is contained in:
parent
0201939ebe
commit
ba22ae45e7
@ -313,14 +313,17 @@ if ($result)
|
|||||||
print '<tr class="oddeven trforbreak">';
|
print '<tr class="oddeven trforbreak">';
|
||||||
print '<td class="maxwidthonsmartphone tdoverflowonsmartphone">'.img_object('',$picto,'class="pictoobjectwidth"').' '.$objMod->getName();
|
print '<td class="maxwidthonsmartphone tdoverflowonsmartphone">'.img_object('',$picto,'class="pictoobjectwidth"').' '.$objMod->getName();
|
||||||
print '<a name="'.$objMod->getName().'"></a></td>';
|
print '<a name="'.$objMod->getName().'"></a></td>';
|
||||||
print '<td align="center" class="nowrap">';
|
|
||||||
if ($caneditperms && empty($objMod->rights_admin_allowed) || empty($object->admin))
|
if ($caneditperms && empty($objMod->rights_admin_allowed) || empty($object->admin))
|
||||||
{
|
{
|
||||||
print '<a class="reposition" title="'.dol_escape_htmltag($langs->trans("All")).'" alt="'.dol_escape_htmltag($langs->trans("All")).'" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=addrights&entity='.$entity.'&module='.$obj->module.'">'.$langs->trans("All")."</a>";
|
if ($caneditperms)
|
||||||
print '/';
|
{
|
||||||
print '<a class="reposition" title="'.dol_escape_htmltag($langs->trans("None")).'" alt="'.dol_escape_htmltag($langs->trans("None")).'" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=delrights&entity='.$entity.'&module='.$obj->module.'">'.$langs->trans("None")."</a>";
|
print '<td align="center" class="nowrap">';
|
||||||
|
print '<a class="reposition" title="'.dol_escape_htmltag($langs->trans("All")).'" alt="'.dol_escape_htmltag($langs->trans("All")).'" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=addrights&entity='.$entity.'&module='.$obj->module.'">'.$langs->trans("All")."</a>";
|
||||||
|
print '/';
|
||||||
|
print '<a class="reposition" title="'.dol_escape_htmltag($langs->trans("None")).'" alt="'.dol_escape_htmltag($langs->trans("None")).'" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=delrights&entity='.$entity.'&module='.$obj->module.'">'.$langs->trans("None")."</a>";
|
||||||
|
print '</td>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
print '</td>';
|
|
||||||
print '<td colspan="2"> </td>';
|
print '<td colspan="2"> </td>';
|
||||||
print '</tr>'."\n";
|
print '</tr>'."\n";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user