Fix restore look and feel
This commit is contained in:
parent
6ad0cd37b0
commit
4beca8d989
@ -303,6 +303,8 @@ if ($object->fetch($id) >= 0)
|
|||||||
// Sort $modulenames
|
// Sort $modulenames
|
||||||
sort($modulenames);
|
sort($modulenames);
|
||||||
|
|
||||||
|
$var = true;
|
||||||
|
|
||||||
// Loop on each submodule
|
// Loop on each submodule
|
||||||
foreach($modulenames as $modulename)
|
foreach($modulenames as $modulename)
|
||||||
{
|
{
|
||||||
@ -328,15 +330,16 @@ if ($object->fetch($id) >= 0)
|
|||||||
// Si le module mailing est qualifie
|
// Si le module mailing est qualifie
|
||||||
if ($qualified)
|
if ($qualified)
|
||||||
{
|
{
|
||||||
|
$var = ! $var;
|
||||||
|
|
||||||
if ($allowaddtarget)
|
if ($allowaddtarget)
|
||||||
{
|
{
|
||||||
print '<form class="oddeven tagtr" name="'.$modulename.'" action="'.$_SERVER['PHP_SELF'].'?action=add&id='.$object->id.'&module='.$modulename.'" method="POST" enctype="multipart/form-data">';
|
print '<form '.$bctag[$var].' name="'.$modulename.'" action="'.$_SERVER['PHP_SELF'].'?action=add&id='.$object->id.'&module='.$modulename.'" method="POST" enctype="multipart/form-data">';
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<div class="oddeven tagtr">';
|
print '<div '.$bctag[$var].'>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<div class="tagtd">';
|
print '<div class="tagtd">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user