spaceless twig tag is deprecated as well

This commit is contained in:
slawkens 2023-09-22 16:19:56 +02:00
parent e01a44f352
commit fc5635bad3
2 changed files with 4 additions and 4 deletions

View File

@ -115,14 +115,14 @@
<tr>
<td >
<div style="float: right; margin-top: 20px;" >
{% spaceless %}
{% apply spaceless %}
<form class="MediumButtonForm" action="{{ getLink('account/create') }}" method="post" >
<div class="MediumButtonBackground" style="background-image:url({{ template_path }}/images/global/buttons/mediumbutton.gif)" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);">
<div class="MediumButtonOver" style="background-image:url({{ template_path }}/images/global/buttons/mediumbutton-over.gif)" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);"></div>
<input class="MediumButtonText" type="image" name="Create Account" alt="Create Account" src="{{ template_path }}/images/global/buttons/mediumbutton_createaccount.png" />
</div>
</form>
{% endspaceless %}
{% endapply %}
</div>
<div id="LoginCreateAccountBox" >
<p><b>{{ config.lua.serverName }}...</b></p>

View File

@ -1,8 +1,8 @@
{% spaceless %}
{% apply spaceless %}
<div class="BigButton" style="background-image:url({{ template_path }}/images/global/buttons/button_blue.gif)">
<div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);">
<div class="BigButtonOver" style="background-image:url({{ template_path }}/images/global/buttons/{% if button_color is defined and button_color == 'green' %}button_green{% else %}button_blue_over{% endif %}.gif);" ></div>
<input class="BigButtonText" type="submit" value="{{ button_name }}">
</div>
</div>
{% endspaceless %}
{% endapply %}