Merge pull request #2124 from frederic34/patch-13

Enhance lisibility of html code
This commit is contained in:
Laurent Destailleur 2014-12-03 12:19:13 +01:00
commit 93e87975b2

View File

@ -3603,7 +3603,7 @@ abstract class CommonObject
break; break;
} }
$out .= '</td>'."\n"; $out .= '</td>';
if (! empty($conf->global->MAIN_EXTRAFIELDS_USE_TWO_COLUMS) && (($e % 2) == 1)) $out .= '</tr>'; if (! empty($conf->global->MAIN_EXTRAFIELDS_USE_TWO_COLUMS) && (($e % 2) == 1)) $out .= '</tr>';
else $out .= '</tr>'; else $out .= '</tr>';
@ -3611,7 +3611,6 @@ abstract class CommonObject
} }
} }
$out .= "\n"; $out .= "\n";
$out .= '<!-- /showOptionalsInput --> ';
$out .= ' $out .= '
<script type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function() { jQuery(document).ready(function() {
@ -3640,7 +3639,8 @@ abstract class CommonObject
setListDependencies(); setListDependencies();
}); });
</script>'; </script>'."\n";
$out .= '<!-- /showOptionalsInput --> '."\n";
} }
return $out; return $out;
} }