* 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

@@ -65,7 +65,7 @@
{# if account dont have recovery key show hint #}
{% if recovery_key is empty %}
<div align="center">
<div style="text-align:center">
You can register your account for increased protection. Click on "Register Account" and get your free recovery key today!<br/>
<form action="{{ getLink('account/register') }}" method="post">
{% set button_name = 'Register Account' %}
@@ -76,7 +76,7 @@
{% endif %}
{% if email_request %}
<div align="center">
<div style="text-align:center">
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!
<form action="{{ getLink('account/email') }}" method="post">

View File

@@ -1,6 +1,6 @@
<br/></br>
<center>
<div style="text-align:center">
<form action="{{ getLink('creatures') }}" method="post">
{{ include('buttons.back.html.twig') }}
</form>
</center>
</div>

View File

@@ -1,5 +1,5 @@
<br/><br/>
<center>
<div style="text-align:center">
We're using official Tibia Client <strong>{{ config.client / 100 }}</strong><br/>
<p>Download Tibia client {{ config.client / 100 }} for windows <a href="{{ config.client_download }}">HERE</a>.</p>
<p>Download Tibia client {{ config.client / 100 }} for linux <a href="{{ config.client_download_linux }}">HERE</a>.</p>
@@ -7,4 +7,4 @@
<h2>IP Changer:</h2>
<a href="https://static.otland.net/ipchanger.exe" target="_blank">HERE</a>
</center>
</div>

View File

@@ -46,7 +46,7 @@
</td>
</tr>
</table>
<center>
<div style="text-align:center">
<input type="submit" value="Save Post" />
</center>
</div>
</form>

View File

@@ -41,9 +41,9 @@
</td>
</tr>
</table>
<center>
<div style="text-align:center">
<input type="submit" value="Post Reply" />
</center>
</div>
</form>
<table width="100%">

View File

@@ -42,7 +42,7 @@
</td>
</tr>
</table>
<center>
<div style="text-align:center">
<input type="submit" value="Post Thread" />
</center>
</div>
</form>

View File

@@ -19,7 +19,7 @@
</tr>
</table>
<br/>
<center>
<div style="text-align:center">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
@@ -29,4 +29,4 @@
</td>
</tr>
</table>
</center>
</div>

View File

@@ -1,8 +1,8 @@
{% if new_line is defined and new_line %}
<br/>
{% endif %}
<center>
<div style="text-align:center">
<form action="{% if action is not defined %}{{ getLink('guilds') }}{% else %}{{ action }}{% endif %}" method="post">
{{ include('buttons.back.html.twig') }}
</form>
</center>
</div>

View File

@@ -1,12 +1,12 @@
<center><h2>Change guild description</h2></center>
<div style="text-align:center"><h2>Change guild description</h2></div>
Here you can change description of your guild.<br/>
<form enctype="multipart/form-data" action="?subtopic=guilds&guild={{ guild.getName() }}&action=change_description" method="post">
<input type="hidden" name="todo" value="save"/>
<textarea name="description" cols="60" rows="{{ rows }}">{{ guild.getCustomField('description')|raw }}</textarea><br>
(max. {{ config.guild_description_lines_limit }} lines, max. {{ config.guild_description_chars_limit }} chars) <input type="submit" value="Save description"/></form><br/>
<br/>
<center>
<div style="text-align:center">
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=manager" method="post">
{{ include('buttons.back.html.twig') }}
</form>
</center>
</div>

View File

@@ -1,4 +1,4 @@
<center><h2>Change guild logo</h2></center>
<div style="text-align:center"><h2>Change guild logo</h2></div>
Here you can change logo of your guild.<br/>Actuall logo: <img src="images/guilds/{{ guild_logo }}" height="64" width="64"><br/><br/>
<form enctype="multipart/form-data" action="?subtopic=guilds&guild={{ guild.getName() }}&action=change_logo" method="post" id="upload_form">
<input type="hidden" name="todo" value="save" />
@@ -9,13 +9,13 @@ Here you can change logo of your guild.<br/>Actuall logo: <img src="images/guild
Only <b>jpg, gif, png, bmp</b> pictures. Max. size: <b>{{ config.guild_image_size_kb }} KB</b><br>
<br/>
{% spaceless %}
<center>
<div style="text-align:center">
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=manager" method="post">
<div class="BigButton" style="background-image:url({{ template_path }}/images/global/buttons/sbutton.gif)">
{{ include('buttons.back.html.twig') }}
</div>
</form>
</center>
</div>
{% endspaceless %}
<script type="text/javascript">
$(function() {

View File

@@ -1,4 +1,4 @@
<center><h2>Change guild MOTD</h2></center>
<div style="text-align:center"><h2>Change guild MOTD</h2></div>
Here you can change MOTD (Message of the Day, showed in game!) of your guild.<br/>
<form enctype="multipart/form-data" action="?subtopic=guilds&guild={{ guild.getName() }}&action=change_motd" method="post">
<input type="hidden" name="todo" value="save"/>
@@ -6,11 +6,11 @@ Here you can change MOTD (Message of the Day, showed in game!) of your guild.<br
(max. {{ config.guild_motd_chars_limit }} chars) <input type="submit" value="Save MOTD" /></form><br/>
<br/>
{% spaceless %}
<center>
<div style="text-align:center">
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=manager" method="post">
<div class="BigButton" style="background-image:url({{ template_path }}/images/global/buttons/sbutton.gif)">
{{ include('buttons.back.html.twig') }}
</div>
</form>
</center>
</div>
{% endspaceless %}

View File

@@ -27,11 +27,11 @@
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
<center>
<div style="text-align:center">
<form action="?subtopic=guilds&action=show&guild={{ guild_name }}" method="post">
{{ include('buttons.back.html.twig') }}
</form>
</center>
</div>
</td>
</tr>
</table>

View File

@@ -12,11 +12,11 @@
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
<center>
<div style="text-align:center">
<form action="{{ getLink('guilds') ~ '/' ~ guild_name }}" method="post">
{{ include('buttons.submit.html.twig') }}
</form>
</center>
</div>
</td>
</tr>
</table>

View File

@@ -32,8 +32,8 @@
</table>
</div>
<br/>
<center>
<div style="text-align:center">
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=manager" method="post">
{{ include('buttons.back.html.twig') }}
</form>
</center>
</div>

View File

@@ -3,7 +3,7 @@
{% set custom_buttons = '' %}
{{ include('success.html.twig') }}
<br/>
<center>
<div style="text-align:center">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="right" width="50%">
@@ -19,4 +19,4 @@
</td>
</tr>
</table>
</center>
</div>

View File

@@ -3,7 +3,7 @@
{% set custom_buttons = '' %}
{{ include('success.html.twig') }}
<br/>
<center>
<div style="text-align:center">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="right" width="50%">
@@ -19,4 +19,4 @@
</td>
</tr>
</table>
</center>
</div>

View File

@@ -1,4 +1,4 @@
<center><h2>Welcome to guild manager!</h2></center>
<div style="text-align:center"><h2>Welcome to guild manager!</h2></div>
Here you can change names of ranks, delete and add ranks, pass leadership to other guild member and delete guild.
<br/><br/>
<table style="clear:both" border="0" cellpadding="0" cellspacing="0" width="100%">
@@ -87,7 +87,7 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
</tr>
</table>
</div>
<center><h3>Change rank names and levels</h3></center>
<div style="text-align:center"><h3>Change rank names and levels</h3></div>
<form action="?subtopic=guilds&action=save_ranks&guild={{ guild.getName() }}" method="post">
<table style="clear:both" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="{{ config.vdarkborder }}">
@@ -161,8 +161,8 @@ Here you can change names of ranks, delete and add ranks, pass leadership to oth
<b>3. Member</b> - it's lowest rank in guild. Player with this rank can:
<li>Be a member of guild
<br/>
<center>
<div style="text-align:center">
<form action="?subtopic=guilds&action=show&guild={{ guild.getName() }}" method="post">
{{ include('buttons.back.html.twig') }}
</form>
</center>
</div>

View File

@@ -33,8 +33,8 @@
</table>
</div>
<br/>
<center>
<div style="text-align:center">
<form action="?subtopic=guilds&guild={{ guild.getName() }}&action=manager" method="post">
{{ include('buttons.back.html.twig') }}
</form>
</center>
</div>

View File

@@ -8,9 +8,9 @@
{% set i = i + 1 %}
<tr bgcolor="{{ getStyle(i) }}">
<td width=4%>
<center>
<div style="text-align:center">
<img src="{{ template_path }}/images/news/icon_{{ news.icon_id }}_small.gif"/>
</center>
</div>
</td>
<td>{{ news.date|date('j.n.Y') }}</td>
<td>

View File

@@ -1,4 +1,4 @@
<center>
<div style="text-align:center">
<table cellspacing="0" cellpadding="0" border="0">
<form method="post" action="{{ getLink('news/archive') }}">
<tbody>
@@ -10,4 +10,4 @@
</tbody>
</form>
</table>
</center>
</div>

View File

@@ -30,7 +30,7 @@
{% if custom_buttons is defined %}
{{ custom_buttons|raw }}
{% else %}
<center>
<div style="text-align:center">
<table border="0" cellspacing="0" cellpadding="0">
<form action="{{ getLink('account/manage') }}" method="post">
<tr>
@@ -40,5 +40,5 @@
</tr>
</form>
</table>
</center>
</div>
{% endif %}