Delete online.form, use revamped characters.form

This commit is contained in:
slawkens 2025-06-14 20:50:54 +02:00
parent 577037becc
commit a7efacdbac
3 changed files with 24 additions and 43 deletions

View File

@ -127,5 +127,5 @@ $twig->display('online.html.twig', array(
)); ));
//search bar //search bar
$twig->display('online.form.html.twig'); $twig->display('characters.form.html.twig');
?> ?>

View File

@ -1,17 +1,23 @@
<form action="{{ link }}" method="post"> <br/>
<table width="100%" border="0" cellspacing="1" cellpadding="4"> <form action="{{ getLink('characters') }}" method="post">
<tr><td bgcolor="{{ config.vdarkborder }}" class="white"><B>Search Character</B></TD></TR> {% set title = 'Search Character' %}
<tr> {% set tableClass = 'Table1' %}
<td bgcolor="{{ config.darkborder }}"> {% set background = config('darkborder') %}
<table border="0" cellpadding="1"> {% set content %}
<tr> <table width="100%">
<td>Name:</td><td><input name="name" value="" size="29" maxlength="29"{% if autofocus %} autofocus{% endif %}></TD> <tr>
<td> <td style="vertical-align:middle" class="LabelV150">
{{ include('buttons.submit.html.twig') }} Character Name:
</td> </td>
</tr> <td style="width:170px">
</table> <input style="width:165px" name="name" value="" size="29" maxlength="29"/>
</td> </td>
</tr> <td>
</table> {% set button_name = 'Submit' %}
</form> {{ include('buttons.base.html.twig') }}
</td>
</tr>
</table>
{% endset %}
{{ include('tables.headline.html.twig') }}
</form>

View File

@ -1,25 +0,0 @@
<br/>
<form action="{{ getLink('characters') }}" method=post>
<table width="100%" border="0" cellspacing="1" cellpadding="4">
<tr>
<td bgcolor="{{ config.vdarkborder }}" class="white">
<b>Search Character</b>
</td>
</tr>
<tr>
<td bgcolor="{{ config.darkborder }}">
<table border="0" cellpadding="1">
<tr>
<td>Name:</td>
<td>
<input name="name" value=""size=29 maxlength=29>
</td>
<td>
{{ include('buttons.submit.html.twig') }}
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>