* 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

@@ -75,9 +75,9 @@
</table>
</div>
<br/>
<center>
<div style="text-align:center">
<h1>New to {{ config.lua.serverName }}?</h1>
</center>
</div>
<div class="TableContainer" >
<table class="Table4" cellpadding="0" cellspacing="0" >
<div class="CaptionContainer" >

View File

@@ -29,7 +29,7 @@
</div>
</div>
<br/>
<center>
<div style="text-align:center">
<table>
<tr>
<td>
@@ -40,7 +40,7 @@
</tr>
</table>
<br/>
</center>
</div>
{# if account dont have recovery key show hint #}
{% if recovery_key is empty %}
<div class="SmallBox">
@@ -57,7 +57,7 @@
<td style="width:100%;" >You can register your account for increased protection. Click on "Register Account" and get your free recovery key today!</td>
</tr>
</table>
<div align="center">
<div style="text-align:center">
<table border="0" cellspacing="0" cellpadding="0">
<form action="{{ getLink('account/register') }}" method="post">
<tr>
@@ -92,7 +92,7 @@
<td style="width:100%;" >A request has been submitted to change the email address of this account to <b>{{ email_new }}</b>. After <b>{{ email_new_time|date("j F Y, G:i:s") }}</b> you can accept the new email address and finish the process. Please cancel the request if you do not want your email address to be changed! Also cancel the request if you have no access to the new email address!</td>
</tr>
</table>
<div align="center">
<div style="text-align:center">
<table border="0" cellspacing="0" cellpadding="0">
<form action="{{ getLink('account/email') }}" method="post">
<tr>

View File

@@ -30,19 +30,19 @@
.online {
color: #008000;
}
.offline {
color: #FF0000;
}
a.topfont {
font-family: Verdana, Arial, Helvetica;
font-size: 11px;
font-family: Verdana, Arial, Helvetica;
font-size: 11px;
text-decoration: none
}
a:hover.topfont {
font-family: Verdana, Arial, Helvetica;
font-size: 11px;
color: #CCC;
font-family: Verdana, Arial, Helvetica;
font-size: 11px;
color: #CCC;
text-decoration:none
}
</style>
@@ -50,9 +50,9 @@
<div id="Topbar" class="Themebox" style="background-image:url(<?PHP echo $template_path; ?>/images/themeboxes/highscores/highscores.png);">
<div class="top_level" style="background:url(<?PHP echo $template_path; ?>/images/themeboxes/bg_top.png)" align=" ">
<?php
foreach(getTopPlayers(5) as $player) {
echo '<div align="left"><a href="'.getPlayerLink($player['name'], false).'" class="topfont ' . ($player['online'] == 1 ? 'online' : 'offline') . '">
echo '<div style="text-align:left"><a href="'.getPlayerLink($player['name'], false).'" class="topfont ' . ($player['online'] == 1 ? 'online' : 'offline') . '">
<font color="#CCC">&nbsp;&nbsp;&nbsp;&nbsp;'.$player['rank'].' - </font>'.$player['name'].'
<br>
<small><font color="white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Level: ('.$player['level'].')</font></small>