mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* change deprecated HTML <center> tag to <div style="text-align:center">
This commit is contained in:
@@ -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>';
|
||||
}
|
||||
|
Reference in New Issue
Block a user