Skip to content

Commit

Permalink
Qual: use div instead of table
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 24, 2013
1 parent 37b94e4 commit c62f873
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions htdocs/core/tpl/login.tpl.php
Expand Up @@ -190,20 +190,19 @@
<?php if (! empty($_SESSION['dol_loginmesg']))
{
?>
<center><table width="60%"><tr><td align="center"><div class="error">
<center><div align="center" style="max-width: 500px; margin-left: 10px; margin-right: 10px;"><div class="error">
<?php echo $_SESSION['dol_loginmesg']; ?>
</div></td></tr></table></center>
</div></div></center>
<?php
}
?>

<?php if ($main_home)
{
?>
<center><table summary="info" cellpadding="0" cellspacing="0" border="0" align="center" width="750">
<tr><td align="center">
<center><div align="center" style="max-width: 80%">
<?php echo $main_home; ?>
</td></tr></table></center><br>
</div></center><br>
<?php
}
?>
Expand Down

0 comments on commit c62f873

Please sign in to comment.