* change deprecated HTML <center> tag to <div style="text-align:center">

This commit is contained in:
slawkens
2018-06-01 11:55:04 +02:00
parent 0bb1d869af
commit 1926c5ec5b
35 changed files with 121 additions and 121 deletions

View File

@@ -168,7 +168,7 @@ else
<tr>
<td><img src="<?php echo $template_path; ?>/images/general/blank.gif" width="10" height="1" border="0"></td>
<td>
<center><h2>Ranking for <?php echo ($skill == SKILL_FRAGS ? 'Frags' : ($skill == SKILL_BALANCE ? 'Balance' : getSkillName($skill))); if(isset($vocation)) echo ' (' . $vocation . ')';?> on <?php echo $config['lua']['serverName']; ?></h2></center><br/>
<div style="text-align:center"><h2>Ranking for <?php echo ($skill == SKILL_FRAGS ? 'Frags' : ($skill == SKILL_BALANCE ? 'Balance' : getSkillName($skill))); if(isset($vocation)) echo ' (' . $vocation . ')';?> on <?php echo $config['lua']['serverName']; ?></h2></div><br/>
<table border="0" cellpadding="4" cellspacing="1" width="100%"></table>
<table border="0" cellpadding="4" cellspacing="1" width="100%">
<tr bgcolor="<?php echo $config['vdarkborder']; ?>">
@@ -247,11 +247,11 @@ echo '
echo '
</td>
<td>
<center>'.$player['value'].'</center>
<div style="text-align:center">'.$player['value'].'</div>
</td>';
if($skill == POT::SKILL__LEVEL)
echo '<td><center>' . number_format($player['experience']) . '</center></td>';
echo '<td><div style="text-align:center">' . number_format($player['experience']) . '</div></td>';
echo '</tr>';
}