Fix regression if style
This commit is contained in:
parent
cf84fdf7c7
commit
1ae11c554b
@ -157,6 +157,8 @@ if ($permission) {
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
$var = false;
|
||||||
|
|
||||||
$arrayofsource=array('internal','external'); // Show both link to user and thirdparties contacts
|
$arrayofsource=array('internal','external'); // Show both link to user and thirdparties contacts
|
||||||
foreach($arrayofsource as $source) {
|
foreach($arrayofsource as $source) {
|
||||||
|
|
||||||
@ -168,9 +170,10 @@ if ($permission) {
|
|||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while ($i < $num) {
|
while ($i < $num) {
|
||||||
|
$var = ! $var;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<form class="tagtr oddeven">
|
<form class="tagtr oddeven <?php echo ($var?'impair':'pair') ?>">
|
||||||
<div class="tagtd" align="left">
|
<div class="tagtd" align="left">
|
||||||
<?php if ($tab[$i]['source']=='internal') echo $langs->trans("User"); ?>
|
<?php if ($tab[$i]['source']=='internal') echo $langs->trans("User"); ?>
|
||||||
<?php if ($tab[$i]['source']=='external') echo $langs->trans("ThirdPartyContact"); ?>
|
<?php if ($tab[$i]['source']=='external') echo $langs->trans("ThirdPartyContact"); ?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user